rust-cardano-ouroboros-network icon indicating copy to clipboard operation
rust-cardano-ouroboros-network copied to clipboard

[FEAT] Move hardcoded configuration outside of network library

Open AndrewWestberg opened this issue 4 years ago • 2 comments

Some configuration when connecting to a network is currently hardcoded. An example of this is the last byron block where we start syncing from. Today, to add a new network to be supported by rust-cardano-ouroboros-network, we have to manually add it to the codebase.

Instead, allow this list of intersect blocks to be passed into the library as initial configuration or set it up as a callback to retrieve this list.

AndrewWestberg avatar Feb 16 '21 16:02 AndrewWestberg