oxen-core/src/cryptonote_protocol
Jason Rhinelander c00e8221cc Add SN ed25519/x25519 pubkeys + quorumnet port in proofs
This generates a ed25519 keypair (and from it derives a x25519 keypair)
and broadcasts the ed25519 pubkey in HF13 uptime proofs.

This auxiliary key will be used both inside lokid (starting in HF14) in
places like the upcoming quorumnet code where we need a standard
pub/priv keypair that is usable in external tools (e.g. sodium) without
having to reimplement the incompatible (though still 25519-based) Monero
pubkey format.

This pulls it back into HF13 from the quorumnet code because the
generation code is ready now, and because there may be opportunities to
use this outside of lokid (e.g. in the storage server and in lokinet)
before HF14.  Broadcasting it earlier also allows us to be ready to go
as soon as HF14 hits rather than having to wait for every node to have
sent a post-HF14 block uptime proof.

For a similar reason this adds a placeholder for the quorumnet port in
the uptime proof: currently the value is just set to 0 and ignored, but
allowing it to be passed will allow upgraded loki 6.x nodes to start
sending it to each other without having to wait for the fork height so
that they can start using it immediately when HF14 begins.
2019-10-07 22:09:17 -03: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 Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
cryptonote_protocol_defs.h Add SN ed25519/x25519 pubkeys + quorumnet port in proofs 2019-10-07 22:09:17 -03:00
cryptonote_protocol_handler-base.cpp Update monero copyright to 2019 pre-emptively to make merge simpler 2019-04-12 14:36:43 +10:00
cryptonote_protocol_handler.h Remove sychronization check on receipt of uptime 2019-09-19 16:58:09 +10:00
cryptonote_protocol_handler.inl Make quorum_type directly printable 2019-10-07 22:09:17 -03:00
cryptonote_protocol_handler_common.h Remove sychronization check on receipt of uptime 2019-09-19 16:58:09 +10:00