Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

transaction.py

  • Moul's avatar
    43d71a24
    [mod] #173: Make Transaction handy with single and multi-sign · 43d71a24
    Moul authored
    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:
    https://stackoverflow.com/a/22224042
    Because of NotImplementedError exception, not happening with Exception
    
    Do not erase previous signatures when signing
    To allow different key owner to sign additonally the Tx doc
    43d71a24
    History
    [mod] #173: Make Transaction handy with single and multi-sign
    Moul authored
    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:
    https://stackoverflow.com/a/22224042
    Because of NotImplementedError exception, not happening with Exception
    
    Do not erase previous signatures when signing
    To allow different key owner to sign additonally the Tx doc