Daniel Liu
e3c75c01c7
accounts/usbwallet: support trezor passphrases ( #16503 )
...
When opening the wallet, ask for passphrase as well as for the PIN
and return the relevant error (PIN/passphrase required). Open must then
be called again with either PIN or passphrase to advance the process.
This also updates the console bridge to support passphrase authentication.
2025-01-24 16:18:29 +08:00
Daniel Liu
d44902a64a
accounts/abi: allow interface as the destination ( #18490 )
2025-01-24 16:18:29 +08:00
Daniel Liu
e70bb4b119
accounts/abi: Add tests for reflection ahead of refactor ( #18434 )
2025-01-24 16:18:29 +08:00
Daniel Liu
7d5953f972
accounts/abi: Extra slice tests ( #18424 )
...
Co-authored-by: weimumu <934657014@qq.com>
2025-01-24 16:18:29 +08:00
Daniel Liu
2d0047b4b8
accounts/abi: tuple support ( #18406 )
2025-01-24 16:18:29 +08:00
Daniel Liu
a81fe22903
accounts/keystore: small code simplification ( #18394 )
2025-01-24 16:18:28 +08:00
Daniel Liu
e4adf8e4eb
accounts/keystore: fix comment typo ( #18395 )
2025-01-24 16:18:28 +08:00
Daniel Liu
67fe815714
console: squash golint warnings ( #16836 )
2025-01-24 16:18:28 +08:00
Daniel Liu
930ec9ba86
accounts/abi: allow abi tags when unpacking structs ( #16648 )
2025-01-24 16:18:28 +08:00
Daniel Liu
48de514dd9
accounts/abi/bind: add optional block number for calls ( #17942 )
2025-01-24 16:18:28 +08:00
Daniel Liu
9ec0b75eaf
accounts/abi: fix string array unpack bug ( #18364 )
2025-01-24 16:18:28 +08:00
Daniel Liu
bb54f11c13
accounts/abi: brings out the msg defined at require statement in SC function ( #17328 )
2025-01-24 16:18:28 +08:00
Daniel Liu
16e444c4f8
accounts/abi: add support for unpacking returned bytesN arrays ( #15242 )
2025-01-24 16:18:28 +08:00
Daniel Liu
95d06922b7
accounts/abi: fix slice unpack bug ( #18321 )
2025-01-24 16:18:28 +08:00
Daniel Liu
0bf459b979
accounts/abi: argument type and name were reversed ( #17947 )
...
argument type and name were reversed
2025-01-24 16:18:28 +08:00
Daniel Liu
5e6fa602c9
usbwallet: check returned error when decoding hexstr ( #18056 )
...
* usbwallet: check returned error when decoding hexstr
* Update accounts/usbwallet/ledger.go
Co-Authored-By: CoreyLin <514971757@qq.com>
* usbwallet: check hex decode error
2025-01-24 16:18:28 +08:00
Daniel Liu
11519292cd
accounts/abi: add packing for dynamic array and slice types ( #18051 )
2025-01-24 16:18:28 +08:00
Daniel Liu
f645cbc61d
accounts/keystore: delete the redundant keystore in filename ( #17930 )
...
* accounts/keystore: reduce file name length
* accounts/keystore: reduce code line width
2025-01-24 16:18:28 +08:00
Daniel Liu
25a6b59aca
accounts: wallet derivation path comment is mistaken ( #17934 )
2025-01-24 16:18:28 +08:00
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