Browse Source
fixes race between verifier and block header download. scenario: client starts, connects to server. while client was offline, there was a reorg. txn A was not mined in the old chain, but is mined after reorg. client subscribes to addresses and starts downloading headers, concurrently. server tells client txn A is mined at height H >= reorg height. client sees it has block header at height H, asks for SPV proof for txn A. but the header the client has is still the old one, the verifier was faster than the block header download (race...). client receives proof. proof is incorrect for old header. client disconnects.3.3.3.1
SomberNight
6 years ago
1 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue