Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct { // Txs is a slice with transactions Txs [][]byte // Swaps is a slice with swap transactions Swaps []*proto.Swap // MultiSwaps is a slice with multi swap transactions MultiSwaps []*proto.MultiSwap // Keys is a slice with swap key transactions Keys []*proto.SwapKey // MultiKeys is a slice with multi swap key transactions MultiKeys []*proto.SwapKey // Size is a size of batch PredictSize uint // TxIndToBlocks is a map with indexes of transactions to blocks TxIndToBlocks map[uint]uint64 }
Batch is a struct with data for batch
Click to show internal directories.
Click to hide internal directories.