dione/node/wire/get_range_of_blocks.go
2021-07-11 03:32:58 +03:00

14 lines
295 B
Go

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