[BTC-dev] (EXPERIMENTAL) increase pushgetblock aggression level

benkay@gmail.com benkay@gmail.com
Mon Dec 25 04:12:48 UTC 2017


URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20171225/attachment.txt?sha1=50f59094fc6f9d051b123c2c8b32a697814c7d15>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Building on Stan's
http://therealbitcoin.org/ml/btc-dev/2017-December/000281.html

This patch increases aggression levels on 2 axes:

1) nukes "MAX_OUTBOUND_CONNECTIONS" and "one IP per C block"
   constraints

2) when TRB has not accepted a new block within the past 20
   minutes, it requests new blocks from each peer on each run
   through ThreadSocketHandler2's main body

I've run this for a few hours with mixed results: it dropped
behind at least once, and found blocks before blockchain.info at
least twice while I was watching (not that this is indicative of
much at all -- anecdata, if you will).
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJaQHl5AAoJEPAbzAMu8lJHWmIP/1OOGm+jWGCcbQIkw6IBfQRo
kTZ+5x1EFk7mgmphyt/edR9t24Fg74o5g+d4ltK78nssqobUPFnLMnbSn5iU7dKm
dVAE8+eeWw9I1+vXKHz2LcK5+MdV1I9JlkOxjNlQWSjGT/HdoEIOP3p4fxPlgMag
+GhT1rx0yQKV5AZBXfAkGxfqSs0rXXrEOD0F2NODL2fxFuuHpvZAujDedT5KFKmj
ZHMEpk3UVKt7QTaTbA8lgaLrvKiBK2Sc7TE0TUYmU8RWMNho+NWsFyStwAVLdKGT
i45z3SI+LphQGwH1teI5V8+PZ2SvqT3Od+A98fhvCbFaP6xUJahMhbf/I7V/FnZo
J2rdgtAKuPDCOwTM8BSnG4nrdCHJLhuSA28/CMH43NzD1Y2OCssfh3LNF5wAgS7f
ZvBRD4E5SUhG3czMhBUDlURAoPUL9NSVye7aOVDMu7NUiHsmFv8NxTaVoPSARlEr
HkUum/2eBkM6xpdIU6TRFMEOWv8/T4Uq0Xdg8f8YRgeVMiMsyrPbQy6GaH7OeU05
Zb9DNfHUFMWuHrCyWi2hPy1DwcfrDt8AwrG4GkiwkvS+1mH8lGW/zV4ExDGZm8Zx
kIGvjY/38Kf81ynSnTZi+X17Z27heWhXfuGAJFsrzYYH+qjx0twZSIg6lRMJdRLq
zX0MEk+UnwBmKmRaq4bs
=RVyO
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ben_vulpes_increase_aggression_levels.vpatch
Type: application/octet-stream
Size: 2914 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20171225/ben_vulpes_increase_aggression_levels.vpatch?sha1=998650bc516061a0b756e402608cb2b34bd0e620>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ben_vulpes_increase_aggression_levels.vpatch.ben_vulpes.sig
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20171225/ben_vulpes_increase_aggression_levels.vpatch.ben_vulpes.sig?sha1=35e1d34cd2ccd943b39299be16be28780af57373>


More information about the BTC-dev mailing list