Skip to content
Snippets Groups Projects
Commit 2b4fb928 authored by Vincent Texier's avatar Vincent Texier
Browse files

[enh] #95 refactor Document.signatures (List) as Document.signature (str)...

[enh] #95 refactor Document.signatures (List) as Document.signature (str) (break backward compatibility)

Transaction can have multiple signatures, with Transaction.signatures attribute and Transaction.multi_sign([keys]) method.

verifying_key.py is refactored heavily to avoid circular reference:
* method VerifyingKey.verify_document() removed, use Document.check_signature(pubkey) or Transaction.check_signatures(pubkeys) instead
* method VerifyingKey.verify_ws2p_head() is removed, use Document.check_signature(pubkey) instead.
* Add VerifyingKey.check_signature() method
parent fb18de24
No related branches found
No related tags found
2 merge requests!157v1.0.0rc0: merge dev into master,!144#95, #172: BBC: Arguments changes on 'Documents' constructors: Remove 'signature', introduce 'signing_key', make 'currency' and 'version' optionals
Showing
with 277 additions and 169 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment