diff options
author | laanwj <126646+laanwj@users.noreply.github.com> | 2022-06-21 23:55:37 +0200 |
---|---|---|
committer | laanwj <126646+laanwj@users.noreply.github.com> | 2022-06-22 00:00:43 +0200 |
commit | c3a41ad980cc5149de3f9ec8414962c183b1fed9 (patch) | |
tree | adabff42c05c90533cc42a4dd5c68e4d2f0778f3 /contrib | |
parent | 34869114a72435b9d8364385abaefed70d703fa8 (diff) | |
parent | 99b9e5f3a9fa29bbc1e45fc958470fbcc207ef23 (diff) | |
download | bitcoin-c3a41ad980cc5149de3f9ec8414962c183b1fed9.tar.xz |
Merge bitcoin/bitcoin#25314: p2p: always set nTime for self-advertisements
99b9e5f3a9fa29bbc1e45fc958470fbcc207ef23 p2p: always set nTime for self-advertisements (Martin Zumsande)
Pull request description:
This logic was recently changed in https://github.com/bitcoin/bitcoin/commit/0cfc0cd32239d3c08d2121e028b297022450b320 to overwrite `addrLocal` with the address they gave us when self-advertising to an inbound peer. But if we don't also change `nTime` again from the default `TIME_INIT`, our peer will not relay our advertised address any further.
ACKs for top commit:
naumenkogs:
ACK 99b9e5f3a9fa29bbc1e45fc958470fbcc207ef23
laanwj:
Code review ACK 99b9e5f3a9fa29bbc1e45fc958470fbcc207ef23
vasild:
ACK 99b9e5f3a9fa29bbc1e45fc958470fbcc207ef23
Tree-SHA512: 4c7ea51cc77ddaa4b3537962ad2ad085f7ef5322982d3b1f5baecb852719eb99dd578436ca63432cb6b0a4fbd8b59fca793caf326c4663a4d6f34301e8146aa2
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions