StdGossipNet

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

globalNodeId
uint globalNodeId(immutable(Pubkey) channel)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

scripting_engine_tid
Tid scripting_engine_tid [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
scripting_engine_tid
Tid scripting_engine_tid [@property setter]
Undocumented in source.
transcript_tid
Tid transcript_tid [@property setter]
Undocumented in source.
transcript_tid
Tid transcript_tid [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Init
struct Init
Undocumented in source.

Variables

_current_time
ulong _current_time;
Undocumented in source.
_scripting_engine_tid
Tid _scripting_engine_tid;
Undocumented in source.
_transcript_tid
Tid _transcript_tid;
Undocumented in source.

Inherited Members

From StdSecureNet

SecretMethods
interface SecretMethods

This function returns If method is SIGN the signed message or If method is DERIVE it returns the derived privat key

_secret
SecretMethods _secret;
Undocumented in source.
pubkey
Pubkey pubkey()
Undocumented in source. Be warned that the author may not have intended to support it.
hmacPubkey
Buffer hmacPubkey()
Undocumented in source. Be warned that the author may not have intended to support it.
derivePubkey
Pubkey derivePubkey(string tweak_word)
Undocumented in source. Be warned that the author may not have intended to support it.
derivePubkey
Pubkey derivePubkey(const(ubyte[]) tweak_code)
Undocumented in source. Be warned that the author may not have intended to support it.
crypt
NativeSecp256k1 crypt;
Undocumented in source.
verify
bool verify(Fingerprint message, Signature signature, Pubkey pubkey)
Undocumented in source. Be warned that the author may not have intended to support it.
sign
Signature sign(Fingerprint message)
Undocumented in source.
derive
void derive(string tweak_word, ubyte[] tweak_privkey)
Undocumented in source. Be warned that the author may not have intended to support it.
derive
void derive(const(ubyte[]) tweak_code, ubyte[] tweak_privkey)
Undocumented in source.
derive
void derive(string tweak_word, shared(SecureNet) secure_net)
Undocumented in source. Be warned that the author may not have intended to support it.
derive
void derive(const(ubyte[]) tweak_code, shared(SecureNet) secure_net)
Undocumented in source.
derive
const(SecureNet) derive(const(ubyte[]) tweak_code)
Undocumented in source. Be warned that the author may not have intended to support it.
createKeyPair
void createKeyPair(ubyte[] seckey)
Undocumented in source.
__expose
void __expose(ubyte[] privkey)
Undocumented in source. Be warned that the author may not have intended to support it.
generateKeyPair
void generateKeyPair(const(char[]) passphrase, const(char[]) salt, void delegate(scope const(ubyte[]) data) @(safe) dg)
ECDHSecret
immutable(ubyte[]) ECDHSecret(const(ubyte[]) seckey, const(Pubkey) pubkey)
Undocumented in source. Be warned that the author may not have intended to support it.
ECDHSecret
immutable(ubyte[]) ECDHSecret(const(Pubkey) pubkey)
Undocumented in source. Be warned that the author may not have intended to support it.
getPubkey
Pubkey getPubkey(const(ubyte[]) seckey)
Undocumented in source. Be warned that the author may not have intended to support it.
clone
SecureNet clone()
Undocumented in source. Be warned that the author may not have intended to support it.
eraseKey
void eraseKey()
Undocumented in source. Be warned that the author may not have intended to support it.

From GossipNet

ChannelFilter
alias ChannelFilter = bool delegate(const(Pubkey) channel) @(safe)
Undocumented in source.
SenderCallBack
alias SenderCallBack = const(HiRPC.Sender) delegate() @(safe)
Undocumented in source.
time
const(sdt_t) time()
Undocumented in source.
isValidChannel
bool isValidChannel(const(Pubkey) channel)
Undocumented in source.
add_channel
void add_channel(const(Pubkey) channel)
Undocumented in source.
remove_channel
void remove_channel(const(Pubkey) channel)
Undocumented in source.
gossip
const(Pubkey) gossip(const(ChannelFilter) channel_filter, const(SenderCallBack) sender)
Undocumented in source.
select_channel
const(Pubkey) select_channel(const(ChannelFilter) channel_filter)
Undocumented in source.

Meta