Page MenuHomePhabricator

Nits cleanup in CMerkleBlock definition
ClosedPublic

Authored by jasonbcox on Jun 9 2018, 00:17.

Details

Summary

see title

Test Plan

make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

schancel added inline comments.
src/merkleblock.h
164 ↗(On Diff #4095)

Can you make this an intelligible english sentence while we're at it? :)

This revision is now accepted and ready to land.Jun 12 2018, 09:52
src/merkleblock.h
164 ↗(On Diff #4095)

And a doc comment :)

Fixed comment according to feedback

src/merkleblock.h
143 ↗(On Diff #4117)

Maybe:

/**
 * CMerkleBlock is used to relay block headers plus a list of merkle proofs for a given set of transactions.  It is typically used with SPV nodes.
 */
164 ↗(On Diff #4117)
Initialize a CMerkleBlock from a given block, and construct merkle proofs for the provided set of transaction ids.

Added more comments because the surrounding comments are confusing

This revision was automatically updated to reflect the committed changes.