go-ethereum/consensus/XDPoS/engines/engine_v2
Wanwiset Peerapatanapokin 81416e008c
fix(consensus): use signer pubkey to check for unique signatures and optimize performance, close XFN-03 (#1625)
* use signer pubkey to check for unique signatures and optimize performance

* change waitgroup to errgroup

* optimize

* fix typo

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* format files

* after rebase new commits, refactor from snap.NextEpochCandidates to epochInfo.Masternodes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-20 14:34:54 +07:00
..
difficulty.go Xin 166 (#75) 2022-03-27 20:39:40 +11:00
engine.go fix(consensus): use signer pubkey to check for unique signatures and optimize performance, close XFN-03 (#1625) 2026-02-20 14:34:54 +07:00
epochSwitch.go perf(all): use big.Int.Sign() to compare with 0 (#1969) 2026-02-05 11:45:44 +05:30
forensics.go consensus: fix unused warnings (#1815) 2025-12-08 12:57:14 +05:30
forensics_test.go consensus: fix unused warnings (#1815) 2025-12-08 12:57:14 +05:30
mining.go useful logging (#1986) 2026-02-06 17:42:26 +07:00
snapshot.go consensus/XDPoS, core/rawdb: stop node if fail to store snapshot (#1803) 2025-12-08 15:07:22 +05:30
snapshot_test.go all: use T.TempDir to create temporary test directories (#24633) 2025-01-24 16:54:08 +08:00
syncInfo.go consensus: verify timeout from epochInfo instead of snap.NextEpochCandidates, close XFN-62 (#1628) 2025-12-06 15:05:49 +05:30
testing_utils.go test(consensus): add tests for getTCEpochInfo() (#2045) 2026-02-20 14:34:29 +07:00
timeout.go fix(consensus): use signer pubkey to check for unique signatures and optimize performance, close XFN-03 (#1625) 2026-02-20 14:34:54 +07:00
utils.go fix(consensus): use signer pubkey to check for unique signatures and optimize performance, close XFN-03 (#1625) 2026-02-20 14:34:54 +07:00
verifyHeader.go fix(core): fix genesis error in #2019 (#2034) 2026-02-10 12:22:17 +08:00
vote.go fix(consensus): fix private chain initialization (#1987) 2026-02-19 01:47:03 +07:00
vote_test.go fix(consensus): fix private chain initialization (#1987) 2026-02-19 01:47:03 +07:00