rpcpool / yellowstone-faithful

Project Yellowstone Old Faithful is the project to make all of Solana's history accessible, content addressable and available via a variety of means.
https://old-faithful.net/
GNU Affero General Public License v3.0
72 stars 16 forks source link

Radiance support for patching metadata #151

Open linuskendall opened 1 month ago

linuskendall commented 1 month ago

Add support for radiance to fetch metadata from RPC if metadata is missing. If it cannot be fetched from RPC, then crash with failure.

Once the metadata is fetched from RPC, save it to a JSON log file that can be used later on to reproduce the same CAR file.

The JSON log file should also be possible to load from startup of a Radiance cargen command.

We'll probably need both a transaction metadata JSON and a block metadata json if both are missing.

Add logic to also search the other rocksdb file for other metadata.

linuskendall commented 1 month ago

Ref #144 and #129.