Alex Sharov
4d3cee7436
Mdbx fix for signature update ( #3014 )
...
* save
* save
* save
* drop_txpool_v1
* fix
Co-authored-by: Alex Sharp <alexsharp@alexs-mbp.home>
2021-11-22 13:07:20 +00:00
TBC Dev
e1c44cd19b
Change sentry peer_id from H512 pubkey to H256 keccak256(pubkey) ( #3013 )
...
* Rename protoHandshake.ID to protoHandshake.Pubkey
* Fix enode.ID comment descriptions
* Change sentry peer_id from H512 pubkey to H256 keccak256(pubkey)
* Simplify PeerInfo helpers
2021-11-22 05:39:31 +00:00
Alex Sharov
44c9940364
Pool: reject low nonce and low balance txs ( #3005 )
...
* save
* save
2021-11-21 11:39:09 +00:00
Alex Sharov
d4850b6adc
Hack: dump bodies and headers ( #2994 )
2021-11-20 09:41:01 +07:00
Alex Sharov
2a08dbd3d9
Recsplit: move files read/write helpers to erigon-lib ( #2993 )
2021-11-19 12:12:25 +07:00
Alex Sharov
5b634a790e
Canonical tx ids ( #2986 )
...
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
* save
2021-11-18 14:07:55 +00:00
Giulio rebuffo
e6916d4d00
[EIP-4399 2/3] Added total difficulty stage and transition logic ( #2964 )
...
* added diff stage
* added td stage
* improvements + more tests
* added err check
* added err check
* transition raw interfaces
* interface for transition
* unwind updates
* maybe this fix
* now fixed?
* fixes
* better db-format
* better db-format
* sum and mod
* sum and mod
* fixed headers unwind
2021-11-17 15:50:41 +00:00
Alex Sharov
9762e25596
txpool.Pending() grpc method, which preserve ready-for-mining order #2976
2021-11-17 17:26:02 +07:00
Alex Sharov
544b962243
Pool: PooledTransactions to produce correct rlp for non-legacy txs ( #2965 )
...
* save
* save
2021-11-16 07:05:51 +00:00
ledgerwatch
12f565697e
pending nonce ( #2953 )
...
* pending nonce
* Increment nonce of last tx to get tx count
* Upgrade erigon-lib
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-11-15 10:54:31 +00:00
Alex Sharov
aad0d0c777
grpc GetBlock api ( #2955 )
2021-11-14 11:08:52 +07:00
Giulio Rebuffo
da83ad3d20
updated erigon-lib
2021-11-10 21:02:19 +01:00
Giulio Rebuffo
4d432362b7
dropped eth65
2021-11-09 20:08:48 +01:00
Giulio Rebuffo
e12f8fdee8
dropped eth65
2021-11-09 20:07:23 +01:00
Giulio Rebuffo
f34ccb75e5
refactor downloader
2021-11-07 20:25:37 +01:00
Alex Sharov
49ff8ff166
Recsplit: collision typed error ( #2925 )
2021-11-07 09:58:20 +07:00
Alex Sharov
ed83d2974f
Pool: don't send empty events ( #2924 )
2021-11-07 09:45:00 +07:00
Alex Sharov
e14fb4756b
ETL: revert file name change ( #2922 )
2021-11-06 17:34:39 +07:00
Alex Sharov
a5bbe82a59
ETL: use logPrefix as suffix of tmp files ( #2921 )
2021-11-05 17:19:44 +07:00
iszubok
1a94b85bec
tests, secp256k1: secp256k1 fuzzer implementation ( #2906 )
...
* added secp256k1 fuzzer
* Updated references to secp256k1 and erigon-lib
* Update go.sum
* Update go.mod
* Update go.mod
* Update go.sum
Co-authored-by: ledgerwatch <akhounov@gmail.com>
2021-11-04 12:16:26 +00:00
Alex Sharov
1a45f26a7c
move ( #2910 )
2021-11-04 08:25:40 +00:00
Alex Sharov
686721b6c6
EliasFano: fix jump calculation, fuzzing to trigger jump logic ( #2912 )
2021-11-04 13:25:34 +07:00
Alex Sharov
5e54b27aa4
increase grpc meassage limit ( #2905 )
2021-11-02 22:01:47 +07:00
Alex Sharov
cc951ead7b
derive_chainid_no_alloc ( #2899 )
2021-11-01 11:17:01 +07:00
Alex Sharov
5caf839c4b
pre-alloc uin256 for chainID derive ( #2898 )
2021-11-01 09:42:48 +07:00
Alex Sharov
6f055e7adc
Recsplit: call ef.Build and set ef.prevOffset ( #2897 )
2021-11-01 09:24:06 +07:00
Alex Sharov
3d63c93b3d
Recsplit: add hack recsplitLookup for test ( #2895 )
2021-10-31 10:20:31 +07:00
alex.sharov
5e829d39bc
mdbx_v0.11.1
2021-10-29 08:17:09 +07:00
alex.sharov
02e1bf72fd
mdbx: increase augment to 16 * default
2021-10-28 21:53:36 +07:00
Alex Sharov
fc010b77ee
Switch sentry mock to pool v2 ( #2885 )
...
* save
* save
* save
* save
* save
* save
* save
* pool v2 docs
* pool v2 docs
* pool v2 docs
* save
* save
* save
* save
* save
* save
* save
2021-10-28 21:18:34 +07:00
Alex Sharov
effa51ebc8
Pool: remove rules from func signatures ( #2880 )
2021-10-28 10:13:47 +07:00
Alex Sharov
9ae67fee44
Mdbx reduce augment limit to 8*default ( #2871 )
2021-10-27 13:17:34 +07:00
Alex Sharov
33efae07b2
more p2p fuzz ( #2869 )
2021-10-26 14:08:39 +07:00
Alex Sharov
83593c28c2
recsplit: bigger bufio buffer ( #2867 )
2021-10-26 11:19:56 +07:00
Alex Sharov
5d7904c133
erl.collector - move logPrefix to constructor ( #2866 )
2021-10-25 15:09:43 +07:00
Alex Sharov
b3509f2dcb
PoolV2: intrinsic gas ( #2865 )
2021-10-25 08:52:36 +07:00
alex.sharov
d49e25d748
muted txpool
2021-10-24 18:20:53 +07:00
Alex Sharov
1aee17c120
force some rw tx when db open, to allow mdbx up version signature ( #2862 )
...
* save
* save
2021-10-22 10:13:20 +07:00
Alex Sharov
e6bd6fbfcc
Add p2p msg to panic ( #2861 )
2021-10-22 09:51:49 +07:00
Alex Sharov
1a426548e8
Mdbx v0.11.0 ( #2860 )
2021-10-22 09:46:03 +07:00
Alex Sharov
a28a0b7744
PoolV2: set default limit to sub-pools 10K ( #2855 )
2021-10-21 15:59:39 +07:00
Alex Sharov
c4be246008
PoolV2: Use default crypto context - it's thread-safe - because creation of new one failing in Docker on linux host ( #2847 )
2021-10-20 09:37:05 +07:00
alex.sharov
e90dd3eb41
fix nil pointer on error
2021-10-20 06:43:42 +07:00
ledgerwatch
2dec76123c
Use decompressor from erigon-lib and experiments with tx lookup ( #2824 )
...
* Use decompressor
* Use decompressor
* Close compressor
* Upgrade to latest erigon-lib
* Fix compile errors
* Fix lint
* Remove count from files
* Remove count from files
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-10-16 22:19:13 +01:00
Alex Sharov
f345aba680
Mdbx v0.10.5 ( #2828 )
2021-10-15 09:43:30 +07:00
Alex Sharov
a470da8c2c
enable London in mining, fix pre-london gasPool in mining ( #2821 )
2021-10-13 11:04:59 +07:00
Alex Sharov
04f8ecb0ae
RemoteRPC: add --state.cache=keys_amount cli parameter ( #2816 )
2021-10-12 16:27:47 +07:00
Alex Sharov
da00e949c4
RemoteRPC: coherentCache for kv.Code; LocalRPC: enable small blocksLRU ( #2815 )
2021-10-12 12:04:04 +07:00
ledgerwatch
21d024b06a
More mature experiments with the state and transaction compression ( #2811 )
...
* Change to use Patten inside patricia tree
* Huffman codes for compression
* Huffman coding of positions, generate tx files to test compression
* Split state into 3 files, relative positions, average decoding time
* Small optimisations of decompression
* Optimise intermediate compression
* Update erigon-lib ref
* Fix lint
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-10-11 21:05:45 +01:00
Alex Sharov
64178ff80d
Checkpoint challenge timeout: remove td check after handshake ( #2807 )
...
* remove td check after handshake
* save
2021-10-10 22:14:50 +07:00