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

18 lines
177 B
Go

package wire
type InvType int
const (
InvalidInvType = iota
TxInvType
)
type InvMessage struct {
Inventory []InvItem
}
type InvItem struct {
Type InvType
Hash []byte
}