diff options
Diffstat (limited to 'src/node/txreconciliation.h')
-rw-r--r-- | src/node/txreconciliation.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/node/txreconciliation.h b/src/node/txreconciliation.h index 6e94a51cf2..b8e9b649c0 100644 --- a/src/node/txreconciliation.h +++ b/src/node/txreconciliation.h @@ -61,6 +61,12 @@ public: * This function must be called only once per peer. */ uint64_t PreRegisterPeer(NodeId peer_id); + + /** + * Attempts to forget txreconciliation-related state of the peer (if we previously stored any). + * After this, we won't be able to reconcile transactions with the peer. + */ + void ForgetPeer(NodeId peer_id); }; #endif // BITCOIN_NODE_TXRECONCILIATION_H |