[T4] Rename all shiftsize / cuckoo_size to edge_bits and change value for T4 (#1752)

* replace all size_shift / cuckoo_size by edge_bits and change some constants for T4
* replace remaining occurrences of sizeshift
This commit is contained in:
John Tromp
2018-10-16 01:14:23 +02:00
committed by Ignotus Peverell
parent a41022f1e3
commit 34646ddf51
22 changed files with 136 additions and 137 deletions
+3 -3
View File
@@ -78,7 +78,7 @@ Optionally return results as "compact blocks" by passing `?compact` query.
| - range_proof_root | string | Merklish root of all range proofs in the TxHashSet |
| - kernel_root | string | Merklish root of all transaction kernels in the TxHashSet |
| - nonce | number | Nonce increment used to mine this block |
| - cuckoo_size | number | Size of the cuckoo graph |
| - edge_bits | number | Size of the cuckoo graph (2_log of number of edges) |
| - cuckoo_solution | []number | The Cuckoo solution for this block |
| - total_difficulty | number | Total accumulated difficulty since genesis block |
| - total_kernel_offset | string | Total kernel offset since genesis block |
@@ -163,7 +163,7 @@ Returns data about a block headers given either a hash or height or an output co
| - range_proof_root | string | Merklish root of all range proofs in the TxHashSet |
| - kernel_root | string | Merklish root of all transaction kernels in the TxHashSet |
| - nonce | number | Nonce increment used to mine this block |
| - cuckoo_size | number | Size of the cuckoo graph |
| - edge_bits | number | Size of the cuckoo graph (2_log of number of edges) |
| - cuckoo_solution | []number | The Cuckoo solution for this block |
| - total_difficulty | number | Total accumulated difficulty since genesis block |
| - total_kernel_offset | string | Total kernel offset since genesis block |
@@ -1146,4 +1146,4 @@ Retrieves information about a specific peer.
console.log(r);
}
});
```
```