user
3230fa3a01
impose time limit for rpc shutdown in case it hangs over in edge cases
2022-07-06 19:36:55 +08:00
Zhang Guyu
d8f4c595d4
feature: trace_many return trace list ( #27 )
...
* implement `TraceMany`
* upgrade etherlib
2022-07-05 22:41:58 +08:00
0xfade
90d00963b0
fix eth call panic with txtrace ( #33 )
...
* fix eth call panic with txtrace
* fix slice copy
Co-authored-by: Zhang Guyu <zhangguyu6@gmail.com>
2022-07-05 09:38:35 +08:00
Brion
7cdb63ee31
Merge pull request #32 from DeBankDeFi/discard-ancient
...
implemented online ancient db pruning
2022-07-04 15:55:21 +08:00
user
46e99e460b
add flag for controlling whether blocks should be pruned during undexing transactions
2022-07-01 12:27:06 +08:00
user
0a0a8733ab
fix grammer error raised by golint-ci
2022-07-01 11:19:26 +08:00
user
a6e42641a2
skip the ancient check when prunning turned on
2022-07-01 10:58:04 +08:00
0xfade
3efb9afc5d
Merge pull request #31 from DeBankDeFi/tx_trace
...
🎉 impl oe style `trace_transaction` api
2022-07-01 10:03:55 +08:00
user
815f402a56
refine the implementation
2022-07-01 09:28:57 +08:00
user
d46ea0ebf7
remove unneeded code
2022-06-30 22:57:15 +08:00
user
978827202f
refine the implementation
2022-06-30 22:54:13 +08:00
user
81157fc4a8
temprorarily stash the implementation
2022-06-30 17:05:44 +08:00
user
65992dd82c
support discarding ancient totally
2022-06-30 11:50:19 +08:00
barryz
7895734fa0
add trace_trasnaction api
2022-06-28 15:26:47 +08:00
barryz
7dd5de08bb
persist tx trace result to db while processing blks
2022-06-28 15:26:11 +08:00
barryz
ab6a1c2ddb
add tx-trace store and CLI flags
2022-06-28 15:26:11 +08:00
barryz
531833ce20
commit testdata
2022-06-28 15:26:11 +08:00
XD
816adeb683
Merge pull request #30 from DeBankDeFi/ancient-db-prunning
...
Initial implement of the ancient db prunning
2022-06-28 10:36:31 +08:00
cifer76
86cd551061
only start pruning after bloom indexer catches up
2022-06-28 01:29:40 +08:00
cifer76
e1f09e47f1
fix typo
2022-06-24 14:47:59 +08:00
cifer76
0d956d6dd7
disable ancient prunning on archive mode
2022-06-24 14:31:12 +08:00
cifer76
2488e01f2f
refine logs
2022-06-24 14:25:46 +08:00
cifer76
0fc2ec97b8
minor adjustments
2022-06-24 14:25:46 +08:00
cifer76
d23afb431b
refine the implementation
2022-06-24 14:25:46 +08:00
cifer76
825f259f2b
revert test param
2022-06-24 14:25:46 +08:00
cifer76
1b8378f94b
Implement ancient db prunning
2022-06-24 14:25:46 +08:00
0xfade
87681696cc
Merge pull request #28 from DeBankDeFi/merge_upstream
...
Merge upstream v1.10.19 to debank
2022-06-24 12:52:41 +08:00
tenony
803134ce0d
fix lint & update go version to 1.18.x
2022-06-23 08:50:18 +00:00
tenony
11457f3238
Merge tag 'v1.10.19' into merge_upstream
2022-06-21 01:43:49 +00:00
Zhang Guyu
25a9ed71e2
fix pre: separate implementation for TraceMany ( #26 )
2022-06-16 19:12:02 +08:00
Péter Szilágyi
23bee16208
params: release Geth v1.10.19
2022-06-15 15:49:45 +03:00
Marius van der Wijden
d78d302f3d
node: add info message when JWT secret is loaded ( #25095 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-06-15 14:35:53 +02:00
Marius van der Wijden
d8f963811d
cmd, params: implement Gray Glacier hard-fork (EIP-5133) ( #25088 )
...
* cmd/geth, params: implement Gray Glacier (EIP-5133)
* cmd/evm: add gray glacier tests
* params: nitpicks
* params: fixes
2022-06-15 14:10:38 +03:00
Zhang Guyu
cccf0b020d
fix pre: add tracer set ( #25 )
2022-06-15 19:07:34 +08:00
rjl493456442
30602163d5
eth: introduce eth67 protocol ( #24093 )
...
The new protocol version removes support for GetNodeData.
See https://eips.ethereum.org/EIPS/eip-4938 for more information.
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-06-15 12:56:47 +02:00
Zhang Guyu
0d828c1c74
implement TraceMany method ( #24 )
...
* implement `TraceMany`
* fix nil pointer: check ApplyMessage's return error
* fix nil ptr: fill ChainID
* fix txhash: use common.BigToHash to generate hash
2022-06-15 17:31:34 +08:00
lightclient
3273ad1a58
eth: add missing period at end of sentences ( #25058 )
...
eth: add missing periods on end of comments
2022-06-15 09:29:23 +02:00
lmittmann
bc013bc42e
all: prefer new(big.Int) over big.NewInt(0) ( #25087 )
...
minor performance improvement: `big.NewInt(0).Xxx` -> `new(big.Int).Xxx`
2022-06-14 15:09:48 +03:00
Marius van der Wijden
8cfd1214b7
common: improve pretty duration regex ( #25073 )
...
* common: improve pretty duration regex
* common: improve pretty duration regex
2022-06-14 14:08:43 +02:00
s7v7nislands
6ad620d642
cmd/ethkey: use accounts.TextHash ( #25069 )
2022-06-14 13:47:11 +02:00
lightclient
1cf58c7b81
readme,eth: remove references to eth.wiki ( #25086 )
2022-06-14 12:59:05 +02:00
Ivan Aracki
f74bb3a3bf
cmd/utils: update --ropsten description ( #25078 )
2022-06-14 10:24:29 +02:00
Martin Holst Swende
a907d7e81a
all: more linters ( #24783 )
...
This enables the following linters
- typecheck
- unused
- staticcheck
- bidichk
- durationcheck
- exportloopref
- gosec
WIth a few exceptions.
- We use a deprecated protobuf in trezor. I didn't want to mess with that, since I cannot meaningfully test any changes there.
- The deprecated TypeMux is used in a few places still, so the warning for it is silenced for now.
- Using string type in context.WithValue is apparently wrong, one should use a custom type, to prevent collisions between different places in the hierarchy of callers. That should be fixed at some point, but may require some attention.
- The warnings for using weak random generator are squashed, since we use a lot of random without need for cryptographic guarantees.
2022-06-13 16:24:45 +02:00
Gustavo Silva
eb94896270
Chore: Minimal gramatical errors (signleton -> singleton) ( #25057 )
...
core: fix typos
2022-06-10 18:47:06 +03:00
Luozhu
3f5b5ec3e5
internal/ethapi: fix typo in comment ( #25056 )
...
typo error: keccack256 -> keccak256
2022-06-10 10:57:32 +02:00
int88
594e321662
core/evm: fix error in comment ( #25040 )
...
Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-06-08 18:40:37 +02:00
henridf
f5037185aa
core/types: improve LogForStorage and ReceiptForStorage comments ( #25032 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-06-08 18:32:07 +02:00
Rajaram Gaunker
6160296445
core/types: remove unused field 'td' in Block ( #25010 )
2022-06-08 18:31:43 +02:00
Martin Holst Swende
b60a08d2fd
eth/catalyst: remove unauthenticated 'engine' api ( #24997 )
...
Removes engine from any unauthenticated RPC service.
2022-06-08 15:36:25 +02:00
Péter Szilágyi
c4dab8ceca
Merge pull request #25044 from karalabe/rpc-histograms
...
rpc: swap out timer metrics to histograms
2022-06-08 16:34:43 +03:00