erigon-pulse/eth
Alex Sharov 5c05ff4c2a
Exec new blocks in TxnNoSync. Prune after sending notifications in TxnSync (#6222)
Change from: 
```
begin(TxNoSync)
exec new block, index nee data
do limited pruning 
commit()
send notifications about new data arrival to other apps, they may start reading new data at this time (by new read transactions) 
```
Change to: 
```
begin(TxNoSync)
exec new block, index nee data
commit() // no fsync here
send notifications about new data arrival to other apps, they may start reading new data at this time (by new read transactions) 
begin()
do pruning 
commit() // fsync here
```

it allows notify earlier. Fsync (of all changes) on modern drives is
fast, but on cloud-drives it’s about 1sec in worst cases.
2022-12-09 19:48:56 +07:00
..
calltracer trace: change type of self destruct arg to uint256 (#6189) 2022-12-03 21:43:53 +07:00
ethconfig e3: reduce state write lock (#6096) 2022-11-21 10:38:22 +07:00
ethconsensusconfig fix panic by parlia consensus (#5078) 2022-08-16 19:16:16 +07:00
ethutils Remove duplicate file extension (#4177) 2022-05-17 10:43:30 +01:00
filters feat: enhance API erigon_getLatestLogs (#6078) 2022-11-29 15:14:41 +07:00
gasprice Avoiding leaking the popped item (#6193) 2022-12-04 11:17:02 +07:00
integrity Use hex package to convert bytes to string (#6205) 2022-12-05 09:06:16 +07:00
protocols/eth Withdrawals part 1 (#6009) 2022-12-01 09:15:01 +01:00
stagedsync Exec new blocks in TxnNoSync. Prune after sending notifications in TxnSync (#6222) 2022-12-09 19:48:56 +07:00
tracers evm: txContext.gasPrice to uint256 type (#6188) 2022-12-04 11:44:50 +07:00
api_backend.go Inner errors (#2774) 2021-10-04 22:16:52 +07:00
api_test.go up version of uint256 lib (#2082) 2021-06-04 17:25:28 +01:00
api.go Embed rpcdaemon: prepared direct clients (#3492) 2022-02-12 19:47:19 +07:00
backend.go Added Handshake protocol to Erigon-CL Lightclient and Fullclient (#6206) 2022-12-05 01:25:12 +01:00
bloombits.go remove database field from Ethereum object (#1750) 2021-04-19 14:56:44 +07:00
discovery.go rename (#1978) 2021-05-20 19:25:53 +01:00
state_accessor.go remove database field from Ethereum object (#1750) 2021-04-19 14:56:44 +07:00