* Remove TotalDifficulty stage
* Introduce FeedHeaderFuncType
* Some TODOs
* Don't gossip PoS headers
* FeedHeaderPoS
* Call header.Hash once
* Use FeedHeaderPoS for to write PoS header
* Support errors in EngineExecutePayloadV1
* useExternalTx boilerplate
* Call VerifyHeader on PoS header
* latestValidHash must be nil when status is SYNCING
* fixCanonicalChain instead of canonicalHeadersCollector
* engine.VerifyHeader + FeedHeaderPoS as headerLoadFunc
* fix daemon
Co-authored-by: Giulio Rebuffo <giulio.rebuffo@gmail.com>
* added an intitial idea for getBodiesV1
* changed it so it uses a map of hash => bodies
* fixed error in engine implement
* added make
* changed it so it uses rpc.BlockNumberOrHash
* changed map to use hash => executionPayload
* Txpool: broadcast transaction along with announcements
* Fix panic
* Add TransactionMsg
* Change terminology in the logs
* Fixes from erigon-lib
* Rebroadcast txs promoted to pending subpool
* Deduplicate promoted hashes, fix basefee promotion
* Make sending more resilient, fix promoted
* Split Broadcast and Announce
* Downgrade to Debug messages
* Limit number of retries in SendMessageByMinBlock
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
* Add chain config and CLI changes for Binance Smart Chain support
* Remove BSC hashes for now
* Add an if statement for BSC forks
* Fix up if statement
* Compiles
* Remove extra dependencies from go.mod/go.sum
* Add a TODO
* Potentially fix the tests
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* Squashed 'interfaces/' content from commit e5b1945d0
git-subtree-dir: interfaces
git-subtree-split: e5b1945d02da7a7f00e2289034ee90a6edd60184
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* (EIP-4399) MixDigest is utilized for RANDOM
* Add GetTd to ChainHeaderReader
* Remove unused VerifyHeaders from consensus consensus
* Introduce params.MaxGasLimit
* Serenity engine: fall back to eth1 engine before the Merge
* Serenity engine in CreateConsensusEngine
* ethOne -> eth1Engine
* Add Parlia consensus engine for Binance Smart Chain support
* Leave RamanujanBlock as nil in params/config.go
* Run `go fmt` on files needing it
* Add comment for PoSA
* Remove empty branches and ineffectual assignments in parlia.go
* Remove commented imports
* Fix compilation error
* Remove EIP155Signer in transaction_signing.go
* Fix compilation issue
* Fix go fmt issues
* Remove Ramanujan from print statement
* Remove references to EthAPIBackend approach
* Fix Finalize method across consensus engines
* Run go fmt
* More linting
* Remove more changes
* remove a comment
* Remove unneeded hashing function
* Remove bytes check and fix actual vs expected mistake
* Header download simplifications
* Fixes
* Reuse headerRaw for inserting into DB
* Fix tests
* Fix test
* Revert to the loop in RequestMoreHeaders
* Change Warn to Debug
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
* Rename maxHeight to lowestAnchorHeight for better readability
* Update header_algos.go
* Rename timestamp field in anchor, add comments
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
* ArrowGlacier fork config
* core/vm: implement EIP-2681: Limit account nonce to 2^64-1 (#23853)
This retroactively implements requirements or EIP-2681 for the account nonce upper limit.
* Update consesus tests to 10.2
* Handle TransactionWithHighNonce64Minus1
* Check intrinsic gas in transaction tests
* Refactor overflow protection in IntrinsicGas
* Remove remnants of vm tests
* Update difficulty tests to the new format
Co-authored-by: Andrei Maiboroda <andrei@ethereum.org>
* initial commmit
* gofmt
* flipped if statement
* flipped if statement (forgot to save)
* passing unwinding to status ch
* added unwinding constant
* took out unwinding
* added statusCh
* added a return statement and a second part to the if statement
* checking for parent hash
* checking for parent hash
* changed check to check for parentHash
* staged wrong file
* changed header check to parentHash check
* channged blockhash name to a better name
* changed it to check for header.Hash()
* changed name of blocknumber to blockHash
* changed bad block to common.Hash{}
* ISSUE-2710: Add standard grpc health check to services with grpc server
* Go import changed files
* Add flags for healthcheck
* Add grpc healthcheck option to rpcdaemon
* Remove grpc port info if grpc is not enabled
* Resolve merge issues