Documentation ¶
Index ¶
- func MarshalBid(r *bytes.Buffer, tx *transactions.Bid) error
- func MarshalBlock(r *bytes.Buffer, b *block.Block) error
- func MarshalCertificate(r *bytes.Buffer, c *block.Certificate) error
- func MarshalCoinbase(w *bytes.Buffer, c *transactions.Coinbase) error
- func MarshalHashable(r *bytes.Buffer, h *block.Header) error
- func MarshalHeader(r *bytes.Buffer, h *block.Header) error
- func MarshalInput(w *bytes.Buffer, i *transactions.Input, encodeSignature bool) error
- func MarshalOutput(w *bytes.Buffer, o *transactions.Output) error
- func MarshalStake(r *bytes.Buffer, tx *transactions.Stake) error
- func MarshalStandard(w *bytes.Buffer, s *transactions.Standard) error
- func MarshalTimelock(r *bytes.Buffer, tx *transactions.Timelock) error
- func MarshalTx(r *bytes.Buffer, tx transactions.Transaction) error
- func UnmarshalBid(r *bytes.Buffer, tx *transactions.Bid) error
- func UnmarshalBlock(r *bytes.Buffer, b *block.Block) error
- func UnmarshalCertificate(r *bytes.Buffer, c *block.Certificate) error
- func UnmarshalCoinbase(w *bytes.Buffer, c *transactions.Coinbase) error
- func UnmarshalHeader(r *bytes.Buffer, h *block.Header) error
- func UnmarshalInput(r *bytes.Buffer, i *transactions.Input) error
- func UnmarshalOutput(r *bytes.Buffer, o *transactions.Output) error
- func UnmarshalStake(r *bytes.Buffer, tx *transactions.Stake) error
- func UnmarshalStandard(w *bytes.Buffer, s *transactions.Standard) error
- func UnmarshalTimelock(r *bytes.Buffer, tx *transactions.Timelock) error
- func UnmarshalTx(r *bytes.Buffer) (transactions.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalBid ¶
func MarshalBid(r *bytes.Buffer, tx *transactions.Bid) error
func MarshalCertificate ¶
func MarshalCertificate(r *bytes.Buffer, c *block.Certificate) error
func MarshalCoinbase ¶
func MarshalCoinbase(w *bytes.Buffer, c *transactions.Coinbase) error
func MarshalInput ¶
MarshalInput marshals an Input object into a bytes.Buffer.
func MarshalOutput ¶
func MarshalOutput(w *bytes.Buffer, o *transactions.Output) error
Encode an Output struct and write to w.
func MarshalStake ¶
func MarshalStake(r *bytes.Buffer, tx *transactions.Stake) error
func MarshalStandard ¶
func MarshalStandard(w *bytes.Buffer, s *transactions.Standard) error
func MarshalTimelock ¶
func MarshalTimelock(r *bytes.Buffer, tx *transactions.Timelock) error
func MarshalTx ¶
func MarshalTx(r *bytes.Buffer, tx transactions.Transaction) error
func UnmarshalBid ¶
func UnmarshalBid(r *bytes.Buffer, tx *transactions.Bid) error
func UnmarshalCertificate ¶
func UnmarshalCertificate(r *bytes.Buffer, c *block.Certificate) error
func UnmarshalCoinbase ¶
func UnmarshalCoinbase(w *bytes.Buffer, c *transactions.Coinbase) error
func UnmarshalInput ¶
func UnmarshalInput(r *bytes.Buffer, i *transactions.Input) error
Decode an Input object from a bytes.Buffer.
func UnmarshalOutput ¶
func UnmarshalOutput(r *bytes.Buffer, o *transactions.Output) error
Decode an Output object from r into an output struct.
func UnmarshalStake ¶
func UnmarshalStake(r *bytes.Buffer, tx *transactions.Stake) error
func UnmarshalStandard ¶
func UnmarshalStandard(w *bytes.Buffer, s *transactions.Standard) error
func UnmarshalTimelock ¶
func UnmarshalTimelock(r *bytes.Buffer, tx *transactions.Timelock) error
func UnmarshalTx ¶
func UnmarshalTx(r *bytes.Buffer) (transactions.Transaction, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.