public static interface LightningApi.SendCustomMessageRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.ByteString |
getData()
Raw message data.
|
com.google.protobuf.ByteString |
getPeer()
Peer to send the message to
|
int |
getType()
Message type.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
com.google.protobuf.ByteString getPeer()
Peer to send the message to
bytes peer = 1;
int getType()
Message type. This value needs to be in the custom range (>= 32768). To send a type < custom range, lnd needs to be compiled with the `dev` build tag, and the message type to override should be specified in lnd's experimental protocol configuration.
uint32 type = 2;
com.google.protobuf.ByteString getData()
Raw message data.
bytes data = 3;