Versions in this module Expand all Collapse all v0 v0.1.1 Apr 1, 2019 v0.1.0 Mar 28, 2019 Changes in this version + const GetBalance + const GetGraph + const GetTx + const LabelLength + const ListAccOutput + const ListTx + const ListUtxo + const OutPointAccountBirth + func AccOutLabel(accOut AccOutput) string + func AccOutNode(g *dot.Graph, accOut AccOutput) dot.Node + func GenTxHash(cdc *codec.Codec, tx Tx) []byte + func GetOutPointKey(op OutPoint) string + func GetTxOutValue(outputs []TxOut) uint64 + func GetTxSignature(cdc *codec.Codec, tx Tx, name string) ([]byte, error) + func NewHandler(keeper Keeper) sdk.Handler + func NewQuerier(keeper Keeper) sdk.Querier + func RegisterCodec(cdc *codec.Codec) + func SortTxInputs(tx *Tx) + func SortTxOutputs(tx *Tx) + func TxInLabel(txIn TxIn) string + func TxInNodeID(txID Hash, in TxIn) string + func TxNode(g *dot.Graph, txNodeID Hash, tx Tx) dot.Node + func TxNodeLabel(txID Hash) string + func TxOutLabel(txOutIndex int, txOut TxOut) string + func UnspentOutputNode(g *dot.Graph, utxo OutPoint) dot.Node + type AccOutput struct + Address sdk.AccAddress + Block int64 + ID Hash + Value uint64 + func GenAccOutput(ctx sdk.Context, keeper Keeper, msg MsgBirthAccOutput) (AccOutput, sdk.Error) + type Hash []byte + func (h Hash) MarshalJSON() ([]byte, error) + func (h Hash) String() string + type Keeper struct + func NewKeeper(accountKeeper auth.AccountKeeper, coinKeeper bank.Keeper, ...) Keeper + func (k Keeper) DeleteOutPoint(ctx sdk.Context, outpoint OutPoint) + func (k Keeper) GetAccOutput(ctx sdk.Context, id Hash) AccOutput + func (k Keeper) GetTx(ctx sdk.Context, hash Hash) Tx + func (k Keeper) HasAccOutput(ctx sdk.Context, id Hash) bool + func (k Keeper) HasOutPoint(ctx sdk.Context, outpoint OutPoint) bool + func (k Keeper) HasTx(ctx sdk.Context, hash Hash) bool + func (k Keeper) ListAccOutput(ctx sdk.Context) []AccOutput + func (k Keeper) ListTx(ctx sdk.Context) ([]Tx, []Hash) + func (k Keeper) ListUtxo(ctx sdk.Context) []OutPoint + func (k Keeper) PutAccOutput(ctx sdk.Context, accUtxo AccOutput) + func (k Keeper) PutOutPoint(ctx sdk.Context, outpoint OutPoint) + func (k Keeper) PutTx(ctx sdk.Context, hash Hash, tx Tx) + type MsgBirthAccOutput struct + Address sdk.AccAddress + Amount sdk.Coin + func NewMsgBirthAccOutput(amount sdk.Coin, address sdk.AccAddress) MsgBirthAccOutput + func (msg MsgBirthAccOutput) GetSignBytes() []byte + func (msg MsgBirthAccOutput) GetSigners() []sdk.AccAddress + func (msg MsgBirthAccOutput) Route() string + func (msg MsgBirthAccOutput) Type() string + func (msg MsgBirthAccOutput) ValidateBasic() sdk.Error + type MsgTx struct + Signer sdk.AccAddress + Tx Tx + func NewMsgTx(tx Tx, signer sdk.AccAddress) MsgTx + func (msg MsgTx) GetSignBytes() []byte + func (msg MsgTx) GetSigners() []sdk.AccAddress + func (msg MsgTx) Route() string + func (msg MsgTx) Type() string + func (msg MsgTx) ValidateBasic() sdk.Error + type OutPoint struct + Hash Hash + Index int32 + type OutPointVal struct + Hash Hash + Index int32 + Value uint64 + type PayToAddress struct + Address sdk.AccAddress + type Tx struct + LockTime uint32 + TxIn []TxIn + TxOut []TxOut + func NewTxPayToAddress(cdc *codec.Codec, sig []byte, hash []byte, index int32, amount uint64, ...) Tx + type TxIn struct + Input OutPoint + Sequence uint32 + Witness []byte + type TxOut struct + PkScript []byte + Value uint64 + type Wallet struct + Balance uint64 + Entries []OutPointVal