mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-01-04 09:24:22 +01:00
HTLCs (#325)
* add htlc files * refactor mint into several components * add hash lock signatures * add refund signature checks * simplify hash lock signature check * clean up
This commit is contained in:
@@ -48,6 +48,8 @@ class Proof(BaseModel):
|
||||
|
||||
p2pksigs: Union[List[str], None] = [] # P2PK signature
|
||||
p2shscript: Union[P2SHScript, None] = None # P2SH spending condition
|
||||
htlcpreimage: Union[str, None] = None # HTLC unlocking preimage
|
||||
htlcsignature: Union[str, None] = None # HTLC unlocking signature
|
||||
# whether this proof is reserved for sending, used for coin management in the wallet
|
||||
reserved: Union[None, bool] = False
|
||||
# unique ID of send attempt, used for grouping pending tokens in the wallet
|
||||
|
||||
Reference in New Issue
Block a user