Commit graph

12559 commits

Author SHA1 Message Date
Daniel Liu
b469d70433 accounts/usbwallet: simplify code using -= operator (#17904) 2025-01-24 16:18:28 +08:00
Daniel Liu
c0acd9c3ad accounts/keystore: encrypt the master seed on disk (#17704) 2025-01-24 16:18:28 +08:00
Daniel Liu
e2ea9e87b5 accounts/abi: fix panic in MethodById lookup (#17798) 2025-01-24 16:18:28 +08:00
Daniel Liu
2154607a5f accounts/keystore: double-check keystore file after creation (#17348) 2025-01-24 16:18:28 +08:00
Daniel Liu
de16c7571f accounts/abi: fix unpacking of negative int256 (#17583) 2025-01-24 16:18:28 +08:00
Daniel Liu
002fac8b14 all: remove the duplicate 'the' in annotations (#17509) 2025-01-24 16:18:28 +08:00
Daniel Liu
906551bfbd accounts: fixed typo (#17421) 2025-01-24 16:18:28 +08:00
Daniel Liu
eb90b2899f backends: increase gaslimit in order to allow tests of large contracts (#17358) 2025-01-24 16:18:28 +08:00
Daniel Liu
165510daef accounts/keystore: rename skipKeyFile to nonKeyFile to better reveal the function purpose (#17290) 2025-01-24 16:18:28 +08:00
Daniel Liu
ed67fd4200 crypto/secp256k1: remove external LGPL dependencies (#17239) 2025-01-24 16:18:28 +08:00
Daniel Liu
c5c876a7e7 accounts/abi: refactor Method#Sig() to use index in range iterator directly (#17198) 2025-01-24 16:18:28 +08:00
Daniel Liu
b9f9de7b74 accounts: add unit tests for URL (#17182) 2025-01-24 16:18:28 +08:00
Daniel Liu
8577f6913d accounts/abi: remove deadcode isSigned (#16990) 2025-01-24 16:18:28 +08:00
Daniel Liu
e5b484b63b accounts/usbwallet: correct comment typo (#16998) 2025-01-24 16:18:28 +08:00
Daniel Liu
8d2fb8c280 accounts/usbwallet: correct comment typo (#17008) 2025-01-24 16:18:28 +08:00
Daniel Liu
27725104b4 accounts/keystore: assign schema as const instead of var (#16985) 2025-01-24 16:18:28 +08:00
Daniel Liu
543900aed2 accounts: changed if-else blocks to conform with golint (#16654) 2025-01-24 16:18:28 +08:00
Daniel Liu
fbe415c975 accounts/usbwallet: remove unused variables in ledger.go (#16446) 2025-01-24 16:18:28 +08:00
Daniel Liu
18a5493575 accounts: add function UnmarshalJSON to parse URL (#16154) 2025-01-24 16:18:28 +08:00
Daniel Liu
159ea38c87 accounts/abi: improve abi test coverage (#16044) 2025-01-24 16:18:28 +08:00
Daniel Liu
6e6c8d20da
Merge pull request #816 from gzliudan/reduce_chaindb_size
all: reduce the chain db size
2025-01-24 16:13:09 +08:00
Daniel Liu
85fc56733f core: lookup txs by block number instead of block hash (#19431) 2025-01-24 15:52:43 +08:00
Daniel Liu
2b8b7e68f7 all: avoid storing computable receipt metadata (#19345) 2025-01-24 15:52:43 +08:00
Daniel Liu
92f0d07e6d core: remove unnecessary fields in log (#17106 #19182) 2025-01-24 15:52:43 +08:00
Daniel Liu
a843f94524
Merge pull request #821 from gzliudan/db_commands
cmd/XDC: add db commands: stats, compact, put, get, delete
2025-01-24 15:50:49 +08:00
Daniel Liu
4224367396 cmd/XDC: add db commands: stats, compact, put, get, delete (#22014) 2025-01-24 15:32:08 +08:00
Daniel Liu
742103c19c
Merge pull request #820 from gzliudan/rm_copydb
cmd/XDC: delete copydb command
2025-01-24 15:26:27 +08:00
Daniel Liu
1ff36996c0 cmd/XDC: delete copydb command 2025-01-24 14:41:28 +08:00
Daniel Liu
8b9de4b76c
Merge pull request #819 from gzliudan/read_db_only
all: add read-only option to database
2025-01-24 14:36:20 +08:00
Daniel Liu
97c50f97bb all: add read-only option to database 2025-01-24 14:24:39 +08:00
Daniel Liu
ff923bdca6
Merge pull request #814 from JukLee0ira/fix-perfix
accounts/keystore: fix xdc-prefix address bug
2025-01-23 15:35:12 +08:00
JukLee0ira
ae438bea69 accounts/keystore: fix xdc-prefix address bug (#759) 2025-01-23 15:23:45 +08:00
Daniel Liu
c3badb4298
Merge pull request #818 from JukLee0ira/fix-rawdb
core, light: handle the nil return value of `GetBlockNumber`
2025-01-23 13:57:56 +08:00
JukLee0ira
197291443f core, light: handle the nil return value of GetBlockNumber, fix #517 2025-01-23 13:57:07 +08:00
Daniel Liu
bc2f68d70b
Merge pull request #806 from gzliudan/migrate_to_embed
all: migrate go-bindata to embed
2025-01-22 19:24:20 +08:00
Daniel Liu
ffbe4f5080 all: migrate go-bindata to embed (#24744) 2025-01-22 17:03:47 +08:00
Daniel Liu
2779b08918
Merge pull request #780 from gzliudan/better_reorg
core: refactor the function reorg
2025-01-22 15:30:53 +08:00
Daniel Liu
cbdf0e69f9 core: refactor function reorg (#23761, #24616, #24996, #30600) 2025-01-22 15:23:37 +08:00
Daniel Liu
adba311c5c
Merge pull request #788 from JukLee0ira/Migrate-to-rawdb
core/rawdb: separate raw database access to own package
2025-01-22 15:21:38 +08:00
JukLee0ira
653b59710e core/rawdb: separate raw database access to own package (#16666 #19345) 2025-01-22 15:19:39 +08:00
Daniel Liu
d1d95e2e64
Merge pull request #803 from gzliudan/go_generate
all: update files by 'go generate ./...'
2025-01-22 15:11:21 +08:00
Daniel Liu
6794504d40 all: update files by 'go generate ./...' 2025-01-22 15:10:52 +08:00
Daniel Liu
b34ab0c652
Merge pull request #807 from gzliudan/abigen_flag
cmd/abigen: require either '--abi' or '--combined-json'
2025-01-22 15:09:28 +08:00
Daniel Liu
89376fd489 cmd/abigen: require either '--abi' or '--combined-json' (#31045) 2025-01-22 15:09:02 +08:00
Daniel Liu
f6d3f64b7c
Merge pull request #813 from gzliudan/fix_receipt_encode
core/types: remove extra byte when EncodeRLP for Receipt
2025-01-22 15:07:31 +08:00
Daniel Liu
5740ca1fe4 core/types: remove extra byte when EncodeRLP for Receipt 2025-01-22 15:07:10 +08:00
Daniel Liu
4e18b25309
Merge pull request #683 from JukLee0ira/traceBlockByNumber
eth/tracers: add tracerConfig support and implement contractTracer
2025-01-22 12:57:28 +08:00
JukLee0ira
412133b977 eth/tracers: add test for contractTracer 2025-01-22 12:37:48 +08:00
JukLee0ira
f7b591ffe3 eth/tracers: add a golang tracer to locate contracts (#23708) 2025-01-22 12:37:37 +08:00
JukLee0ira
7ca83ab0ec eth/tracers: add TracerConfig option to Tracer (#25430) 2025-01-22 11:08:15 +08:00