erigon-pulse/les
Felix Lange e83c3ccc47
p2p/enode: improve IPv6 support, add ENR text representation (#19663)
* p2p/enr: add entries for for IPv4/IPv6 separation

This adds entry types for "ip6", "udp6", "tcp6" keys. The IP type stays
around because removing it would break a lot of code and force everyone
to care about the distinction.

* p2p/enode: track IPv4 and IPv6 address separately

LocalNode predicts the local node's UDP endpoint and updates the record.
This change makes it predict IPv4 and IPv6 endpoints separately since
they can now be in the record at the same time.

* p2p/enode: implement base64 text format
* all: switch to enode.Parse(...)

This allows passing base64-encoded node records to all the places that
previously accepted enode:// URLs. The URL format is still supported.

* cmd/bootnode, p2p: log node URL instead of ENR

...and return the base64 record in NodeInfo.
2019-06-07 15:31:00 +02:00
..
csvlogger les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
flowcontrol les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
api_backend.go les, light: implement ODR transaction lookup by hash (#19069) 2019-05-13 14:41:10 +03:00
api_test.go les, les/flowcontrol: improved request serving and flow control (#18230) 2019-02-26 12:32:48 +01:00
api.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
backend.go eth, les: reject light client connection is server is not synced (#19616) 2019-05-26 19:15:05 +03:00
benchmark.go les, light: remove support for les/1 4096 block CHT sections 2019-04-08 13:17:24 +02:00
bloombits.go all: make indexer configurable (#17188) 2018-08-28 10:08:16 +03:00
commons.go les: fix p2p.Protocol.PeerInfo (#19472) 2019-04-17 10:57:53 +03:00
costtracker.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
distributor_test.go les, les/flowcontrol: improved request serving and flow control (#18230) 2019-02-26 12:32:48 +01:00
distributor.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
execqueue_test.go les: fix goroutine leak in execQueue (#14480) 2017-05-16 20:56:02 +02:00
execqueue.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
fetcher_test.go les: remove redundant type specifiers (#19091) 2019-02-25 12:49:49 +02:00
fetcher.go les: avoid fetcher deadlock on requestChn (#19571) 2019-05-17 20:39:39 +02:00
freeclient_test.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
freeclient.go les: short circuit in the unregister if peer is not registered (#19644) 2019-05-31 10:54:50 +03:00
handler_test.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
handler.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
helper_test.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
metrics.go metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15910) 2018-02-23 11:56:08 +02:00
odr_requests.go all: integrate the freezer with fast sync 2019-05-16 10:39:32 +03:00
odr_test.go les, light: implement ODR transaction lookup by hash (#19069) 2019-05-13 14:41:10 +03:00
odr.go les, light: implement ODR transaction lookup by hash (#19069) 2019-05-13 14:41:10 +03:00
peer_test.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
peer.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
protocol.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
randselect_test.go all: gofmt -w -s 2017-01-06 15:52:03 +01:00
randselect.go les, les/flowcontrol: improved request serving and flow control (#18230) 2019-02-26 12:32:48 +01:00
request_test.go les: removed les/1 protocol messages 2019-04-08 13:17:24 +02:00
retrieve.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
server.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
serverpool.go p2p/enode: improve IPv6 support, add ENR text representation (#19663) 2019-06-07 15:31:00 +02:00
servingqueue.go les, les/flowcontrol: implement LES/3 (#19329) 2019-05-30 20:51:13 +02:00
sync.go core/rawdb: separate raw database access to own package (#16666) 2018-05-07 14:35:06 +03:00
transactions.rlp eth, les: reject light client connection is server is not synced (#19616) 2019-05-26 19:15:05 +03:00
txrelay.go les, light: implement ODR transaction lookup by hash (#19069) 2019-05-13 14:41:10 +03:00
ulc_test.go eth, les: reject light client connection is server is not synced (#19616) 2019-05-26 19:15:05 +03:00
ulc.go p2p/enode: improve IPv6 support, add ENR text representation (#19663) 2019-06-07 15:31:00 +02:00