Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blockchain: Add BuildMerkleTreeStore alternative for MsgTx #1268

Merged
merged 1 commit into from Jun 7, 2018

Conversation

jrick
Copy link
Member

@jrick jrick commented Jun 7, 2018

A new function, BuildMsgTxMerkleTreeStore, is added. It performs the
same operation as BuildMerkleTreeStore but uses a slice of wire.MsgTx
transactions as input rather than a slice of dcrutil.Tx wrapper types.

To avoid some code duplication, the construction of the merkle tree is
abstracted out to a helper function.

A new function, BuildMsgTxMerkleTreeStore, is added.  It performs the
same operation as BuildMerkleTreeStore but uses a slice of wire.MsgTx
transactions as input rather than a slice of dcrutil.Tx wrapper types.

To avoid some code duplication, the construction of the merkle tree is
abstracted out to a helper function.
@davecgh davecgh added this to the 1.3.0 milestone Jun 7, 2018
@davecgh davecgh merged commit 386527c into decred:master Jun 7, 2018
@jrick jrick deleted the merklemsgtx branch June 7, 2018 17:13
JFixby pushed a commit to JFixby/dcrd that referenced this pull request Oct 21, 2018
…le-interval

peer: Enforce default trickle interval
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants