genesis

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2022 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HASH           = "a8212d5a65f579c2018b19172be34e4422a93c8437f8e7c19ddc8cad15353862"
	PREVIOUS_HASH  = "b6615809ca3ff24562ce2724ef010e369a976cb9068570074f88919eaddcd08f"
	VERSION        = 1
	SCHEMA_VERSION = 1
	HEIGHT         = 1
	MINER          = "0x028d3af888e08aa8380e5866b6ed068bd60e7b19"
	DIFFICULTY     = "296401962029366"
	TIMESTAMP      = 0
	MERKLE_ROOT    = "b277537249649f9e7e56d549805ccfdec56fddd6153c6bf4ded85c3e072ccbdf"
	CHAIN_ROOT     = "b4816d65eabac8f1a143805ffc6f4ca148c4548e020de3db21207a4849ea9abe"
	DISTANCE       = "15698005660040"
	TOTAL_DISTANCE = "15698005660040"
	NONCE          = "bf03cdfbc60f2d075a3dadf27e5a372b64cbaea4c20923048dfd8c431408c332"
	NRG_GRANT      = 200000000
	TWN            = 0 // Overline

	EMBLEM_WEIGHT                 = 6757
	EMBLEM_CHAIN_FINGERPRINT_ROOT = "87b2bc3f12e3ded808c6d4b9b528381fa2a7e95ff2368ba93191a9495daa7f50"
	EMBLEM_CHAIN_ADDRESS          = "0x28b94f58b11ac945341329dbf2e5ef7f8bd44225"

	TX_COUNT              = 0
	TX_FEE_BASE           = 0
	TX_DISTANCE_SUM_LIMIT = 0

	CHILD_BLOCKCHAIN_COUNT = 5 // not used in genesis module now

	BLOCKCHAIN_FINGERPRINTS_ROOT = "d65ffda8a561b53c09377ef7d3ee9ebbf18a618c603faf2631c1bbb7d66a03ac"
	AT_BALANCE_DIGEST            = "" /* 128-byte string literal not displayed */
)

originally from, comments preserved (whatever they mean): https://github.com/trick77/bc-src/blob/494467594ff6456012029d3be11a80de24602b84/lib/bc/genesis.raw.js

Variables

This section is empty.

Functions

func BuildGenesisBlock added in v0.0.4

func BuildGenesisBlock(workDir string) (*p2p_pb.BcBlock, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL