dione/node/wire/get_range_of_blocks.go

14 lines
295 B
Go
Raw Normal View History

package wire
import "github.com/Secured-Finance/dione/blockchain/types"
2021-06-02 19:45:55 +00:00
type GetRangeOfBlocksArg struct {
From uint64
To uint64
}
2021-06-02 19:45:55 +00:00
type GetRangeOfBlocksReply struct {
Blocks []types.Block
FailedBlockHeights []uint64 // list of block heights the node was unable to retrieve
}