GossipNet

Undocumented in source.

Members

Aliases

ChannelFilter
alias ChannelFilter = bool delegate(const(Pubkey) channel) @(safe)
Undocumented in source.
SenderCallBack
alias SenderCallBack = const(HiRPC.Sender) delegate() @(safe)
Undocumented in source.

Functions

add_channel
void add_channel(const(Pubkey) channel)
Undocumented in source.
gossip
const(Pubkey) gossip(const(ChannelFilter) channel_filter, const(SenderCallBack) sender)
Undocumented in source.
isValidChannel
bool isValidChannel(const(Pubkey) channel)
Undocumented in source.
remove_channel
void remove_channel(const(Pubkey) channel)
Undocumented in source.
select_channel
const(Pubkey) select_channel(const(ChannelFilter) channel_filter)
Undocumented in source.
time
const(sdt_t) time()
Undocumented in source.

Inherited Members

From P2pNet

start_listening
void start_listening()
Undocumented in source.
send
void send(const(Pubkey) channel, const(HiRPC.Sender) doc)
Undocumented in source.
close
void close()
Undocumented in source.

Meta