Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetServerChain ¶
func SetServerChain(c *Chain)
SetServerChain sets the server chain object to package variable serverChain.
Types ¶
type Chain ¶
type Chain struct { ID string Version string CreationDate time.Timestamp OwnerID string // this is not a wallet ID owner BlockWorker string SignatureScheme string }
Chain represents data structure that holds the chain data.
func GetServerChain ¶
func GetServerChain() *Chain
GetServerChain returns the chain object for the server chain.
Click to show internal directories.
Click to hide internal directories.