Aaron Chen
7362691479
trie, consensus/clique: use maps.Clone ( #29616 )
7 months ago
Martin HS
14cc967d19
all: remove dependency on golang.org/exp ( #29314 )
...
This change includes a leftovers from https://github.com/ethereum/go-ethereum/pull/29307
- using the [new `slices` package](https://go.dev/doc/go1.21#slices ) and
- using the [new `cmp.Ordered`](https://go.dev/doc/go1.21#cmp ) instead of exp `constraints.Ordered`
8 months ago
Péter Szilágyi
be65b47645
all: update golang/x/ext and fix slice sorting fallout ( #27909 )
...
The Go authors updated golang/x/ext to change the function signature of the slices sort method.
It's an entire shitshow now because x/ext is not tagged, so everyone's codebase just
picked a new version that some other dep depends on, causing our code to fail building.
This PR updates the dep on our code too and does all the refactorings to follow upstream...
1 year ago
Dan Laine
a848212709
consensus/clique: use slices package for sorting ( #27488 )
...
Also adds Address.Less for sorting use in other packages.
---------
Co-authored-by: Felix Lange <fjl@twurst.com>
1 year ago
Felix Lange
12df45662a
all: remove remaining uses of untyped golang-lru ( #26194 )
2 years ago
s7v7nislands
d86fe26f67
core/rawdb: refactor db key prefix ( #26000 )
...
Co-authored-by: seven <seven@nodereal.io>
2 years ago
Péter Szilágyi
536b3b416c
cosensus, core, eth, params, trie: fixes + clique history cap
6 years ago
Péter Szilágyi
4bb25042eb
consensus/clique, core: chain maker clique + error tests
6 years ago
hadv
49f63deb24
consensus/clique: replace bubble sort by golang stable sort
6 years ago
Egon Elbre
aee70ae30b
consensus: fix megacheck warnings
7 years ago
mark.lin
db6e695002
consensus/clique: choose valid votes
8 years ago
S. Matthew English
061889d4ea
rlp, trie, contracts, compression, consensus: improve comments ( #14580 )
8 years ago
Péter Szilágyi
309da541de
consensus/clique: cache block signatures for fast checks
8 years ago
Péter Szilágyi
6b7ae4e751
consensus/clique, internal/web3ext: support hash based API queries ( #14321 )
...
* consensus/clique, internal/web3ext: support hash based API queries
* consensus/clique: make RPC return types public
8 years ago
Péter Szilágyi
feeccdf4ec
consensus/clique: Proof of Authority ( #3753 )
...
This PR is a prototype implementation of plugable consensus engines and the
Clique PoA protocol ethereum/EIPs#225
8 years ago