Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockOwner ¶
type BlockOwner struct { Log *logger.L Limiter *rate.Limiter Pool storage.Handle Br blockrecord.Record IsNormalMode func(mode.Mode) bool IsTestingChain func() bool Rsvr reservoir.Reservoir }
BlockOwner - the type of the RPC
func (*BlockOwner) Transfer ¶
func (bitmark *BlockOwner) Transfer(transfer *transactionrecord.BlockOwnerTransfer, reply *TransferReply) error
Transfer - transfer the ownership of a block to new account and/or payment addresses
func (*BlockOwner) TxIDForBlock ¶
func (bitmark *BlockOwner) TxIDForBlock(info *TxIDForBlockArguments, reply *TxIDForBlockReply) error
TxIDForBlock - RPC to get transaction id for block ownership record
type TransferReply ¶
type TransferReply struct { TxId merkle.Digest `json:"txId"` PayId pay.PayId `json:"payId"` Payments map[string]transactionrecord.PaymentAlternative `json:"payments"` }
TransferReply - results of transferring block ownership
type TxIDForBlockArguments ¶
type TxIDForBlockArguments struct {
BlockNumber uint64 `json:"blockNumber"`
}
TxIDForBlockArguments - get the id for a given block number
type TxIDForBlockReply ¶
TxIDForBlockReply - results for block id
Click to show internal directories.
Click to hide internal directories.