In working on #149, I found that the only dependency on bitcoin, and p2p for that matter, is for Magic from Network. I think we should consider removing bitcoin entirely. My guess is any application that gets the initial magic wrong will be in early development or have a very critical bug related to their storage of what Network they are on. The loss of the serde module is acceptable with the current state of p2p.
Process to complete this would be something like:
In working on #149, I found that the only dependency on
bitcoin, andp2pfor that matter, is forMagicfromNetwork. I think we should consider removingbitcoinentirely. My guess is any application that gets the initial magic wrong will be in early development or have a very critical bug related to their storage of whatNetworkthey are on. The loss of theserdemodule is acceptable with the current state ofp2p.Process to complete this would be something like:
randdependency #151secp256k1tohashes 0.16.0Updatehashesto0.16.0rust-secp256k1#8320.1.0ofp2pserdemodule forp2p