Commit Graph

67 Commits

Author SHA1 Message Date
Richard Patel 3405d76a1a
cmd/blockstore/verify-data: add progress bar, bug fixes
Adds fancy progress bar :3

Fixes deadlock bug
Fixes bug where workers read past their task end
2022-09-17 20:11:00 +02:00
Richard Patel 493c87d0da
cmd/blockstore: fix minor RocksDB iterator leak
Closes iterators after finishing.
Doesn't matter anyways because app exit drops the entire DB handle.
2022-09-17 18:54:48 +02:00
Richard Patel 047585136b
cmd/blockstore: add verify-data tool
Adds tool that scans over the ledger entries in a blockstore.
2022-09-17 18:51:24 +02:00
Pires 1c6b3857a0 cmd/solrays: remove pubsub RPC from allow list 2022-09-15 09:45:53 -05:00
Pires 200fb932b7 readme: normalize Markdown headers syntax 2022-09-15 09:45:53 -05:00
Pires 6db3220d26 cmd/solrays: move IsValidHostname to pkg/util 2022-09-15 09:45:53 -05:00
Pires 9b3f35d416 cmd/solrays: validate provided TLS hostname, if any. 2022-09-15 09:45:53 -05:00
Pires ff647037a8 cmd/solrays: remove bogus comment
`solrays` doesn't support multiple backends, yet. And I would argue that
if/when it does, the health of the proxy shouldn't be tied to the pool of RPC
nodes.
2022-09-15 09:45:53 -05:00
Pires 0a8d064997 docs: introduce generic build instructions
Also, minimally document `solrays`.
2022-09-15 09:45:53 -05:00
Pires 16a24848e6 cmd/solrays: revisit supported RPC list 2022-09-15 09:45:53 -05:00
Pires a54c60d889 cmd/solrays: fix go-systemd/v22 import 2022-09-15 09:45:53 -05:00
Richard Patel 3e87b452bd cmd/blockstore/yaml: print first and last slot 2022-09-12 14:04:07 +02:00
Leo 22cd485d9c cmd/solrays: import from internal repo 2022-09-11 21:06:23 +02:00
Richard Patel 0773c47d05 cmd/blockstore/yaml: accept --slots=all
Adds option to dump all slots
2022-09-11 09:07:16 +02:00
Richard Patel d7cd878bc9 blockstore: accurately encode entry batches as YAML
Updates blockstore dump YAML schema to reflect that
slices of shreds map to slices of entries.

Adds a new "entry_batches" wrapper list that annotates
each slice of entries with shred range and encoded size.
2022-09-11 08:56:03 +02:00
Richard Patel b902a03a05 cmd/radiance: add blockstore yaml command 2022-09-10 19:57:10 +02:00
Richard Patel 3c69cf0eea blockstore: decode mainnet genesis shreds 2022-09-10 19:56:59 +02:00
Richard Patel 02237cd4c5 cmd/radiance: add blockstore dumpshreds command 2022-09-10 14:30:49 +02:00
Richard Patel be154eae0f cmd: add IntRange parser util 2022-09-10 14:29:37 +02:00
Richard Patel 46f6563f6d cmd: merge to radiance command, add ledger subcommand 2022-09-10 14:29:37 +02:00
Richard Patel 2b138fbd4b cmd/gossip: merge to cobra command 2022-09-10 14:29:36 +02:00
Richard Patel cddcfc155d cmd: add initial gossip pull 2022-09-08 19:40:32 +02:00
Richard Patel 52f8bf1a1b gossip: rename Client => Driver 2022-09-08 18:57:07 +02:00
Richard Patel 27a52d3407 gossip: refactor into network-agnostic state machine
- Adds network-agnostic gossip message RX multiplexer
- Adds PingServer and PingClient with blocking-style API
- simplify cmd/gossip/ping
2022-09-08 13:37:59 +02:00
Richard Patel b7be6db636 gossip: add all data types 2022-09-07 08:14:26 +02:00
Richard Patel 90498bde79 gossip: add ping tool
- Adds serde-generate based code generation for messages
- Adds gossip ping command-line tool

Closes https://github.com/certusone/radiance/issues/14
2022-09-06 03:07:42 +02:00
Leopold Schabel 7e8eaac300 cmd/tools/sigverify: add 2022-06-24 21:20:43 +02:00
Leopold Schabel 704599314a cmd/rpc/txd: ping confirmation tracking 2022-06-24 13:08:57 +02:00
Leopold Schabel ba621b953e cmd/rpc/txd: fix rpc.Client leaks 2022-06-23 22:18:36 +02:00
Leopold Schabel 83247fe5af cmd/rpc/txd: refactor pinger 2022-06-23 17:40:01 +02:00
Leopold Schabel bfa0b39854 cmd/rpc/txd: implement pinger 2022-06-23 17:17:20 +02:00
Leopold Schabel dccb8adf29 cmd/rpc/txd: blockhash tracking 2022-06-23 15:43:29 +02:00
Leopold Schabel a4ff232b04 cmd/rpc/txd: leader tracking 2022-06-23 10:02:48 +02:00
Leopold Schabel 8cab82248f cmd/rpc/txd: implement highest slot tracker stub 2022-06-22 22:39:30 +02:00
Leopold Schabel 5ccaffd284 pkg/envfile: node filtering helpers 2022-06-22 22:04:06 +02:00
Leopold Schabel 916fb404f6 cmd/quictpu/ping: -c and -i 2022-06-19 14:03:42 +02:00
Leopold Schabel 7a9df45b5e cmd/quictpu/ping: minTimeout 2022-06-19 13:34:41 +02:00
Leopold Schabel 1166f21f16 cmd/quictpu/ping: improve flags 2022-06-19 13:30:00 +02:00
Leopold Schabel cbcc45d763 cmd/quictpu/ping: disable buffer size warning 2022-06-19 13:25:05 +02:00
Leopold Schabel 074258b45c cmd/quictpu/ping: logging verbosity 2022-06-19 13:18:07 +02:00
Leopold Schabel 6787f534c7 cmd/quictpu/ping: add -count and -delay 2022-06-19 13:14:16 +02:00
Leopold Schabel 74ef2c4801 cmd/quictpu/ping: EnableDatagrams isn't needed 2022-06-19 12:28:19 +02:00
Leopold Schabel 05c114105c cmd/quictpu/ping: fix debug mode 2022-06-17 13:08:45 +02:00
Leopold Schabel c327b1a4f6 cmd/quictpu/ping: add quic tpu ping utility 2022-06-17 13:03:03 +02:00
Leopold Schabel c795f21c20 cmd/rpc/slots: add kafka publishing 2022-06-16 02:13:17 +02:00
Leopold Schabel 08c41f8446 proto: use buf-compliant paths 2022-06-15 23:47:26 +02:00
Leopold Schabel 989ee15a55 cmd/rpc/slots: apply -type to printing only 2022-06-15 23:47:24 +02:00
Leopold Schabel 8356f43d60 Move leader schedule tracker to pkg/leaderschedule 2022-06-15 23:47:22 +02:00
Leopold Schabel 8f46262bab cmd/rpc/slots: add leader tracking 2022-06-15 23:47:20 +02:00
Leopold Schabel e38b36ebbf cmd/rpc/slots: SlotsUpdatesResult timestamp resolution and stats
Depends on upstream fixes to solana-go.
2022-06-15 14:50:40 +02:00