mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 09:50:08 +01:00
0db14c740b
This commit modifies the logic within the block manager and service to preferentially fetch transactions and blocks which include witness data from fully upgraded peers. Once the initial version handshake has completed, the server now tracks which of the connected peers are witness enabled (they advertise SFNodeWitness). From then on, if a peer is witness enabled, then btcd will always request full witness data when fetching transactions/blocks. |
||
---|---|---|
.. | ||
addrmanager_test.go | ||
addrmanager.go | ||
cov_report.sh | ||
doc.go | ||
internal_test.go | ||
knownaddress_test.go | ||
knownaddress.go | ||
log.go | ||
network_test.go | ||
network.go | ||
test_coverage.txt |