Class UpdateSigner
Constructors
Name | Description |
this
(flash_conf, conf, kp, peer_pk, engine, taskman, db)
|
Constructor
|
Methods
Name | Description |
collectSignatures
(peer, seq_id, outputs, priv_nonce, peer_nonce, prev_utxo_hash, prev_utxo)
|
Start collecting signatures for a new seuqence ID and balance.
The balance should have been agreed upon before calling this routine.
|
getSeqID
()
|
|
getSettleSig
()
|
Get the settlement transaction partial signature if it's ready.
Called by counter-parties.
|
getUpdateSig
()
|
Get the update transaction partial signature if it's ready.
Called by counter-parties.
|
isCollectingSignatures
()
|
|
load
()
|
Load any update signer metadata from the database.
|
makeUpdateUnlock
(update_multi_sig, seq_id)
|
Creates a trigger / update transaction's unlock script.
|
onConfirmedChannelUpdate
()
|
Called when the peer has confirmed collecting signatures for this update
|