dione/node/wire/get_range_of_blocks.go
2021-06-02 22:45:55 +03:00

15 lines
323 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
Error *string
}