Skip to content
Snippets Groups Projects
Commit 717b63fb authored by Moul's avatar Moul
Browse files

[mod] #173: Make Transaction handy with single and multi-sign

Store SigningKey and Signature arguments/attributes in Lists.
Allow to pass an instance or a list of SigningKey and pubkey
for single and multi signing
in Transaction.{__init__(),multi_sign(),check_signatures()}
if instance: store in a list

Overwrite Document.{sign(),check_signature()} as undefined.
Disable pylint error at Transaction class scope:
Raise Exception instead of NotImplentedError to not having to disable pylint:W0223
https://stackoverflow.com/a/22224042

Do not erase previous signatures when signing
To allow different key owner to sign additonally the Tx doc
parent 13527de4
No related branches found
No related tags found
2 merge requests!157v1.0.0rc0: merge dev into master,!150#173: Make Transaction multi-sign by default, and add Tx.check_signatures() test on multi-sig tx
Pipeline #13076 waiting for manual action
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment