mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
5d39a6ae68
With the 1.1.0 update, rather than LokiMQ getting a callback that it invokes on connection to get auth level for the duration of that connection, it now checks authentication each time a command is invoked. This improves message reliability (because on an invocation failure the remote doesn't have to reconnect to be reauthenticated). This helps storage server greatly (which has some tricky initialization issue that requires it to initialize lokimq before it has the SN list); it is less needed for quorumnet communications (which have been all using connection-time authenciation for a while now), but this change does some one "weirdness" that a remote client may be unable to issue a command that they *can* issue if they reconnect. The lokid update here piggypacks the call into quorumnet in quorum_cop's `add_block` callback to make the call; this would be far cleaner if we replaced the callbacks with stateful std::function's instead of inherited base class pointers, but I didn't want to go that far in this PR. |
||
---|---|---|
.. | ||
blockchain_db | ||
blockchain_utilities | ||
blocks | ||
checkpoints | ||
common | ||
crypto | ||
cryptonote_basic | ||
cryptonote_core | ||
cryptonote_protocol | ||
daemon | ||
daemonizer | ||
debug_utilities | ||
device | ||
device_trezor | ||
gen_multisig | ||
lmdb | ||
mnemonics | ||
multisig | ||
net | ||
p2p | ||
platform | ||
ringct | ||
rpc | ||
serialization | ||
simplewallet | ||
wallet | ||
CMakeLists.txt | ||
cryptonote_config.h | ||
loki_economy.h | ||
version.cpp.in | ||
version.h |