2

Some Internet service providers have different pricing at different hours. Is it possible to limit some functions of bitcoind to specific time ranges? ...especially initial block download (IBD) and/or transmission of historical blocks to other peers who are synchronizing?

The bitcoin-cli command setnetworkactive would seem to allow this to be done through external scripting, and I did find this question which seemed to confirm that this setting should serve the purpose, but experimentation reveals that blocks continue to flow even after setting it to false. Apparently it does not work in quite the right way for this purpose (and unfortunately the documentation is extremely brief about what this setting exactly does and what its purpose is).

Any insight into that command or other methods of scheduling bandwidth would be appreciated. Something that might be related: sometimes there are messages from bitcoind during IBD like Peer=X is stalling block download, disconnecting. What exactly does this message mean, and does it imply anything that would relate to a traffic scheduling regime of either the node performing IBD or a peer from which it is downloading?

2
  • Cron job to stop and restart specifying different config? Jun 21, 2023 at 8:23
  • Stopping and restarting is probably an acceptable workaround for nodes that are synchronizing for the first time, but I don't think it would be suitable for nodes sending out the historical blocks. Jun 22, 2023 at 13:03

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.