dione/node/wire/get_blocks.go

15 lines
309 B
Go
Raw Normal View History

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