Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martin Holst Swende
175506e7fd
core/types, rlp: optimize derivesha ( #21728 )
...
This PR contains a minor optimization in derivesha, by exposing the RLP
int-encoding and making use of it to write integers directly to a
buffer (an RLP integer is known to never require more than 9 bytes
total). rlp.AppendUint64 might be useful in other places too.
The code assumes, just as before, that the hasher (a trie) will copy the
key internally, which it does when doing keybytesToHex(key).
Co-authored-by: Felix Lange <fjl@twurst.com>
4 years ago
..
asm
core/asm: allow numbers in labels ( #20362 )
5 years ago
bloombits
core/bloombits: faster generator ( #21625 )
4 years ago
forkid
cmd/devp2p: add eth protocol test suite ( #21598 )
4 years ago
rawdb
core: improve snapshot journal recovery ( #21594 )
4 years ago
state
core/state/snapshot: fix journal recovery from generating old journal ( #21775 )
4 years ago
types
core/types, rlp: optimize derivesha ( #21728 )
4 years ago
vm
all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 ( #21509 )
4 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
block_validator.go
trie: use stacktrie for Derivesha operation ( #21407 )
4 years ago
block_validator_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
blockchain.go
core: improve snapshot journal recovery ( #21594 )
4 years ago
blockchain_insert.go
core: fix blockchain insert report time interval calculation ( #21723 )
4 years ago
blockchain_repair_test.go
core: improve snapshot journal recovery ( #21594 )
4 years ago
blockchain_sethead_test.go
core: improve snapshot journal recovery ( #21594 )
4 years ago
blockchain_snapshot_test.go
core/state/snapshot: fix journal recovery from generating old journal ( #21775 )
4 years ago
blockchain_test.go
core, eth, les, trie: add a prefix to contract code ( #21080 )
4 years ago
blocks.go
core: typos and comments improve
8 years ago
chain_indexer.go
all: replace RWMutex with Mutex in places where RLock is not used ( #21622 )
4 years ago
chain_indexer_test.go
les: historical data garbage collection ( #19570 )
4 years ago
chain_makers.go
les: historical data garbage collection ( #19570 )
4 years ago
chain_makers_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
dao_test.go
les: historical data garbage collection ( #19570 )
4 years ago
error.go
all: fix typos in comments ( #21118 )
5 years ago
events.go
eth/filters: remove use of event.TypeMux for pending logs ( #20312 )
5 years ago
evm.go
core/evm: less iteration in blockhash ( #20589 )
5 years ago
gaspool.go
miner: avoid unnecessary work ( #15883 )
7 years ago
gen_genesis.go
all: regenerate codecs with gencodec commit 90983d99de ( #15830 )
7 years ago
gen_genesis_account.go
all: regenerate codecs with gencodec commit 90983d99de ( #15830 )
7 years ago
genesis.go
all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 ( #21509 )
4 years ago
genesis_alloc.go
cmd, core, params: inital support for yolo-v1 testnet ( #21154 )
5 years ago
genesis_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
headerchain.go
core: define and test chain rewind corner cases ( #21409 )
4 years ago
mkalloc.go
core/vm: 64 bit memory and gas calculations ( #19210 )
6 years ago
rlp_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
state_prefetcher.go
all: seperate consensus error and evm internal error ( #20830 )
5 years ago
state_processor.go
all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 ( #21509 )
4 years ago
state_transition.go
all: seperate consensus error and evm internal error ( #20830 )
5 years ago
tx_cacher.go
Comment error ( #18303 )
6 years ago
tx_journal.go
core: fix typos in comment ( #17531 )
6 years ago
tx_list.go
core: free pointer from slice after popping element from price heap ( #21572 )
4 years ago
tx_list_test.go
Revert "core, txpool: less allocations when handling transactions ( #21232 )"
4 years ago
tx_noncer.go
core: fix write concurrency in txpool ( #19835 )
5 years ago
tx_pool.go
core: fix txpool off-by-one error ( #21683 )
4 years ago
tx_pool_test.go
core, eth, les, trie: add a prefix to contract code ( #21080 )
4 years ago
types.go
core: prefetch next block state concurrently
6 years ago