mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-02 22:21:44 +00:00
Use BlockCache for RPC/mempool and added TxId()
TxId() uses signbytes
This commit is contained in:
@ -34,6 +34,10 @@ func (mem *Mempool) GetState() *sm.State {
|
||||
return mem.state
|
||||
}
|
||||
|
||||
func (mem *Mempool) GetCache() *sm.BlockCache {
|
||||
return mem.cache
|
||||
}
|
||||
|
||||
// Apply tx to the state and remember it.
|
||||
func (mem *Mempool) AddTx(tx types.Tx) (err error) {
|
||||
mem.mtx.Lock()
|
||||
|
Reference in New Issue
Block a user