Add usefull methods for reorg

This commit is contained in:
Arnau B
2020-08-21 16:59:30 +02:00
parent 1cbf54acc7
commit c108739c24
7 changed files with 28 additions and 12 deletions

View File

@@ -62,8 +62,8 @@ type PoolL2Tx struct {
RqNonce uint64 `meddler:"rq_nonce,zeroisnull"` // effective 48 bits used
AbsoluteFee float64 `meddler:"absolute_fee,zeroisnull"`
AbsoluteFeeUpdate time.Time `meddler:"absolute_fee_update,utctimez"`
Type TxType `meddler:"tx_type"`
// Extra metadata, may be uninitialized
Type TxType `meddler:"-"` // optional, descrives which kind of tx it's
RqTxCompressedData []byte `meddler:"-"` // 253 bits, optional for atomic txs
}