The idea is to add the wallet file format to the list of our known formats. This PR will confirm that Wallet.to_dict generates a wallet that conforms to the spec. This way we'll at least have some assurance that the spec is up to date.
I sort of made a guess as to what directory wallet.json would be best to go into.
BTW I added this to Makefile to try to match the protoc stuff, but running make doesn't seem to generate all of the python files that are there. There ends up being files removed from the repository.
Coverage increased (+0.1%) to 71.734% when pulling b483dc2c573702e14363bafbfed0be5da8fa9f81 on orblivion:json-schema into 8cdcd770c0530fb854a470ac610f8865c8e12a1b on lbryio:master.
A replacement for the would-be protobuf pull request. Depends on this PR: https://github.com/lbryio/types/pull/48/files
The idea is to add the wallet file format to the list of our known formats. This PR will confirm that
Wallet.to_dict
generates a wallet that conforms to the spec. This way we'll at least have some assurance that the spec is up to date.I sort of made a guess as to what directory wallet.json would be best to go into.
BTW I added this to
Makefile
to try to match theprotoc
stuff, but runningmake
doesn't seem to generate all of the python files that are there. There ends up being files removed from the repository.