Go implementation of the Ethereum protocol
Find a file
Daniel Liu ec0f96d538
feat(core/txpool,eth): align local tx tracking with geth #31202 #31618 (#2181)
Implements ethereum/go-ethereum PR #31202 and #31618.

When local tracking is enabled:
- EthAPIBackend.SendTx tracks transactions after pool submission and keeps tracking temporary rejects so they can be retried by the local tracker.
- TxPool.AddLocal tracks accepted submissions and temporary rejects for local re-journal/re-submit flows, while preserving the original txpool error return to the caller.

This avoids persisting permanently invalid transactions while preserving retry signals for transient failures without masking submission outcomes in caller workflows.

Also included:
- classify temporary rejection reasons in core/txpool/locals
- expose SubPool.ValidateTxBasics and align LegacyPool implementation
- split low-tip rejection into ErrTxGasPriceTooLow
- simplify local tracker integration in txpool
- update txpool and eth tests for accepted vs retryable local tracking behavior

Refs: ethereum/go-ethereum#31202
Refs: ethereum/go-ethereum#31618
2026-03-18 09:54:40 +05:30
.github migrate deployment notification to new slack (#2193) 2026-03-18 08:50:40 +05:30
accounts feat(eth,miner): wire miner gas tip updates from RPC #28933 (#2136) 2026-03-11 07:26:47 +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 refactor(crypto): vendor in golang.org/x/crypto/sha3 #33323 (#2046) 2026-02-28 17:23:57 +04:00
build test(build,Makefile): switch quick-test from --quick to -short (#2130) 2026-03-10 18:47:49 +05:30
cicd chore(cicd,common): unify XDC runtime binary across networks (#2147) 2026-03-10 18:52:38 +05:30
cmd refactor(miner): polish miner configuration #19480 (#2135) 2026-03-10 18:51:36 +05:30
common rollback devnet and reset switch block (#2178) 2026-03-16 18:28:29 -07:00
consensus fix(consensus): fix config object not reference to same one and concurrency issues and refactor access pattern (#2146) 2026-03-12 12:12:49 -07:00
console refactor(miner): polish miner configuration #19480 (#2135) 2026-03-10 18:51:36 +05:30
contracts refactor(core/txpool): remove locals-tracking from pools #30559 (#2176) 2026-03-17 12:24:20 +05:30
core feat(core/txpool,eth): align local tx tracking with geth #31202 #31618 (#2181) 2026-03-18 09:54:40 +05:30
crypto fix(crypto): fix coordinate check (#2072) 2026-03-06 11:14:31 +05:30
docker all: normalize flag's name 2024-11-25 16:39:29 +08:00
docs fix(all): fix typo foudation (#2063) 2026-02-28 18:00:55 +04:00
eth feat(core/txpool,eth): align local tx tracking with geth #31202 #31618 (#2181) 2026-03-18 09:54:40 +05:30
ethclient test(ethclient/simulated): add rollback transaction coverage #31020 (#2174) 2026-03-17 12:01:58 +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 fix(all): fix typo foudation (#2063) 2026-02-28 18:00:55 +04:00
internal feat(internal/ethapi): add eth_getStorageValues method #32591 (#2116) 2026-03-06 11:22:36 +05:30
log all: use 0x-prefix string for type Address in log message (#1874) 2025-12-19 08:55:21 +04:00
metrics feat(metrics): allow changing influxdb interval #33767 (#2118) 2026-03-06 11:24:00 +05:30
miner refactor(txpool): remove wrapper type #27841 (#2124) 2026-03-11 09:00:40 +05:30
node refactor(all): remove term whitelist and blacklist (#1994) 2026-02-10 17:09:21 +05:30
p2p feat(p2p): swarm POC3 #17041 (#2059) 2026-02-28 17:30:04 +04:00
params fix(consensus): fix config object not reference to same one and concurrency issues and refactor access pattern (#2146) 2026-03-12 12:12:49 -07:00
rlp feat(rlp): add RawList for working with un-decoded lists #33755 (#2040) 2026-02-28 16:53:16 +04:00
rpc refactor(all): remove term whitelist and blacklist (#1994) 2026-02-10 17:09:21 +05:30
tests refactor(crypto): vendor in golang.org/x/crypto/sha3 #33323 (#2046) 2026-02-28 17:23:57 +04:00
trie refactor(crypto): vendor in golang.org/x/crypto/sha3 #33323 (#2046) 2026-02-28 17:23:57 +04:00
version chore(version): update version to v2.7.0-devnet (#2058) 2026-02-28 16:56:10 +04:00
XDCx refactor(crypto): vendor in golang.org/x/crypto/sha3 #33323 (#2046) 2026-02-28 17:23:57 +04:00
XDCxDAO all: fix whitespace error of golangci-lint, remove extra empty lines (#1676) 2025-11-17 11:16:09 +05:30
XDCxlending refactor(crypto): vendor in golang.org/x/crypto/sha3 #33323 (#2046) 2026-02-28 17:23:57 +04:00
.dockerignore dockerignore, internal/build: forward correct git folder 2017-11-12 22:52:41 +02:00
.gitattributes chore(.gitattributes): enable solidity highlighting on github #16425 (#2035) 2026-02-28 16:49:11 +04:00
.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
AGENTS.md chore(AGENTS.md): add AGENTS.md with guidelines for AI agents #33890 #33921 (#2083) 2026-03-03 17:26:58 +08:00
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 build(build): upgrade toolchain to go 1.25.7 (#2115) 2026-03-06 11:22:02 +05:30
go.sum fix(crypto): remove keccak_ziren.go (#2113) 2026-03-03 11:15:42 +08:00
interfaces.go refactor(ethclient): implement new sim backend #28202 (#2062) 2026-03-06 11:09:10 +05:30
Makefile chore(cicd,common): unify XDC runtime binary across networks (#2147) 2026-03-10 18:52:38 +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