Daniel Liu
144fbbf35a
core: reset txpool on sethead #26392 ( #1373 )
2025-08-22 16:45:41 +08:00
Daniel Liu
d52bfaa5ca
all: introduce trie owner notion #24750 ( #1090 )
...
* cmd, core/state, light, trie, eth: add trie owner notion
* all: refactor
* tests: fix goimports
* core/state/snapshot: fix ineffasigns
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-08-22 16:37:39 +08:00
Daniel Liu
34020969ff
all: simplify timestamps to uint64 #19372 ( #1318 )
2025-08-08 10:33:37 +08:00
Daniel Liu
85f08c7732
eth: skip VerifyHeader in traceBlock to fix #1185 ( #1265 )
2025-07-26 18:18:50 +08:00
Daniel Liu
c46302cf65
all: fix invalid signer list on checkpoint block for trace api #1185 ( #1186 )
2025-07-12 06:56:30 +08:00
Daniel Liu
6f84f67a15
core: rename CommitTrie to commitTrie #25896 ( #1214 )
2025-07-11 10:48:10 +08:00
Daniel Liu
93c2745b7b
all: disable recording preimage of trie keys #21402 ( #1054 )
2025-06-17 13:10:47 +08:00
Daniel Liu
57c40154be
core: use atomic type #27011
2025-04-28 16:57:56 +08:00
Daniel Liu
9a06e129b8
core: simplify atomic store after writeBlockWithState #20798
2025-04-28 16:57:56 +08:00
Daniel Liu
1d3e5cb455
core: prefetch next block state concurrently #19328
2025-04-28 16:57:56 +08:00
Daniel Liu
c02ab17b17
core: use headers only where blocks are unnecessary #19261 ( #984 )
2025-04-28 06:46:40 +08:00
Daniel Liu
08dbbe705d
core: fix error in block iterator #18986
2025-04-25 08:03:58 +08:00
Daniel Liu
ff435e081f
core: rework blockchain import #17973
2025-04-25 08:03:58 +08:00
Daniel Liu
ab0ce75ede
core: simplify code of trading and lending state ( #949 )
2025-04-24 18:00:21 +08:00
Daniel Liu
733a1be4dc
common, core: add block age into info logs #17718 ( #947 )
2025-04-24 17:56:54 +08:00
Daniel Liu
b9a6c8c32d
cmd, core, eth, trie: add trie read caching layer ( #18087 ) ( #946 )
2025-04-16 17:27:43 +08:00
Daniel Liu
a9b9f53701
core, eth, trie: add a prefix to contract code (21080)
2025-03-24 22:31:03 +08:00
Daniel Liu
3856e16d8c
core: initialize current block/fastblock atomics to nil (19352)
2025-03-19 17:46:12 +08:00
Daniel Liu
588dcd35ce
cmd, common, core, eth: optimize rollback by flag
2025-03-01 11:34:32 +08:00
Daniel Liu
3adec81483
downloader: different sync strategy ( #18085 )
2025-02-26 15:06:08 +08:00
JukLee0ira
620eaa7443
core: remove the duplicate func getProcInterrupt
2025-02-26 14:27:21 +08:00
Daniel Liu
3fc7eeff8a
params: print chain configuration in more detail
2025-02-17 10:05:50 +08:00
Daniel Liu
e7d8e14298
core: improve the format of report block
2025-02-05 12:59:20 +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
JukLee0ira
197291443f
core, light: handle the nil return value of GetBlockNumber, fix #517
2025-01-23 13:57:07 +08:00
Daniel Liu
cbdf0e69f9
core: refactor function reorg ( #23761 , #24616 , #24996 , #30600 )
2025-01-22 15:23:37 +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
c8c39efb63
core: remove unnecessary log copy ( #27475 )
2024-12-28 10:45:00 +08:00
Daniel Liu
d03859d49e
core: update the fast block on chain import at the end of the fast sync phase ( #23576 )
2024-12-28 10:44:54 +08:00
Daniel Liu
2baadc6e87
core: improve shutdown synchronization in BlockChain ( #22853 )
2024-12-28 10:44:49 +08:00
Daniel Liu
2d5dc550d0
core/rawdb: rename WriteTxLookupEntries to WriteTxLookupEntriesByBlock ( #21480 )
2024-12-28 10:44:42 +08:00
Daniel Liu
d7e0e9d734
core: write chain data in atomic way ( #20287 )
2024-12-28 10:44:36 +08:00
Daniel Liu
1c555b2def
core, light: get rid of the dual mutexes ( #18436 )
2024-12-28 10:44:30 +08:00
Péter Szilágyi
39e9d8f94d
common/prque: generic priority queue ( #26290 )
2024-12-28 09:06:31 +08:00
Daniel Liu
f19422e1c7
cmd/utils: relinquish GC cache to read cache in archive mode ( #18991 )
2024-12-28 09:06:30 +08:00
Daniel Liu
89c51c5e69
common: improve documentation comments ( #16701 )
2024-12-28 09:06:30 +08:00
Daniel Liu
240757a1ce
all: remove empty function SaveData()
2024-12-28 09:04:02 +08:00
Daniel Liu
e2afaec8b0
core: remove unused variables in BlockChain struct
2024-12-25 17:25:51 +08:00
Daniel Liu
a5c48e77bd
core: remove unused function writeHeader
2024-12-25 17:22:28 +08:00
Daniel Liu
6114a3a13b
core: remove unused function reorgTxMatches
2024-12-25 17:17:25 +08:00
JukLee0ira
7491a7ba74
all: improve EstimateGas API ( #20830 )
2024-12-21 14:35:44 +08:00
Daniel Liu
2220156b9a
cmd, core, metrics: always report expensive metrics ( #29191 )
...
* cmd, core, metrics: always report expensive metrics
* core, metrics: report block processing metrics as resetting timer
* metrics: update reporter tests
2024-12-13 14:00:13 +08:00
Daniel Liu
35380508fc
metrics, cmd/geth: informational metrics (prometheus, influxdb, opentsb) ( #24877 )
...
This chang creates a GaugeInfo metrics type for registering informational (textual) metrics, e.g. geth version number. It also improves the testing for backend-exporters, and uses a shared subpackage in 'internal' to provide sample datasets and ordered registry.
Implements #21783
---------
Co-authored-by: Martin Holst Swende <martin@swende.se>
2024-12-13 14:00:13 +08:00
Daniel Liu
1eb2ed8293
core, metrics, p2p: expose various counter metrics for grafana ( #19692 )
2024-12-13 14:00:11 +08:00
Daniel Liu
db9487f1e8
core: split out detailed trie access metrics from insertion time ( #19316 )
2024-12-13 14:00:11 +08:00
Daniel Liu
4202f23897
core: more detailed metrics for block processing ( #18119 )
2024-12-13 14:00:11 +08:00
Daniel Liu
aedfea681b
all: make logs a bit easier on the eye to digest ( #22665 )
2024-11-15 10:02:41 +08:00
Daniel Liu
a294c2080d
all: fix null effectiveGasPrice
2024-11-01 11:36:53 +08:00