BlockchainWriter Confirmations
Author: lautarodraganCreated Feb 21, 2018Updated Jan 30, 2019
LabelsEpic
Umbrella issue to track all changes needed to fully support blockchain confirmations.
Forks
- Warning on Blockchain Reorganization, implemented in https://github.com/poetapp/node/pull/672
- Warning on Blockchain Reorganization — Integration Test, implemented in https://github.com/poetapp/node/pull/867
- Reorganize (TBD)
- Deliverable 1: Unconfirm
- BlockchainReader: publish chainReorganized(blockHashNowStale, blockHeightNowStale)
- View: onReorg => update
.timestamp
- Deliverable 2: Reconfirm
- BlockchainReader Walk back over chain until split
- BlockchainWriter: Rebroadcast transactions as needed
- View: update
.timestamp
- Deliverable 1: Unconfirm
Transaction Retries
Note
Need to test whether orphaned transactions can be rebroadcasted with no modification.
See Timelock Defense Against Fee Sniping and Discourage fee sniping with nLockTime.
Source: poetapp/node