* Implementing Issue #7047 - Optionally load jemalloc
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Implementing Issue #7047 - Optionally load jemalloc
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Implementing Issue #7047 - Optionally load jemalloc: fixes after review
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Implementing Issue #7047 - Optionally load jemalloc: added entry to CHANGELOG
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Changes after review
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Added env var check in unix script
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
* Improved code and script, build and tested
Signed-off-by: amsmota <amsmota@gmail.com>
* Improved code and script, build and tested
Signed-off-by: amsmota <amsmota@gmail.com>
---------
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
Signed-off-by: amsmota <amsmota@gmail.com>
* Add support to sync to head instead of safe block during snapsync
Signed-off-by: Kevin King <kevin.king@consensys.net>
Signed-off-by: kingnhcomcast <114761064+kingnhcomcast@users.noreply.github.com>
Implemented support for emptyBlockPeriodSeconds in QBFT (Issue #3810)
Introduces experimental xemptyblockperiodseconds genesis config option for producing empty blocks at a specific interval independently of the value of the existing blockperiodseconds setting.
https://github.com/hyperledger/besu/issues/3810
---------
Signed-off-by: Antonio Mota <antonio.mota@citi.com>
Signed-off-by: amsmota <amsmota@gmail.com>
* Don't persist IBFT2 proposal blocks, just validate them
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
* Tidy up changelog
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
---------
Signed-off-by: Matthew Whitehead <matthew1001@gmail.com>
Signed-off-by: Matt Whitehead <matthew.whitehead@kaleido.io>
* shift creation of plugin context to BesuCommand for now
* mock component will provide a no-op metrics sys
---------
Signed-off-by: Justin Florentine <justin+github@florentine.us>
* Fix mounted data path directory permissions for besu user
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
* Add besu CLI option to output dirs needing permission update
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
* run spotless apply to handle PR test failure
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
* Remove newly added --print-paths-and-exit option from config file test
This option doesn't have a corresponding config file entry as it's a
standalone option to be used with docker containers
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
* Add optional user argument to --print-paths-and-exit and fix directory permissions
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
* Correct build.gradle changes, remove a duplicate line and extra whitespaces
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
* Fix checking for user in path's group membership
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
* Add platform check to restrict --print-paths-and-exit option usage to Linux and Mac
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
* Apply suggestions from code review
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com>
---------
Signed-off-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Signed-off-by: Bhanu Pulluri <59369753+pullurib@users.noreply.github.com>
Co-authored-by: Bhanu Pulluri <bhanu.pulluri@kaleido.io>
Co-authored-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Change test to tease NPEs during DefaultBlockchain.<init>() caused by initilization order
* fixup! Change test to tease NPEs during DefaultBlockchain.<init>() caused by initilization order
* move counters into their own method
Signed-off-by: Luis Pinto <luis.pinto@consensys.net>
* Remove tx from pool when its score is lower than a configured value
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Update besu/src/main/java/org/hyperledger/besu/cli/options/TransactionPoolOptions.java
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* Check for below min score after the penalization
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
---------
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Co-authored-by: Stefan Pingel <16143240+pinges@users.noreply.github.com>
* Plumb maxCode overriddes into EVM
Restore lost functionality: the maxcodesize and maxinitcodesize should
be plumed into the operations and validation rules when set.
Signed-off-by: Danno Ferrin <danno@numisight.com>
---------
Signed-off-by: Danno Ferrin <danno@numisight.com>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>