Simon
805344dcf4
Refactor: replace calls to GetTxid() with GetHash()
8 years ago
Simon
10d2c57c0d
Replace calls to GetHash() with GetTxid() for transaction objects.
Where the caller intends to receive a transaction id and not a double
SHA256 hash.
8 years ago
Veres Lajos
45bfa137ef
PARTIAL: typofixes (found by misspell_fixer)
Upstream: 9f68ed6b6d1a9c6436ce37913666165f2b180ee3 (PR #6539 )
9 years ago
Corinne Dashjr
7e6d23b171
Bugfix: Grammar fixes
9 years ago
Matt Corallo
30da90de8d
Add CMerkleBlock constructor for tx set + block and an empty one
10 years ago
jtimon
691161d419
Consensus: Create consensus/consensus.h with some constants
9 years ago
Wladimir J. van der Laan
4f1524966a
Replace direct use of 0 with SetNull and IsNull
Replace x=0 with .SetNull(),
x==0 with IsNull(), x!=0 with !IsNull().
Replace uses of uint256(0) with uint256().
10 years ago
sandakersmann
f914f1a746
Added "Core" to copyright headers
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
10 years ago
Pieter Wuille
012598880c
Implement test for merkle tree malleability in CPartialMerkleTree
This is a check that is mentioned in BIP 37, but never implemented in the
reference code. As Bitcoin Core so far never decodes partial merkle trees,
this is not a problem. But perhaps others use the code as a reference.
10 years ago
Matt Corallo
afd4b94b6d
Move CMerkleBlock and CPartialMerkleTree to their own file
10 years ago