zebra/zebrad/tests/common/configs
teor 04e96c2526
feat(net): Cache a list of useful peers on disk (#6739)
* Rewrite some state cache docs to clarify

* Add a zebra_network::Config.cache_dir for peer address caches

* Add new config test files and fix config test failure message

* Create some zebra-chain and zebra-network convenience functions

* Add methods for reading and writing the peer address cache

* Add cached disk peers to the initial peers list

* Add metrics and logging for loading and storing the peer cache

* Replace log of useless redacted peer IP addresses

* Limit the peer cache minimum and maximum size, don't write empty caches

* Add a cacheable_peers() method to the address book

* Add a peer disk cache updater task to the peer set tasks

* Document that the peer cache is shared by multiple instances unless configured otherwise

* Disable peer cache read/write in disconnected tests

* Make initial peer cache updater sleep shorter for tests

* Add unit tests for reading and writing the peer cache

* Update the task list in the start command docs

* Modify the existing persistent acceptance test to check for peer caches

* Update the peer cache directory when writing test configs

* Add a CacheDir type so the default config can be enabled, but tests can disable it

* Update tests to use the CacheDir config type

* Rename some CacheDir internals

* Add config file test cases for each kind of CacheDir config

* Panic if the config contains invalid socket addresses, rather than continuing

* Add a network directory to state cache directory contents tests

* Add new network.cache_dir config to the config parsing tests
2023-06-06 08:28:14 +00:00
..
getblocktemplate-v1.0.0-rc.1.toml fix(sync): Pause new downloads when Zebra reaches the lookahead limit (#5561) 2022-11-09 04:42:04 +00:00
getblocktemplate-v1.0.0-rc.2.toml fix(sync): Pause new downloads when Zebra reaches the lookahead limit (#5561) 2022-11-09 04:42:04 +00:00
getblocktemplate-v1.0.0-rc.3.toml change(rpc): Provide and parse a long poll ID, but don't use it yet (#5796) 2022-12-09 01:41:46 +00:00
getblocktemplate-v1.0.0-rc.4.toml build(deps): bump toml from 0.5.11 to 0.6.0: changes `zebrad generate` to use double quoted strings, old configs still work (#6029) 2023-01-27 01:01:08 +00:00
getblocktemplate-v1.0.0-rc.5.toml change(log): Log a cute message for blocks that were mined by Zebra (off by default) (#6098) 2023-02-23 00:10:11 +00:00
getblocktemplate-v1.0.0-rc.9.toml feat(net): Cache a list of useful peers on disk (#6739) 2023-06-06 08:28:14 +00:00
net-cache-custom-v1.0.0-rc.9.toml feat(net): Cache a list of useful peers on disk (#6739) 2023-06-06 08:28:14 +00:00
net-cache-disabled-v1.0.0-rc.9.toml feat(net): Cache a list of useful peers on disk (#6739) 2023-06-06 08:28:14 +00:00
net-cache-enabled-v1.0.0-rc.9.toml feat(net): Cache a list of useful peers on disk (#6739) 2023-06-06 08:28:14 +00:00
v1.0.0-beta.12.toml tests(config): Upgrade config file tests (#5112) 2022-09-08 05:21:43 +00:00
v1.0.0-beta.13.toml tests(config): Upgrade config file tests (#5112) 2022-09-08 05:21:43 +00:00
v1.0.0-beta.15.toml tests(config): Upgrade config file tests (#5112) 2022-09-08 05:21:43 +00:00
v1.0.0-rc.0.toml change(state): Write non-finalized blocks to the state in a separate thread, to avoid network and RPC hangs (#5257) 2022-10-11 19:25:45 +00:00
v1.0.0-rc.2.toml fix(sync): Pause new downloads when Zebra reaches the lookahead limit (#5561) 2022-11-09 04:42:04 +00:00
v1.0.0-rc.4.toml build(deps): bump toml from 0.5.11 to 0.6.0: changes `zebrad generate` to use double quoted strings, old configs still work (#6029) 2023-01-27 01:01:08 +00:00
v1.0.0-rc.9.toml feat(net): Cache a list of useful peers on disk (#6739) 2023-06-06 08:28:14 +00:00