github.com/sixexorg/magnetic-ring@v0.0.0-20191119090307-31705a21e419/txpool/mainchain/tx_pool_common.go (about)

     1  package mainchain
     2  
     3  import (
     4  	"github.com/sixexorg/magnetic-ring/core/mainchain/types"
     5  )
     6  
     7  type TxReq struct {
     8  	Tx       *types.Transaction
     9  	RespChan chan *TxResp
    10  }
    11  
    12  type TxResp struct {
    13  	Hash string
    14  	Desc string
    15  }
    16  
    17  type MustPackTxsReq struct {
    18  	Txs []*types.Transaction
    19  }