Documentation
¶
Overview ¶
A library for working with transactions on the DUO blockchain
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InPoint ¶
type InPoint struct { Tx *Transaction N uint }
type MemPool ¶
type MemPool struct { Mutex sync.RWMutex Map map[*Uint.U256]*Transaction Next map[*OutPoint]*InPoint }
MemPool stores the list of transactions received from the P2P network
type Orphan ¶
type Orphan struct { Tx Transaction DependsOn []*Uint.U256 Priority, FeePerKB float64 }
type OutCompressor ¶
type OutCompressor struct {
Out *Out
}
OutCompressor controls optimising a transaction
Click to show internal directories.
Click to hide internal directories.