buck
buck
probably don't want to update the RPC for anything that's already in core so for RPC support, probably a new command. `listtransactionhistory`?
What's the reasoning for no longer returning promises?
MTX I think is pretty much done and I've started to write out the `sweep` method for the wallet but still have to finish it up plus testing. @nodar-chkuaselidze and...
Script to test it out (pretty rough but it gets the job done š): https://gist.github.com/bucko13/988f056c94422b911978928f85cd1d18
@nodar-chkuaselidze thanks for your comments! made updates. @BluSyn Let me know what you think :)
Added some extra logging as per @BluSyn 's review
@BluSyn Is sweeping entire wallet a desired default condition? A concern I had is that if you did that by accident thereās no real going back, but just doing default...
Added rpc support w/ tests and also cleaned up + clarified account option.
> Would it be useful to output a serialized transaction from this RPC command with the transaction without being signed, to inspect inputs and outputs, and then sign and broadcast...
I'm not sure this necessarily has to play a role, but thought it was at least worth raising and having for the record this recent discussion from the ledger team...