openethereum/ethcore/sync/src
Tomasz Drwięga 90d7823acb Propagate transactions for next 4 blocks. (#9265)
Closes #9255 

This PR also removes the limit of max 64 transactions per packet, currently we only attempt to prevent the packet size to go over 8MB. This will only be the case for super-large transactions or high-block-gas-limit chains.

Patching this is important only for chains that have blocks that can fit more than 4k transactions (over 86M block gas limit)

For mainnet, we should actually see a tiny bit faster propagation since instead of computing 4k pending set, we only need `4 * 8M / 21k = 1523` transactions.

Running some tests on `dekompile` node right now, to check how it performs in the wild.
2018-08-02 11:58:02 +01:00
..
chain Propagate transactions for next 4 blocks. (#9265) 2018-08-02 11:58:02 +01:00
light_sync Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
res Private transactions processing error handling (#8431) 2018-04-20 15:45:53 +02:00
tests Add type for passwords. (#8920) 2018-06-22 15:09:15 +02:00
api.rs A last bunch of txqueue performance optimizations (#9024) 2018-07-05 16:27:48 +01:00
block_sync.rs decode block rlp less often (#9252) 2018-08-02 10:20:46 +01:00
blocks.rs decode block rlp less often (#9252) 2018-08-02 10:20:46 +01:00
lib.rs Delete crates from parity-ethereum and fetch them from parity-common instead (#9083) 2018-07-10 14:59:19 +02:00
private_tx.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
snapshot.rs Don't fetch snapshot chunks at random (#9088) 2018-07-11 13:04:31 +02:00
sync_io.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
transactions_stats.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00