|
Monero
|
Classes | |
| struct | bucket_head |
| struct | bucket_head2 |
| struct | levin_commands_handler |
| Provides space for levin (p2p) header, so that payload can be sent without copy. More... | |
| struct | protocl_handler_config |
| class | protocol_handler |
| class | async_protocol_handler |
| class | async_protocol_handler_config |
Functions | |
| const char * | get_err_descr (int err) |
| bucket_head2 | make_header (uint32_t command, uint64_t msg_size, uint32_t flags, bool expect_response) noexcept |
| byte_slice | make_noise_notify (std::size_t noise_bytes) |
| byte_slice | make_fragmented_notify (const std::size_t noise_size, int command, message_writer message) |
|
inline |
| byte_slice epee::levin::make_fragmented_notify | ( | const std::size_t | noise_size, |
| int | command, | ||
| message_writer | message ) |
Generate 1+ levin messages that are identical to the noise message size.
| noise_size | Each levin message will be identical to this value. |
|
noexcept |
| byte_slice epee::levin::make_noise_notify | ( | std::size_t | noise_bytes | ) |
Generate a dummy levin message.
| noise_bytes | Total size of the returned byte_slice. |