openethereum/ethcore/light/src/net
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
..
tests Propagate transactions for next 4 blocks. (#9265) 2018-08-02 11:58:02 +01:00
context.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
error.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
load_timer.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
mod.rs Propagate transactions for next 4 blocks. (#9265) 2018-08-02 11:58:02 +01:00
request_credits.rs docs: update repository links (#9159) 2018-07-23 13:58:50 +02:00
request_set.rs Update license header and scripts (#8666) 2018-06-04 10:19:50 +02:00
status.rs Make HashDB generic (#8739) 2018-07-02 18:50:05 +02:00