Documentation ¶
Index ¶
Constants ¶
View Source
const PATH = "./iotdata/IoT_normal_fridge_1.log"
View Source
const WALLET_PATH = "./bc_sim.wallet"
Variables ¶
This section is empty.
Functions ¶
func CreateBlock ¶
func CreateBlock() bool
func LoadRawdata ¶
func LoadRawdataFromRandom ¶
func LoadRawdataFromRandom(msg chan string)
Types ¶
type Handler ¶
type Handler struct { Ready bool Nodes *map[string]dtype.NodeInfo // contains filtered or unexported fields }
func (*Handler) SimulateAccessPattern ¶
func (*Handler) SimulateTransaction ¶
func (h *Handler) SimulateTransaction(id int) *blockchain.Transaction
Click to show internal directories.
Click to hide internal directories.