mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 23:07:59 +01:00
parent
eaf09bda4a
commit
aa79c91260
3 changed files with 6 additions and 2 deletions
|
@ -57,6 +57,10 @@ Notable changes
|
||||||
P2P and network changes
|
P2P and network changes
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
|
- A bitcoind node will no longer rumour addresses to inbound peers by default.
|
||||||
|
They will become eligible for address gossip after sending an ADDR, ADDRV2,
|
||||||
|
or GETADDR message. (#21528)
|
||||||
|
|
||||||
Updated RPCs
|
Updated RPCs
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ BOOST_FIXTURE_TEST_CASE(SubtractFee, TestChain100Setup)
|
||||||
// Send full input minus more than the fee amount to recipient, check
|
// Send full input minus more than the fee amount to recipient, check
|
||||||
// leftover input amount is paid to recipient not the miner (to_reduce ==
|
// leftover input amount is paid to recipient not the miner (to_reduce ==
|
||||||
// -123). This overpays the recipient instead of overpaying the miner more
|
// -123). This overpays the recipient instead of overpaying the miner more
|
||||||
// than double the neccesary fee.
|
// than double the necessary fee.
|
||||||
BOOST_CHECK_EQUAL(fee, check_tx(fee + 123));
|
BOOST_CHECK_EQUAL(fee, check_tx(fee + 123));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -179,7 +179,7 @@ class AddrTest(BitcoinTestFramework):
|
||||||
# of the outbound peer which is often sent before the GETADDR response.
|
# of the outbound peer which is often sent before the GETADDR response.
|
||||||
assert_equal(inbound_peer.num_ipv4_received, 0)
|
assert_equal(inbound_peer.num_ipv4_received, 0)
|
||||||
|
|
||||||
# Send an empty ADDR message to intialize address relay on this connection.
|
# Send an empty ADDR message to initialize address relay on this connection.
|
||||||
inbound_peer.send_and_ping(msg_addr())
|
inbound_peer.send_and_ping(msg_addr())
|
||||||
|
|
||||||
self.log.info('Check that subsequent addr messages sent from an outbound peer are relayed')
|
self.log.info('Check that subsequent addr messages sent from an outbound peer are relayed')
|
||||||
|
|
Loading…
Add table
Reference in a new issue