Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove Details field from GetTransactionResult
This simplifies the GetTransactionResult type in wallettypes.go. Several fields from the bitcoind/btcwallet response that are both unneeded and difficult to satisfy are now omitted. e.g. the native btcwallet and an external Electrum backend would have to jump through hoops to reproduce certain fields that are not strictly necessary. Namely, the Amount, Fee, and Details fields. All of the required data can be obtained by decoding the raw transaction contined in the Hex field.
- Loading branch information
Showing
4 changed files
with
98 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters