mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
This adds support for naming the source iterators of FairMix, like so:
mix.AddSource(enode.WithSourceName("mySource", iter))
The source that produced the latest node is returned by the new NodeSource method.
|
||
|---|---|---|
| .. | ||
| idscheme.go | ||
| idscheme_test.go | ||
| iter.go | ||
| iter_test.go | ||
| localnode.go | ||
| localnode_test.go | ||
| node.go | ||
| node_test.go | ||
| nodedb.go | ||
| nodedb_test.go | ||
| urlv4.go | ||
| urlv4_test.go | ||