Documentation ¶ Index ¶ func Init(snapshotWriter io.WriteSeeker, opts InitOpts) ([]byte, error) type DataRecord type GenesisAddressAndBalances func LoadFactomAddressesAndBalances(file io.Reader) ([]*GenesisAddressAndBalances, error) type InitOpts Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ func Init(snapshotWriter io.WriteSeeker, opts InitOpts) ([]byte, error) Types ¶ type DataRecord ¶ type DataRecord struct { Account *url.URL Entry protocol.DataEntry } type GenesisAddressAndBalances ¶ type GenesisAddressAndBalances struct { Address *url.URL Balance int64 } func LoadFactomAddressesAndBalances ¶ func LoadFactomAddressesAndBalances(file io.Reader) ([]*GenesisAddressAndBalances, error) type InitOpts ¶ type InitOpts struct { PartitionId string NetworkType protocol.PartitionType GenesisTime time.Time Logger log.Logger FactomAddresses func() (io.Reader, error) Snapshots []func() (ioutil2.SectionReader, error) GenesisGlobals *core.GlobalValues OperatorKeys [][]byte IncludeHistoryFromSnapshots bool } Source Files ¶ View all Source files bootstrap.go factom.go Click to show internal directories. Click to hide internal directories.