Versions in this module Expand all Collapse all v0 v0.0.1 Feb 21, 2023 Changes in this version + func New() *vm.VM + type BalanceArgs struct + Address string + type BalanceReply struct + Exists bool + Locked uint64 + Unlocked uint64 + type ContentArgs struct + Content ids.ID + type ContentReply struct + Royalty uint64 + Searcher string + type Controller struct + func (*Controller) Rejected(context.Context, *chain.StatelessBlock) error + func (c *Controller) Accepted(ctx context.Context, blk *chain.StatelessBlock) error + func (c *Controller) Initialize(inner *vm.VM, snowCtx *snow.Context, gatherer ametrics.MultiGatherer, ...) (vm.Config, vm.Genesis, builder.Builder, gossiper.Gossiper, vm.KVDatabase, ...) + func (c *Controller) Rules(t int64) chain.Rules + type GenesisReply struct + Genesis *genesis.Genesis + type GetTxArgs struct + TxID ids.ID + type GetTxReply struct + Accepted bool + Success bool + Timestamp int64 + Units uint64 + type Handler struct + func (h *Handler) Balance(req *http.Request, args *BalanceArgs, reply *BalanceReply) error + func (h *Handler) Content(req *http.Request, args *ContentArgs, reply *ContentReply) error + func (h *Handler) Genesis(_ *http.Request, _ *struct{}, reply *GenesisReply) (err error) + func (h *Handler) GetTx(req *http.Request, args *GetTxArgs, reply *GetTxReply) error