Properly factor the sources into the right locations.
API - pieces that are public and shared with SPI instances as they may often product / consume them
SPI - pieces that are tucked away from public view/usage but used by module implementations
Implementations - implementations that consume the SPI and implement the actual algorithms
Right now we only just recently got an 'API' item, the VersionPrefix for Electrum V2 and the ElectrumV2ExtensionIdentifier for the purpose of pushing it in.
The SPI is mostly a mess of implementation with a few pieces here & there that relate to a common SPI. No public interface for users should expose the SPI, these should only be used internally.
Properly factor the sources into the right locations.
Right now we only just recently got an 'API' item, the VersionPrefix for Electrum V2 and the ElectrumV2ExtensionIdentifier for the purpose of pushing it in.
The SPI is mostly a mess of implementation with a few pieces here & there that relate to a common SPI. No public interface for users should expose the SPI, these should only be used internally.