Documentation ¶
Overview ¶
You can use the "packr clean" command to clean up this, and any other packr generated files.
Index ¶
Constants ¶
View Source
const ( MsgTypeNodeStatus byte = iota MsgTypeTPSMetric MsgTypeTipSelMetric MsgTypeTx MsgTypeMs MsgTypeNeighborMetric )
Variables ¶
View Source
var ErrForbidden = errors.New("forbidden")
View Source
var ErrInternalError = errors.New("internal error")
View Source
var ErrInvalidParameter = errors.New("invalid parameter")
View Source
var ErrNotFound = errors.New("not found")
View Source
var (
PLUGIN = node.NewPlugin("SPA", node.Enabled, configure, run)
)
Functions ¶
This section is empty.
Types ¶
type ExplorerAdress ¶
type ExplorerAdress struct { Balance uint64 `json:"balance"` Txs []*ExplorerTx `json:"txs"` Spent bool `json:"spent"` }
type ExplorerTx ¶
type ExplorerTx struct { Hash Hash `json:"hash"` SignatureMessageFragment Trytes `json:"signature_message_fragment"` Address Hash `json:"address"` Value int64 `json:"value"` ObsoleteTag Trytes `json:"obsolete_tag"` Timestamp uint64 `json:"timestamp"` CurrentIndex uint64 `json:"current_index"` LastIndex uint64 `json:"last_index"` Bundle Hash `json:"bundle"` Trunk Hash `json:"trunk"` Branch Hash `json:"branch"` Tag Trytes `json:"tag"` Nonce Trytes `json:"nonce"` AttachmentTimestamp int64 `json:"attachment_timestamp"` AttachmentTimestampLowerBound int64 `json:"attachment_timestamp_lower_bound"` AttachmentTimestampUpperBound int64 `json:"attachment_timestamp_upper_bound"` Confirmed struct { State bool `json:"state"` Milestone milestone_index.MilestoneIndex `json:"milestone_index"` } `json:"confirmed"` Solid bool `json:"solid"` MWM int `json:"mwm"` Previous Hash `json:"previous"` Next Hash `json:"next"` BundleComplete bool `json:"bundle_complete"` IsMilestone bool `json:"is_milestone"` MilestoneIndex milestone_index.MilestoneIndex `json:"milestone_index"` }
type SearchResult ¶
type SearchResult struct { Tx *ExplorerTx `json:"tx"` Address *ExplorerAdress `json:"address"` Bundles [][]*ExplorerTx `json:"bundles"` Milestone *ExplorerTx `json:"milestone"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.