Commit Graph

43 Commits

Author SHA1 Message Date
e-danko
43105470fd
added starknet gointerfaces (#259) 2022-01-20 14:11:08 +00:00
Alex Sharov
71c8187a64
Snapshot: Txn lookup (#224) 2022-01-07 17:14:21 +07:00
Giulio rebuffo
bd5e7706f0
ran make (#218) 2021-12-28 01:50:12 +01:00
Giulio rebuffo
910ae8eec6
updated to latest merge spec (#217)
* updated to latest merge spec

* now

* gointerfaces

* done

* better naming

* corrected extra data

* corrected extra data

* correct order

* again, correct order
2021-12-27 18:59:32 +01:00
Alex Sharov
bb6dfef7c8
add downloader.proto (#206)
* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit be07fc9

git-subtree-dir: interfaces
git-subtree-split: be07fc99183a7cef1ca08961033bdb917d85d9b5

* save

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit be07fc9

git-subtree-dir: interfaces
git-subtree-split: be07fc99183a7cef1ca08961033bdb917d85d9b5

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 23d68fd

git-subtree-dir: interfaces
git-subtree-split: 23d68fda86c3a2c322e7b430c817b06b6f6ca311

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 500dde8

git-subtree-dir: interfaces
git-subtree-split: 500dde8293c0a12d19d94b5ff633722a03d7fc4e

* save

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit e5b1945

git-subtree-dir: interfaces
git-subtree-split: e5b1945d02da7a7f00e2289034ee90a6edd60184

* save

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit f36d878

git-subtree-dir: interfaces
git-subtree-split: f36d878080fe018a41fb903f81fc8f8ac9981cbd

* save

* save

* save
2021-12-14 13:33:32 +00:00
Dmitry Savelev
da3c239ed6
Add nodeInfo GRPC methods (#196)
* Add nodeInfo

* Remove interfaces for replacement

Signed-off-by: Dmitry Savelev <darksawa@gmail.com>

* Squashed 'interfaces/' content from commit 67abfdd

git-subtree-dir: interfaces
git-subtree-split: 67abfdd23b3bbef0d2f0c038275b6f47820d7f5e
2021-11-30 14:41:31 +00:00
Giulio rebuffo
4258567eb7
added util to convert to H2048 interface (#188)
* added util to convert to H2048 interface

* plain bytes

* lint
2021-11-25 05:18:17 +00:00
TBC Dev
d8870b19c3
Change sentry peer_id from H512 pubkey to H256 keccak256(pubkey) (#183)
* Rename h1 to h0 for clarity

* Simplify toHashes() and toPeerIDs()

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit ed9b048

git-subtree-dir: interfaces
git-subtree-split: ed9b04802fe8891a2bc3fea274c498c758d3fcac

* Change sentry peer_id from H512 pubkey to H256 keccak256(pubkey)
2021-11-21 19:35:59 +00:00
Giulio rebuffo
8a7f4ca4e9
Update interfaces (#179)
* Added CurrentExecutionPayload Bucked

* lint

* updated

* added util to decode blooms
2021-11-21 14:52:08 +00:00
Alex Sharov
5108c95b85
txpool.Pending() method, which preserve ready-for-mining order (#172) 2021-11-17 17:23:51 +07:00
ledgerwatch
eefbde1443
Pending nonce [attempt 2] (#158)
* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 8f1a238

git-subtree-dir: interfaces
git-subtree-split: 8f1a23897b8921ae3e7f9450ec9f300255c6e1e2

* Regenerate bindings for new interfaces

* Add Nonce function

* Search for nonce in ascending order

* Descend from highest possible nonce for sender (#162)

* Descend from highest possible nonce for sender

* Remove assumptions from nonce()

* Remove interfaces for replacement

* Squashed 'interfaces/' content from commit 375e3d8

git-subtree-dir: interfaces
git-subtree-split: 375e3d85a3d9ff13e61593a5efacd2fbc777cec3

* Regenerate

* Started test

* More of test

* Fix test

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: TBC Dev <48684072+tbcd@users.noreply.github.com>
2021-11-15 09:44:18 +00:00
Alex Sharov
acc584c097
grpc GetBlock api (#159) 2021-11-14 11:08:45 +07:00
Alex Sharov
3fb38f2547
increase grpc meassage limit (#143) 2021-11-02 22:01:19 +07:00
Alex Sharov
57c724bbc6
--txpool.pricelimit support (#96) 2021-10-02 17:34:33 +07:00
Alex Sharov
f5fa03d63f
Pool: switch to PendingBaseFee (#90) 2021-09-26 19:47:11 +07:00
Alex Sharov
4862356290
Pool: correct new pending txs notifications (#85) 2021-09-21 16:39:41 +07:00
Alex Sharov
13b0978d86
grpc enable instrumentation (#84) 2021-09-21 10:10:59 +07:00
Alex Sharov
6a7eeccad7
Pool: discard reasons, LRU (#80) 2021-09-20 12:44:29 +07:00
Alex Sharov
dfc14352d2
Pool: chain config, non-mainnet (#78) 2021-09-18 20:58:20 +07:00
Alex Sharov
8163e0cd93
Pool: cache based on txID (#75) 2021-09-17 09:56:04 +07:00
Alex Sharov
71308b02b3
Pool: switch cache to tx.ID(), more metrics (#73) 2021-09-15 20:15:32 +07:00
Alex Sharov
aa7acc120c
Pool: expose mdbx's txID to remote_kv (#71) 2021-09-15 13:11:34 +07:00
Alex Sharov
5b8e019246
Pool: add coherent state cache (#68) 2021-09-13 14:31:15 +07:00
Alex Sharov
0b4e528fac
Pool: no state persistance (#62) 2021-09-08 19:21:13 +07:00
Alex Sharov
c7739b89a8
Pool: state diff direct client, tx parse fuzzing (#59) 2021-09-07 09:52:17 +07:00
Alex Sharov
affb189c77
Pool: add --txpool.v2 flag to rpcdaemon (#57)
* grpc connect func

* grpc connect func

* grpc connect func

* grpc connect func

* grpc connect func

* grpc connect func
2021-09-03 10:24:49 +07:00
Alex Sharov
c935d9ff65
Pool: add grpcutils pkg, no spamming logs on disconnect (#54) 2021-09-02 16:37:36 +07:00
Alex Sharov
71fb498e39
Pool: add grpc server (#53) 2021-09-02 12:25:34 +07:00
alex.sharov
c16fcc3a8d save 2021-08-16 08:58:58 +07:00
alex.sharov
e73692c327 up interfaces 2021-08-14 08:49:21 +07:00
alex.sharov
4bf6b1b29b Merge branch 'main' into pool11 2021-08-10 09:20:14 +07:00
ledgerwatch
9168ac5e1a
Update type_utils.go 2021-08-09 10:10:51 +01:00
alex.sharov
5f05c1fcbd test success flow 2021-08-09 14:04:22 +07:00
alex.sharov
585a2ad0a6 mos 2021-08-09 11:00:36 +07:00
alex.sharov
06dbcf8a4b more fields 2021-08-08 11:46:27 +07:00
alex.sharov
4d4db9d095 state changes 2021-08-07 11:53:24 +07:00
Richard Patel
14b69bab79 make grpc 2021-08-05 15:14:58 +02:00
alex.sharov
1010156065 encode txs 2021-07-26 09:06:17 +07:00
alex.sharov
f19ae4bfac tx propagate, pool mock, try some tests 2021-07-25 19:19:33 +07:00
alex.sharov
8489543205 sentry subscribe 2021-07-09 20:21:43 +07:00
Alexey Sharp
a58e7da26f Add version and type utils 2021-07-01 17:28:43 +01:00
Alexey Sharp
48731e8f1d Fix paths 2021-07-01 16:44:00 +01:00
Alexey Sharp
f9ec55f852 Generate grpc bindings 2021-07-01 16:35:06 +01:00