diff options
| author | soroosh-sdi <[email protected]> | 2019-09-13 18:45:26 +0430 |
|---|---|---|
| committer | soroosh-sdi <[email protected]> | 2019-09-16 23:36:43 +0430 |
| commit | 8573429d46f1e014663695e95109c10dfe4d54c9 (patch) | |
| tree | a2af70c15d8c51571d7dd722012253d05cd00c75 /src/httpserver.cpp | |
| parent | Merge #16285: rpc: Improve scantxoutset response and help message (diff) | |
| download | discoin-8573429d46f1e014663695e95109c10dfe4d54c9.tar.xz discoin-8573429d46f1e014663695e95109c10dfe4d54c9.zip | |
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 <[email protected]>
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions