forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The deserialization of bitcoin transactions in wire/ is rather annoying in that we first allocate a new bitcoin_tx, then copy it's contents onto the destination and then still carry the newly allocated one around due to the tal-tree. This splits `pull_bitcoin_tx` into two: one part that does the allocation and another one that proceeds to parse. Signed-off-by: Christian Decker <[email protected]>
- Loading branch information
Showing
2 changed files
with
23 additions
and
3 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