go-ethereum/p2p/dnsdisc
Martin Holst Swende 5bc0343ed3
p2p/dnsdisc: fix flaw in dns size calculation (#22533)
This fixes the calculation of the tree branch factor. With the new
formula, we now creat at most 13 children instead of 30, ensuring
the TXT record size will be below 370 bytes.
2021-03-19 13:20:27 +01:00
..
client.go p2p/dnsdisc: fix hot-spin when all trees are empty (#22313) 2021-02-19 09:54:46 +01:00
client_test.go p2p/dnsdisc: fix hot-spin when all trees are empty (#22313) 2021-02-19 09:54:46 +01:00
doc.go p2p/dnsdisc: add implementation of EIP-1459 (#20094) 2019-09-25 11:38:13 +02:00
error.go p2p/dnsdisc: add implementation of EIP-1459 (#20094) 2019-09-25 11:38:13 +02:00
sync.go p2p/dnsdisc: fix hot-spin when all trees are empty (#22313) 2021-02-19 09:54:46 +01:00
sync_test.go p2p/dnsdisc: add enode.Iterator API (#20437) 2019-12-12 11:15:36 +02:00
tree.go p2p/dnsdisc: fix flaw in dns size calculation (#22533) 2021-03-19 13:20:27 +01:00
tree_test.go p2p/dnsdisc: add enode.Iterator API (#20437) 2019-12-12 11:15:36 +02:00