Discover Packages
github.com/memocash/index
client
lib
graph
package
Version:
v0.2.0-alpha.0
Opens a new window with list of versions in this module.
Published: Feb 23, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Address struct {
Txs []Tx `json:"txs"`
}
type Block struct {
Hash string `json:"hash"`
Height int64 `json:"height"`
Timestamp time .Time `json:"timestamp"`
}
type Input struct {
Tx Tx `json:"tx"`
Hash string `json:"hash"`
Index int `json:"index"`
PrevHash string `json:"prev_hash"`
PrevIndex int `json:"prev_index"`
}
type Lock struct {
Address string `json:"address"`
}
type Output struct {
Tx Tx `json:"tx"`
Hash string `json:"hash"`
Index int `json:"index"`
Amount int64 `json:"amount"`
Spends []Input `json:"spends"`
Lock Lock `json:"lock"`
}
type Tx struct {
Hash string `json:"hash"`
Raw string `json:"raw"`
Seen time .Time `json:"seen"`
Inputs []Input `json:"inputs"`
Outputs []Output `json:"outputs"`
Blocks []Block `json:"blocks"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.