mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
light: Add TxStatusRequest struct
This commit is contained in:
parent
3723ba9e0a
commit
e38e9ae87c
1 changed files with 11 additions and 0 deletions
11
light/odr.go
11
light/odr.go
|
|
@ -170,3 +170,14 @@ func (req *BloomRequest) StoreResult(db ethdb.Database) {
|
||||||
rawdb.WriteBloomBits(db, req.BitIdx, sectionIdx, sectionHead, req.BloomBits[i])
|
rawdb.WriteBloomBits(db, req.BitIdx, sectionIdx, sectionHead, req.BloomBits[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type TxStatusRequest struct {
|
||||||
|
OdrRequest
|
||||||
|
TxHash common.Hash
|
||||||
|
TxStatus core.TxStatus
|
||||||
|
TxEntry *rawdb.TxLookupEntry
|
||||||
|
}
|
||||||
|
|
||||||
|
func (req *TxStatusRequest) StoreResult(db ethdb.Database) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue