src/blockchain/merkle.js
function calcHeight (count) {
  let i = 0
  while (bigInt(2).pow(i).lt(count)) {
    i++
  }
  return i
}
function calcHeight (count) {
  let i = 0
  while (bigInt(2).pow(i).lt(count)) {
    i++
  }
  return i
}
function calcHeight ( count ) { let i = 0 while ( bigInt ( 2 ) . pow ( i ) . lt ( count ) ) { i ++ } return i }
Calculate height of merkle tree
@param {bigInt} count
@return {number}
Calculate height of merkle tree