Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct {
Clause []*Clause
}
Body contains the body information for a transaction TODO: support more than one clause
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder to make it easy to build transaction. TODO: clause should support array
type Header ¶
type Header struct {
Nonce uint64
}
Header contains the header information for a transaction
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
Transaction contains one transaction and it's information.
func (*Transaction) Header ¶
func (tx *Transaction) Header() *Header
Header returns the block header.
func (*Transaction) ID ¶
func (tx *Transaction) ID() (h common.Hash)
ID returns the transaction hash of the header, which is simply the keccak256 hash of its RLP Encoding TODO: implement more complex architecture of having RLP Hash seperate from ID
Click to show internal directories.
Click to hide internal directories.