diff options
author | David Goulet <dgoulet@torproject.org> | 2019-01-09 12:22:35 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-04-29 12:17:57 -0400 |
commit | 023a70da841182fbbbe11389929c8fbbc7490365 (patch) | |
tree | d6f37dfb7c0b87335244a47077856cc45ecf7bf3 /src/core/or/sendme.h | |
parent | eef78ac0b07096a6925ae42e8b5d526304fa54a8 (diff) | |
download | tor-023a70da841182fbbbe11389929c8fbbc7490365.tar.gz tor-023a70da841182fbbbe11389929c8fbbc7490365.zip |
prop289: Support sending SENDME version 1
This code will obey the consensus parameter "sendme_emit_min_version" to know
which SENDME version it should send. For now, the default is 0 and the
parameter is not yet used in the consensus.
This commit adds the support to send version 1 SENDMEs but aren't sent on the
wire at this commit.
Closes #26840
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core/or/sendme.h')
-rw-r--r-- | src/core/or/sendme.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/or/sendme.h b/src/core/or/sendme.h index f50ccfbfe2..ba01ecfaf8 100644 --- a/src/core/or/sendme.h +++ b/src/core/or/sendme.h @@ -16,7 +16,8 @@ /* Sending SENDME cell. */ void sendme_connection_edge_consider_sending(edge_connection_t *edge_conn); void sendme_circuit_consider_sending(circuit_t *circ, - crypt_path_t *layer_hint); + crypt_path_t *layer_hint, + crypto_digest_t *digest); /* Processing SENDME cell. */ int sendme_process_circuit_level(crypt_path_t *layer_hint, |