Richard Patel
6f2b12fd00
cmd: add blockstore tar-blocks command
2024-02-11 18:07:39 +00:00
smcio
068ff9301d
sealevel: modify memcmp syscall
2023-07-05 21:06:41 +01:00
smcio
4dbcc11d68
sealevel: add memcmp syscall & tests
2023-07-04 23:19:03 +01:00
smcio
1620df2dc9
Expose vm.Translate to allow for less data copying
2023-07-04 23:14:58 +01:00
smcio
d7a6ac2b7f
sealevel: adds memcpy and memmove syscalls & tests
2023-07-04 15:35:01 +01:00
Richard Patel
f4de38e3fe
gossip: update pong hash calc
2023-06-29 00:13:48 +00:00
Richard Patel
da4fb0fbb0
fflags: allow duplicate registers
2023-06-27 20:11:57 +02:00
smcio
becec44c5c
Add safemath pkg for checked and saturated math
2023-06-27 13:15:00 +00:00
Richard Patel
479b7393cf
add fflags package
2023-06-26 15:16:20 +00:00
Richard Patel
cee922dd4f
add solana types package
2023-06-26 10:03:32 +00:00
Richard Patel
85ff933995
base58: add Decode32
2023-06-26 09:51:31 +00:00
Richard Patel
dd4f5d4d6c
base58: add Encode32
2023-06-26 09:51:01 +00:00
gagliardetto
4ea37f30ab
compactindex: Fix build tags
2023-06-12 22:52:03 +02:00
Richard Patel
903436132a
Remove BigTable support
2023-06-10 12:58:30 -05:00
Richard Patel
f5c050b8c3
radiance: add compact command
2023-06-10 16:05:06 +00:00
Richard Patel
ddf48545d2
remove ipld, car packages
...
The Solana IPLD project has moved to
https://github.com/rpcpool/yellowstone-faithful
2023-06-10 15:51:46 +00:00
Richard Patel
f6898890a5
compactindex: improve hash function
2023-05-29 22:48:42 +00:00
Richard Patel
843c6db0b1
unify tools into monobinary
2023-04-10 13:08:45 +02:00
Richard Patel
6ad68d9a28
minor fixes
2023-04-10 12:44:11 +02:00
Richard Patel
382e723242
Remove Kafka, Clickhouse-related tools
...
To be readded when we find a maintainer.
#frühjahrsputz
2023-04-10 11:24:25 +02:00
Richard Patel
8f27f10358
ipld: improve schema
...
- use generic multicodec IDs
- serialize IPLD wire representations, not user schemas
2023-03-09 04:15:09 +00:00
Richard Patel
144f13b465
build with Cgo by default
2023-03-05 18:04:37 +00:00
Richard Patel
34c3a854a3
rename sbf to sbpf
2023-03-05 17:44:09 +00:00
Richard Patel
713c1e5a81
treewide: remove bazel
...
Change-Id: Ia45fc0d797dbec1ebcb199b6711dcb66ac10ff3a
2023-03-04 10:35:05 -06:00
Richard Patel
f0af73b0d2
blockstore: add additional column family strings
...
Change-Id: I1de0882d972b4bb841200cb9c665fc7520eec362
2023-01-24 21:32:14 +00:00
Richard Patel
ec8deb7ac2
blockstore: use new shred API
...
Change-Id: I4dcdfe94e3d72342698828880656161ab12d60c8
2023-01-24 13:53:19 +00:00
Richard Patel
c0624197da
compactindex: fix build
...
Change-Id: I750442c09470a2be9e7cd56efc8670399c8dd352
Reviewed-on: https://git.firedancer.io/c/radiance/+/315
2022-12-17 04:31:58 +00:00
Richard Patel
ca3cc0c4e5
shred: simplify API, add Merkle support
...
Change-Id: I950f86070fa119b2edaa5867e2b36e8b4ad6ff9b
Reviewed-on: https://git.firedancer.io/c/radiance/+/312
2022-12-17 04:26:59 +00:00
Richard Patel
a5fada037d
compactindex: add binary search query strategy
2022-11-13 23:03:43 +01:00
Richard Patel
dd5fa9a000
compactindex: simplify header, fix queries
2022-11-13 22:37:58 +01:00
Richard Patel
67404488a1
compactindex: document file format in README.md
2022-11-13 20:38:18 +01:00
Richard Patel
fa4ccad82d
compactindex: add README.md
2022-11-12 23:06:09 +00:00
Richard Patel
2352e044ee
compactindex: add test
2022-11-12 23:06:09 +00:00
Richard Patel
33c8826b8c
compactindex: add index builder
2022-11-12 23:06:09 +00:00
Richard Patel
d3910780d5
compactindex: add initial format and query
...
- Adds compactindex file format
- Adds memory binary search query strategy
2022-11-12 23:06:09 +00:00
Richard Patel
928fefea9d
ipld: simplify entry type
2022-10-31 11:36:15 +01:00
Richard Patel
180578ea85
car: add sanity checks to tests
2022-10-31 11:35:43 +01:00
Richard Patel
2742cd8867
fix Go tests
...
- merkletree: fix broken test case
- fixtures: fix compatibility with Bazel
2022-10-30 08:19:30 +01:00
Richard Patel
4ddc64e2c0
bazel: add Go rules
2022-10-30 08:17:36 +01:00
Richard Patel
bcf9eb553b
genesis: fix test
2022-10-29 20:18:46 +02:00
Richard Patel
582a566dc5
blockstore: don't depend on exp/constraints
...
Gazelle hates exp/constraints for some inexplicable reason.
> build aborted: no such package '@org_golang_x_exp//constraints': BUILD file not found in directory 'constraints' of external repository @org_golang_x_exp.
2022-10-29 20:18:46 +02:00
Richard Patel
fb579ba6fb
cargen: add unit test
...
- Adds unit test running cargen over a fake blockstore.
- Covers the CAR splitting code path.
- Ensures resulting CARs decode and contain expected CIDs.
2022-10-29 14:35:09 +02:00
Richard Patel
56a7065d79
ipldgen: fix shredding serialization
...
Fixes regression in d4c1dfe1
2022-10-29 14:30:12 +02:00
Richard Patel
a6f33dd77d
cargen: bug fixes
...
- Fix last CAR not being flushed
- Fix wrong epoch number in file name
- Print error message in edge case where block exceeds CAR length (splitting fails)
2022-10-29 14:24:57 +02:00
Richard Patel
2f5954278c
blockstore: simplify BlockWalkI.Entries()
...
Shredding is already implied by SlotMeta,
thus no need to return shreds and entries in the iterator.
2022-10-29 13:50:25 +02:00
Richard Patel
776c1e88f1
sort Go imports
2022-10-29 13:30:26 +02:00
Richard Patel
b8c9810620
cargen: default to 32GB sectors, make it configurable
2022-10-29 13:29:19 +02:00
Richard Patel
aafccecfcc
car: add parsing unit test
2022-10-29 13:22:03 +02:00
Richard Patel
1f38306312
car: fix leb128 length estimation
2022-10-29 12:18:26 +02:00
Richard Patel
d4c1dfe18c
ipld: optimize entry schema
...
- use tuple CBOR representation
- use efficient entry/shred mapping
- remove RadianceLedger placeholder multicodec type
2022-10-28 20:51:11 +00:00