Documentation ¶
Index ¶
- Constants
- type Client
- type Keeper
- func (k *Keeper) BroadcastTx(w rest.ResponseWriter, r *rest.Request)
- func (k *Keeper) GetPendings() map[string]int
- func (k *Keeper) GetTx(w rest.ResponseWriter, r *rest.Request)
- func (k *Keeper) GetTxs(w rest.ResponseWriter, r *rest.Request)
- func (k *Keeper) Start()
- func (k *Keeper) StartNode()
- func (k *Keeper) UpdateMemPoolTxs()
- func (k *Keeper) UpdateTx(txid string, count int)
- type MempoolTx
- type Rest
Constants ¶
View Source
const ( TxTypeReceived = "receive" TxTypeSend = "send" MinMempoolFees = int64(300) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewBtcClient ¶
func (*Client) GetBlockTxs ¶
func (*Client) GetTxByTxID ¶
func (*Client) TxtoCommonTx ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (*Keeper) BroadcastTx ¶
func (k *Keeper) BroadcastTx(w rest.ResponseWriter, r *rest.Request)
func (*Keeper) GetPendings ¶
func (*Keeper) UpdateMemPoolTxs ¶
func (k *Keeper) UpdateMemPoolTxs()
type MempoolTx ¶
type MempoolTx struct { common.Transaction // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.