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
Richard Patel
b1052fb69a
genesis: support genesis.bin
...
Adds handwritten serde for mainnet genesis config.
(Binary doesn't properly support bincode-fixedint-le)
2022-09-17 16:47:47 +02:00
Richard Patel
fd64bc1d6a
runtime: add core ledger data structures
...
Adds structs that appear in the GenesisConfig object
Adds handwritten serde for runtime structs because
binary doesn't properly support bincode-fixedint-le
2022-09-17 16:46:26 +02:00
Richard Patel
07c1b166a4
fixtures: add Open() function
...
Adds a method for streaming fixture files
2022-09-17 16:43:19 +02:00
Richard Patel
452d388b5c
archiveutil: add OpenTar() for `.tar`, `.tar.gz`, `.tar.bz2`
...
Adds utility function that reads tar streams
with optional compression handling.
2022-09-17 16:39:47 +02:00
Richard Patel
c78470ade9
fixtures: add mainnet genesis
2022-09-17 16:27:42 +02:00
Leo
e7ea00c4dc
Be a little more explicit about lack of warranties
2022-09-15 20:30:36 +02:00
Leo
6e85173a43
Make README radiant again
2022-09-15 20:25:20 +02:00
Pires
684184f1ee
gitignore: add missing newline to EOF
2022-09-15 09:45:53 -05:00
Pires
ffd44286a8
pkg/util: Schroeder wants testify/assert
...
This will come in handy for sure very soon
2022-09-15 09:45:53 -05: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
c023c423b5
fixtures: add shreds for slot 102815960
2022-09-12 14:04:29 +02: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
860db15ff7
build(deps): bump k8s.io/klog/v2 from 2.60.1 to 2.80.1
2022-09-10 15:07:49 +02:00
Richard Patel
a2fa83c01b
fixtures: add shreds from slots 0 and 1
2022-09-10 14:31:24 +02:00
Richard Patel
02237cd4c5
cmd/radiance: add blockstore dumpshreds command
2022-09-10 14:30:49 +02:00
Richard Patel
62357507ff
blockstore: add shreds, slot meta client
2022-09-10 14:30:49 +02:00
Richard Patel
816ab66d28
blockstore: add package, add RocksDB client
2022-09-10 14:30:49 +02:00
Richard Patel
3172d5b4af
shred: initial shred package, handle data shreds
2022-09-10 14:29:37 +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
Leopold Schabel
99884a2d4f
queries: add a bunch
2022-09-09 15:34:02 +02:00
Richard Patel
cddcfc155d
cmd: add initial gossip pull
2022-09-08 19:40:32 +02:00
Richard Patel
b4c108cc5c
gossip: add CrdsFilter
2022-09-08 18:58:15 +02:00
Richard Patel
6bad7ba959
gossip: add Crds Pubkey accessor
2022-09-08 18:57:57 +02:00
Richard Patel
9a94d4e982
gossip: add interim Transaction deserializer
2022-09-08 18:57:34 +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
5a9f2ba9ab
gossip: add message fixtures from turbine-go
...
https://github.com/terorie/turbine-go
2022-09-08 11:30:48 +02:00
Richard Patel
ef899f77f0
gossip: move BitVec to bitvec.go
2022-09-08 11:19:40 +02:00
Richard Patel
5c2c172dcc
gossip: use netip.AddrPort
2022-09-08 11:19:15 +02:00
Richard Patel
7b0291dd85
gossip: improve schema
2022-09-08 10:42:11 +02:00
Richard Patel
275d51581c
gossip: port more bloom tests
2022-09-08 10:30:54 +02:00
Richard Patel
7438e31fef
sealevel: fix tests
2022-09-08 10:06:49 +02:00
Richard Patel
1e5e1b9f78
gossip: add bloom filter
2022-09-08 10:06:42 +02:00