mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
rename package to bzz
This commit is contained in:
parent
82c87c22c3
commit
5e907f8d0d
4 changed files with 4 additions and 4 deletions
|
|
@ -12,7 +12,7 @@ The block hash of a byte array is defined as follows:
|
||||||
blockhash = sha256(int64(size) + blockhash(slice0) + blockhash(slice1) + ...)
|
blockhash = sha256(int64(size) + blockhash(slice0) + blockhash(slice1) + ...)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package blockhash
|
package bzz
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// test bench for the package blockhash
|
// test bench for the package blockhash
|
||||||
|
|
||||||
package blockhash
|
package bzz
|
||||||
|
|
||||||
import (
|
import (
|
||||||
// "fmt"
|
// "fmt"
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
// disk storage layer for the package blockhash
|
// disk storage layer for the package blockhash
|
||||||
// inefficient work-in-progress version
|
// inefficient work-in-progress version
|
||||||
|
|
||||||
package blockhash
|
package bzz
|
||||||
|
|
||||||
import (
|
import (
|
||||||
// "crypto/sha256"
|
// "crypto/sha256"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// memory storage layer for the package blockhash
|
// memory storage layer for the package blockhash
|
||||||
|
|
||||||
package blockhash
|
package bzz
|
||||||
|
|
||||||
const MaxEntries = 500 // max number of stored (cached) blocks
|
const MaxEntries = 500 // max number of stored (cached) blocks
|
||||||
const MemTreeLW = 2 // log2(subtree count) of the subtrees
|
const MemTreeLW = 2 // log2(subtree count) of the subtrees
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue