bitcoindevkit / bdk-cli

A CLI wallet library and REPL tool to demo and test the BDK library
Other
111 stars 65 forks source link

Merge bitcoindevkit/bdk-cli#99: The Great Reset #107

Closed waterst0ne closed 2 years ago

waterst0ne commented 2 years ago

292dd1e6bdc3c5d061d90028934026d4c60aaf24 Fix repl mode command parsing (Steve Myers) 073f1c339be3057bb1d88ef1e925d5fd09611c98 Update with review comments (rajarshimaitra) 4e8f8303df6a4b80be50cc15c9297f2e411bf672 revert author list change (rajarshimaitra) b09c405327ce8d004d6c96116422322662528829 Remove base64 dependency (rajarshimaitra) 1e70ff911cfde7677b377c21b3c787eb73b4531e Refactor everything (rajarshimaitra)

Pull request description:

Description

This is a massive refactoring PR that changes the whole structure of the crate. Previously it was written like a library to be used to create the bdk-cli app. But eventually the crate itself became the app. This PR attempts to remove the remaining lib like patterns in the code, and make it a pure binary crate.

This makes the code more modular and makes it look like a typical binary rust crate.

There was no real good way to structure the change into separate commits, so I made one single big one.. The best way to review is to look at the final structure of the code itself, not the change set.

The crate has following modules now

ACKs for top commit: notmandatory: ACK 292dd1e6bdc3c5d061d90028934026d4c60aaf24

Tree-SHA512: 895d8088bf93a481fd776e2ac5fe85926f13b7b4535f17b9edd3c0363a89dc3689e28c6e13dbcac3970bc00e3ff206f402e94406f3b3688c9e4a7f9d31b20e40

Description

Notes to the reviewers

Checklists

All Submissions:

New Features:

Bugfixes: