bitcoin-kmp
0.11.1
common
bitcoin-kmp
/
fr.acinq.bitcoin
/
MerkleTree
Merkle
Tree
common
object
MerkleTree
Content copied to clipboard
see https://en.bitcoin.it/wiki/Protocol_specification#Merkle_Trees
Functions
Functions
compute
Root
Link copied to clipboard
common
@
JvmStatic
tailrec
fun
computeRoot
(
tree
:
List
<
ByteVector32
>
)
:
ByteVector32
Content copied to clipboard