0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-06 14:19:59 -05:00
bitcoin-core/src
soroosh-sdi 8573429d46 test: add some unit tests for merkle.cpp
following situations are covered:
- empty block
- one Tx
- Merkle root of a block with odd Txs should not change with repeating
last one
- Merkle root is computed with combining Merkle root of left subtree and right subtree
- block witness is Merkle root of a block when setting first Tx
to zero.

Signed-off-by: soroosh-sdi <soroosh.sardari@gmail.com>
2019-09-16 23:36:43 +04:30
..
bench
compat
config
consensus
crypto
index
interfaces Expose wallet creation to the GUI via WalletController 2019-09-05 20:36:57 -04:00
leveldb
node
policy
primitives
qt Merge #16735: gui: Remove unused menu items for Windows and Linux 2019-09-08 13:53:07 +02:00
rpc Merge #16285: rpc: Improve scantxoutset response and help message 2019-09-09 08:08:51 +02:00
script
secp256k1
support
test test: add some unit tests for merkle.cpp 2019-09-16 23:36:43 +04:30
univalue
util util: Make util/error bilingual_str (refactor) 2019-08-28 15:52:26 -04:00
wallet Merge #16798: Refactor rawtransaction_util's SignTransaction to separate prevtx parsing 2019-09-07 08:39:56 +08:00
zmq
.clang-format
addrdb.cpp
addrdb.h
addrman.cpp
addrman.h
amount.h
arith_uint256.cpp
arith_uint256.h
attributes.h
banman.cpp
banman.h
base58.cpp
base58.h
bech32.cpp Assert that the HRP is lowercase in Bech32::Encode 2019-09-05 13:25:11 +12:00
bech32.h Assert that the HRP is lowercase in Bech32::Encode 2019-09-05 13:25:11 +12:00
bitcoin-cli-res.rc
bitcoin-cli.cpp
bitcoin-tx-res.rc
bitcoin-tx.cpp
bitcoin-wallet-res.rc
bitcoin-wallet.cpp
bitcoind-res.rc
bitcoind.cpp
blockencodings.cpp
blockencodings.h
blockfilter.cpp
blockfilter.h
bloom.cpp
bloom.h
chain.cpp
chain.h
chainparams.cpp
chainparams.h
chainparamsbase.cpp
chainparamsbase.h
chainparamsseeds.h
checkqueue.h
clientversion.cpp
clientversion.h
coins.cpp
coins.h
compat.h
compressor.cpp
compressor.h
core_io.h
core_memusage.h
core_read.cpp
core_write.cpp
cuckoocache.h
dbwrapper.cpp
dbwrapper.h
dummywallet.cpp Expose wallet creation to the GUI via WalletController 2019-09-05 20:36:57 -04:00
flatfile.cpp
flatfile.h
fs.cpp
fs.h
hash.cpp
hash.h
httprpc.cpp
httprpc.h
httpserver.cpp
httpserver.h
indirectmap.h
init.cpp Merge #15759: p2p: Add 2 outbound block-relay-only connections 2019-09-07 17:45:03 +08:00
init.h
key.cpp
key.h
key_io.cpp
key_io.h
limitedmap.h
logging.cpp
logging.h
Makefile.am
Makefile.bench.include
Makefile.leveldb.include
Makefile.qt.include Add CreateWalletDialog to create wallets from the GUI 2019-09-05 20:36:57 -04:00
Makefile.qttest.include
Makefile.test.include
memusage.h
merkleblock.cpp
merkleblock.h
miner.cpp
miner.h
net.cpp Merge #15759: p2p: Add 2 outbound block-relay-only connections 2019-09-07 17:45:03 +08:00
net.h Merge #15759: p2p: Add 2 outbound block-relay-only connections 2019-09-07 17:45:03 +08:00
net_permissions.cpp
net_permissions.h
net_processing.cpp Merge #15759: p2p: Add 2 outbound block-relay-only connections 2019-09-07 17:45:03 +08:00
net_processing.h
netaddress.cpp
netaddress.h
netbase.cpp
netbase.h
netmessagemaker.h
noui.cpp
noui.h
optional.h
outputtype.cpp
outputtype.h
pow.cpp
pow.h
prevector.h
protocol.cpp
protocol.h
psbt.cpp
psbt.h
pubkey.cpp
pubkey.h
random.cpp
random.h
rest.cpp
reverse_iterator.h
reverselock.h
scheduler.cpp
scheduler.h
serialize.h
shutdown.cpp
shutdown.h
span.h
streams.h
sync.cpp
sync.h
threadinterrupt.cpp
threadinterrupt.h
threadsafety.h
timedata.cpp
timedata.h
tinyformat.h
torcontrol.cpp
torcontrol.h
txdb.cpp
txdb.h
txmempool.cpp
txmempool.h
ui_interface.cpp
ui_interface.h
uint256.cpp
uint256.h
undo.h
validation.cpp Merge #16421: Conservatively accept RBF bumps bumping one tx at the package limits 2019-09-07 10:15:43 +08:00
validation.h
validationinterface.cpp
validationinterface.h
version.h
versionbits.cpp
versionbits.h
versionbitsinfo.cpp
versionbitsinfo.h
walletinitinterface.h refactor: Cleanup walletinitinterface.h 2019-09-08 17:29:30 +03:00
warnings.cpp
warnings.h