go-ethereum/XDCxlending/lendingstate
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
database.go
dump.go common: improve documentation comments (#16701) 2024-12-28 09:06:30 +08:00
journal.go
lendingcontract.go common: change type of variables for constants 2025-02-17 11:38:16 +08:00
lendingitem.go
lendingitem_test.go common: change type of variables for constants 2025-02-17 11:38:16 +08:00
managed_state.go
relayer.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
state_itemList.go all: new empty trie with types.EmptyRootHash instead of null (#27230) 2025-02-07 13:04:45 +08:00
state_lendingbook.go core, trie: port snap sync changes #24898 (#1096) 2025-08-26 15:20:39 +08:00
state_lendingitem.go
state_lendingtrade.go
state_liquidationtime.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
XDCx_trie.go core, trie: rework trie committer #25320 (#1103) 2025-08-31 15:58:48 +08:00