aboutsummaryrefslogtreecommitdiffstats
path: root/.mailmap
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-01-09 14:03:45 +0800
committerzelig <viktor.tron@gmail.com>2015-01-09 14:03:45 +0800
commit5a9952c7b47f20451feea1158286450e08b85551 (patch)
tree19ebe7ab022fd2930c6263f4e207f5ae47c92ffd /.mailmap
parent8ecc9509b3ac490fe8ac9d91e24e8271963ee443 (diff)
downloadgo-tangerine-5a9952c7b47f20451feea1158286450e08b85551.tar
go-tangerine-5a9952c7b47f20451feea1158286450e08b85551.tar.gz
go-tangerine-5a9952c7b47f20451feea1158286450e08b85551.tar.bz2
go-tangerine-5a9952c7b47f20451feea1158286450e08b85551.tar.lz
go-tangerine-5a9952c7b47f20451feea1158286450e08b85551.tar.xz
go-tangerine-5a9952c7b47f20451feea1158286450e08b85551.tar.zst
go-tangerine-5a9952c7b47f20451feea1158286450e08b85551.zip
major blockpool change
- the spec says response to getBlockHashes(from, max) should return all hashes starting from PARENT of from. This required major changes and results in much hackier code. - Introduced a first round block request after peer introduces with current head, so that hashes can be linked to the head - peerInfo records currentBlockHash, currentBlock, parentHash and headSection - AddBlockHashes checks header section and creates the top node from the peerInfo of the best peer - AddBlock checks peerInfo and updates the block there rather than in a node - request further hashes once a section is created but then no more until the root block is found (so that we know when to stop asking) - in processSection, when root node is checked and receives a block, we need to check if the section has a parent known to blockchain or blockPool - when peers are switched, new peer launches a new requestHeadSection loop or activates its actual head section, i.e., the section for it currentBlockHash - all tests pass
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions