go-ethereum/XDCx/tradingstate
Daniel Liu aca2149f12
core, eth, trie: use TryGetAccount to read what TryUpdateAccount has written #25458 (#1106)
* core: use TryGetAccount to read where TryUpdateAccount has been used to write

* Gary's review feedback

* implement Gary's suggestion

* fix bug + rename NewSecure into NewStateTrie

* trie: add backwards-compatibility aliases for SecureTrie

* Update database.go

* make the linter happy

Co-authored-by: Guillaume Ballet <3272758+gballet@users.noreply.github.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-09-03 15:34:11 +08:00
..
common.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
common_test.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
database.go all: remove uses of untyped golang-lru 2024-12-21 14:39:26 +08:00
dump.go common: improve documentation comments (#16701) 2024-12-28 09:06:30 +08:00
encoding.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
epochpriceitem.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
journal.go XDP-03 (#396) 2024-01-19 15:05:27 +04:00
managed_state.go new EVM Upgrade 2021-09-21 16:53:46 +05:30
orderitem.go all: use big.Sign to compare with zero #29490 (#1387) 2025-08-28 18:56:39 +08:00
relayer_state.go common: change type of variables for constants 2025-02-17 11:38:16 +08:00
settle_balance.go all: use big.Sign to compare with zero #29490 (#1387) 2025-08-28 18:56:39 +08:00
settle_balance_test.go common: add binary variables for system contract 2024-06-06 19:33:59 +08:00
state_lendingbook.go all: new empty trie with types.EmptyRootHash instead of null (#27230) 2025-02-07 13:04:45 +08:00
state_liquidationprice.go core, trie: port snap sync changes #24898 (#1096) 2025-08-26 15:20:39 +08:00
state_orderbook.go core, trie: port snap sync changes #24898 (#1096) 2025-08-26 15:20:39 +08:00
state_orderItem.go all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
state_orderList.go all: new empty trie with types.EmptyRootHash instead of null (#27230) 2025-02-07 13:04:45 +08:00
statedb.go core, eth, trie: use TryGetAccount to read what TryUpdateAccount has written #25458 (#1106) 2025-09-03 15:34:11 +08:00
statedb_test.go core, trie: rework trie committer #25320 (#1103) 2025-08-31 15:58:48 +08:00
trade.go crypto: switch over to upstream sha3 package (#18390) 2024-12-09 17:48:59 +08:00
XDCx_trie.go core, trie: rework trie committer #25320 (#1103) 2025-08-31 15:58:48 +08:00
XDCx_trie_test.go all: new empty trie with types.EmptyRootHash instead of null (#27230) 2025-02-07 13:04:45 +08:00