oxen-core/src/cryptonote_protocol
Jason Rhinelander 5d39a6ae68
Update for LokiMQ 1.1.0's changes (#1122)
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.
2020-04-15 09:22:18 +10:00
..
block_queue.cpp Optimizations and simplifications 2019-08-11 22:35:00 -03:00
block_queue.h Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
CMakeLists.txt Convert quorumnet to loki-mq 2020-03-06 00:36:57 -04:00
core_protocol_instantiation.cpp Split up huge instanciations & header fixes 2019-12-03 00:51:18 -04:00
cryptonote_protocol_defs.h Add storage server lokimq port (#1056) 2020-03-11 12:35:36 +11:00
cryptonote_protocol_handler.h Remove pre-HF14 p2p vote relaying command 2020-01-18 12:12:29 -04:00
cryptonote_protocol_handler.inl Eliminate superfluous new top block info logs (#1079) 2020-03-17 12:03:27 +11:00
cryptonote_protocol_handler_common.h Remove pre-HF14 p2p vote relaying command 2020-01-18 12:12:29 -04:00
p2p_net_node_instantiation.cpp Split up huge instanciations & header fixes 2019-12-03 00:51:18 -04:00
quorumnet.cpp Update for LokiMQ 1.1.0's changes (#1122) 2020-04-15 09:22:18 +10:00
quorumnet.h Convert quorumnet to loki-mq 2020-03-06 00:36:57 -04:00
quorumnet_conn_matrix.h Convert quorumnet to loki-mq 2020-03-06 00:36:57 -04:00