go-ethereum/XDCxlending/lendingstate
Daniel Liu 6d4670a4ec
core, trie: refactor trie API #26995 (#1147)
In this PR, all TryXXX(e.g. TryGet) APIs of trie are renamed to XXX(e.g. Get) with an error returned.

The original XXX(e.g. Get) APIs are renamed to MustXXX(e.g. MustGet) and does not return any error -- they print a log output. A future PR will change the behaviour to panic on errorrs.

Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2026-01-16 15:51:13 +05:30
..
common.go remove lendingstate.EmptyAddress 2023-10-24 12:27:03 +08:00
database.go XDCx: remove unused functions and variables (#1530) 2025-09-21 19:02:21 +08:00
dump.go common: improve documentation comments (#16701) 2024-12-28 09:06:30 +08:00
journal.go XDP-03 (#396) 2024-01-19 15:05:27 +04:00
lendingcontract.go all: use 0x-prefix for Address type in log (#1830) 2025-12-07 15:36:36 +05:30
lendingitem.go all: fix whitespace (#1572) 2025-09-24 07:58:40 +08:00
lendingitem_test.go all: remove deprecated uses of math.rand #26710 (#1549) 2025-09-22 20:42:14 +08:00
managed_state.go all: fix whitespace error of golangci-lint, remove extra empty lines (#1624) 2025-10-19 14:42:12 +08:00
relayer.go all: use 0x-prefix string for type Address in error message (#1835) 2025-12-23 15:39:23 +05:30
settle_balance.go all: fix whitespace (#1572) 2025-09-24 07:58:40 +08:00
settle_balance_test.go common: add binary variables for system contract 2024-06-06 19:33:59 +08:00
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 all: fix inconsistent receiver name (#1494) 2025-09-17 08:15:23 +08:00
state_lendingitem.go all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
state_lendingtrade.go all: fix staticcheck warning ST1006: don't use generic name self 2024-10-25 21:30:54 +08:00
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 crypto: switch over to upstream sha3 package (#18390) 2024-12-09 17:48:59 +08:00
XDCx_trie.go core, trie: refactor trie API #26995 (#1147) 2026-01-16 15:51:13 +05:30