Documentation
¶
Index ¶
- func MarshJsonVin(tx *types.Transaction) []json.Vin
- func MarshJsonVout(tx *types.Transaction, filterAddrMap map[string]struct{}, ...) []json.Vout
- func MarshalJsonBlock(b *types.SerializedBlock, inclTx bool, fullTx bool, params *params.Params, ...) (json.OrderedResult, error)
- func MarshalJsonTransaction(tx *types.Transaction, params *params.Params, blkHashStr string, ...) (json.TxRawResult, error)
- func MarshalJsonTx(tx *types.Tx, params *params.Params, blkHashStr string, confirmations int64) (json.TxRawResult, error)
- func MessageToHex(msg message.Message) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshJsonVin ¶
func MarshJsonVin(tx *types.Transaction) []json.Vin
func MarshJsonVout ¶
func MarshalJsonBlock ¶
func MarshalJsonBlock(b *types.SerializedBlock, inclTx bool, fullTx bool, params *params.Params, confirmations int64, children []*hash.Hash, state bool, isOrdered bool) (json.OrderedResult, error)
RPCMarshalBlock converts the given block to the RPC output which depends on fullTx. If inclTx is true transactions are returned. When fullTx is true the returned block contains full transaction details, otherwise it will only contain transaction hashes.
func MarshalJsonTransaction ¶
func MarshalJsonTransaction(tx *types.Transaction, params *params.Params, blkHashStr string, confirmations int64) (json.TxRawResult, error)
func MarshalJsonTx ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.