Open onejoelman opened 2 years ago
For what you need this feature?
maintaining an offline network
What is an offline network?
a bunch of computers that aren't connected to the internet, but connected within themselves (intra-net)
Sounds to me like a very niche use case.
still, it's already partially implemented
Polkadot binary offers a feature of exporting blocks in binary and json formats, as well as importing them afterwards. Please port this feature to the official RPC (preferably both JSON-RPC and WS) api, enabling remote block submitting (like bitcoin has)
Right now, I'm using a patch, running a bash command via ssh to do the following:
polkadot export-blocks --from ${from} --to ${to} --binary /temp/file
)This seems to me a bit of a hack, and I'd be very happy if you could look into this feature.
Many thanks! Joel