Go implementation of the Ethereum protocol
Find a file
Daniel Liu 296d612167
fix(eth): align traceBlockParallel with Prague parent-hash pre-exec (#2067)
traceBlockParallel replays transactions from the parent state to build per-tx prestate for tracers. In the previous flow, Prague's parent-hash system contract processing was not applied before replay, so the prepared state could diverge from canonical block execution semantics.

This commit keeps the parallel tracing path consistent with block processing rules by applying ProcessParentBlockHash before tx replay when Prague is active.

The regression test TestTraceBlockParallelPragueParentHashSystemCall is strengthened to assert the actual EIP-2935 history slot value (ring-buffer key for block-1) equals block.ParentHash(), instead of relying on an indirect EXTCODESIZE side effect. This makes the test deterministic and directly tied to the bug.

Validation: go test ./eth/tracers -run TestTraceBlockParallelPragueParentHashSystemCall
2026-02-17 15:00:55 +05:30
.github ci: improve github pull request template (#2026) 2026-02-07 00:15:01 +05:30
accounts refactor(all): rework EVM constructor #30745 (#2065) 2026-02-17 14:35:18 +05:30
assets/images update README and include a logo photo 2022-07-24 21:44:58 +10:00
beacon beacon/types: add beacon chain data types (#27292) 2024-12-28 09:06:31 +08:00
bmt all: fix unnecessary whitespace (#1800) 2025-12-08 15:07:11 +05:30
build build: move tidy check to doTidy() (#2023) 2026-02-06 14:44:07 +05:30
cicd all: make nodes publish coinbase address to stats server (#1967) 2026-02-05 18:59:00 +07:00
cmd refactor(all): remove term whitelist and blacklist (#1994) 2026-02-10 17:09:21 +05:30
common chore(common): setup EIP-7702 block number for devnet (#2021) 2026-02-12 15:27:19 +05:30
consensus refactor(all): rework EVM constructor #30745 (#2065) 2026-02-17 14:35:18 +05:30
console console/prompt: use PromptInput in PromptConfirm method #33445 (#1953) 2026-01-19 12:15:27 +05:30
contracts all: replace Div/Mul with Rsh/Lsh if possible #29911 (#1966) 2026-01-29 11:31:58 +05:30
core refactor(all): rework EVM constructor #30745 (#2065) 2026-02-17 14:35:18 +05:30
crypto feat(crypto): use the ziren keccak precompile and implement ziren keccak state #32816 #32996 (#1991) 2026-02-05 14:43:53 +05:30
docker all: normalize flag's name 2024-11-25 16:39:29 +08:00
docs feat(core): implement EIP-2935 #29465 #30924 (#2033) 2026-02-12 09:01:26 +05:30
eth fix(eth): align traceBlockParallel with Prague parent-hash pre-exec (#2067) 2026-02-17 15:00:55 +05:30
ethclient feat(ethclient): add support for eth_simulateV1 #32856 (#1992) 2026-02-05 11:46:44 +05:30
ethdb all: use slices.Sort() to sort strings (#1712) 2025-12-07 15:49:13 +05:30
ethstats fix(core): fix genesis error in #2019 (#2034) 2026-02-10 12:22:17 +08:00
event all: move main transaction pool into a subpool #27463 (#1890) 2026-01-05 15:43:50 +05:30
genesis consensus, params: remove SkipV2Validation, close XFN-151 (#1730) 2025-11-14 21:53:05 +05:30
internal refactor(all): rework EVM constructor #30745 (#2065) 2026-02-17 14:35:18 +05:30
log all: use 0x-prefix string for type Address in log message (#1874) 2025-12-19 08:55:21 +04:00
metrics cmd/XDC, metrics/prometheus: fix staticcheck QF1012 (#1713) 2025-12-07 16:03:06 +05:30
miner refactor(all): rework EVM constructor #30745 (#2065) 2026-02-17 14:35:18 +05:30
node refactor(all): remove term whitelist and blacklist (#1994) 2026-02-10 17:09:21 +05:30
p2p refactor(all): remove term whitelist and blacklist (#1994) 2026-02-10 17:09:21 +05:30
params feat(core): implement EIP-2935 #29465 #30924 (#2033) 2026-02-12 09:01:26 +05:30
rlp rlp: finalize listIterator on parse error to prevent non-advancing loops#33245 (#1854) 2025-12-11 16:51:46 +05:30
rpc refactor(all): remove term whitelist and blacklist (#1994) 2026-02-10 17:09:21 +05:30
tests refactor(all): rework EVM constructor #30745 (#2065) 2026-02-17 14:35:18 +05:30
trie refactor(core): make signature of ContractCode hash-independent #27209 (#1169) 2026-02-13 09:11:43 +05:30
version all: upgrade package version #30638 (#1745) 2025-11-15 16:46:54 +05:30
XDCx refactor(core): make signature of ContractCode hash-independent #27209 (#1169) 2026-02-13 09:11:43 +05:30
XDCxDAO all: fix whitespace error of golangci-lint, remove extra empty lines (#1676) 2025-11-17 11:16:09 +05:30
XDCxlending refactor(core): make signature of ContractCode hash-independent #27209 (#1169) 2026-02-13 09:11:43 +05:30
.dockerignore dockerignore, internal/build: forward correct git folder 2017-11-12 22:52:41 +02:00
.gitattributes FIx Bad block error. 2021-09-17 17:59:06 +05:30
.gitignore build: support golangci-lint v1.63.4 2025-01-11 23:56:59 +08:00
.golangci.yml build: upgrade golangci-lint to v2.0.2 #31530 (#1466) 2025-09-10 17:22:29 +08:00
.pre-commit-config.yaml chore: add conventional-pre-commit hook (#2027) 2026-02-07 00:12:08 +05:30
COPYING all: update license information 2015-07-07 14:12:44 +02:00
COPYING.LESSER all: update license information 2015-07-07 14:12:44 +02:00
go.mod refactor(node): use standalone flock dependency #19376 #26633 (#1993) 2026-02-10 16:41:27 +05:30
go.sum refactor(node): use standalone flock dependency #19376 #26633 (#1993) 2026-02-10 16:41:27 +05:30
interfaces.go feat(ethclient): add support for eth_simulateV1 #32856 (#1992) 2026-02-05 11:46:44 +05:30
Makefile Makefile, build: remove unused xgo (#1812) 2025-12-08 12:58:22 +05:30
README.md docs: add document for JSONRPC API (#1027) 2025-05-19 15:30:52 +08:00

XDPoSChain

XinFin XDPoSchain
Enterprise ready hybrid blockchain for global trade and finance


XinFin Hybrid Blockchain

XinFin Hybrid Blockchain is an Enterprise ready Blockchain for global trade and finance

Visit: XinFin.org Contribute: Developer Docs

XinFin Network XDPoS is community driven project to achieve the following

  • XinFin DPOS (XDPoS) consensus that selects 108 set of Masternodes to achieve a high throughput Energy efficient consensus with instant block finality

  • KYC Enforcement on Masternodes for Enterprise Adoption and compliance

  • Ability to port/relay limited set of data and transactions from privacy channels to public channel

  • Interoperability between applications hosted on Private Blockchains like Corda, Hyperledger, Quorum(JP Morgan) using relayers to XinFin Network

  • Customer Centric and consortium driven Governance to equally benefit the validators as well as providing comfort for large scale enterprise applications to be hosted on the Network. This achieves

    • Rapid Upgradability

    • DApps Standardisation for rapid commercialisation

    • Compliance with major global jurisdictions.

KYC for masternodes

OVERVIEW

To add a layer of KYC for masternodes in the current system and a sense of ownership amongst the masternodes hence tying such a cluster of masternodes to physical entity which can held accountable for its actions.

Design

We established a bidirectional connection between a candidate and its owner inorder to retrieve a candidate belonging to a specific owner & vice versa.

All the masternodes are recognized by the KYC of their owners and hence are considered as a single verified entity ( for eg. while voting for invalid KYC, only one vote is considered per such cluster )

The contract is very strict in handing out penalty for invalid KYC, it results loss of all funds invested in all of its candidates.

For eg. say A proposes condidates B,C,D by paying for its proposal cost. If at a later stage if some predecided amount of owners ( investors ) vote that a KYC for a A is invalid then A & all of its candidates (B,C,D) will lose their position & all their funds will be lost ( will remain with contract wallet ).

Documents

Document

For developers

Continues integration & delivery

See https://github.com/XinFinOrg/XDPoSChain/tree/dev-upgrade/cicd

To contribute

Simple create a pull request along with proper reasoning, we'll get back to you.

Our Channels : Telegram Developer Group or XDC.Dev