Autosave mempool to disk while running #11086

issue shivaenigma opened this issue on August 18, 2017
  1. shivaenigma commented at 9:53 AM on August 18, 2017: none

    Hi,

    The feature to save mempool to disk on shutdown is great! This feature however, doesn't help where it could be most useful ie.. crashing/unplanned kill of bitcoind process. I had my bitcoin node crash after 30 days of running and the mempool loaded from disk was ofcourse of no use!

    This is to request:

    • Frequent autosaving of mempool to disk AND/OR
    • RPC command to trigger save of mempool to disk
  2. laanwj commented at 11:27 AM on August 18, 2017: member

    Frequent autosaving of mempool to disk

    This was part of the initial PR #8448 that implemented mempool saving to disk, but was deemed too much of an I/O overhead by default. It'd be okay as an optional setting.

    RPC command to trigger save of mempool to disk

    Yeah or that...

  3. laanwj added the label Feature on Aug 18, 2017
  4. laanwj added the label Mempool on Aug 18, 2017
  5. gmaxwell commented at 9:01 AM on August 20, 2017: contributor

    I think RPC would be better. Then you can just cron it to run whenever you want...

    I think the original PR got cut back more than it needed to just to deflect the wall of criticism being thrown at it.

    As an aside, if your node is crashing we'd like to know about it, as that shouldn't happen!

  6. shivaenigma commented at 8:18 PM on August 20, 2017: none

    @gmaxwell I will check if I can get something from the logs about the crash (it is a rare event though) !

  7. MarcoFalke closed this on Sep 6, 2017

  8. MarcoFalke referenced this in commit bc561b4b7d on Sep 6, 2017
  9. mempko referenced this in commit d7f0a2eeb3 on Sep 28, 2017
  10. markblundeberg referenced this in commit 105a473fc6 on May 9, 2019
  11. jonspock referenced this in commit b4f9da733d on Jun 13, 2019
  12. jonspock referenced this in commit 02e5229d76 on Jun 13, 2019
  13. PastaPastaPasta referenced this in commit b2de08eb8b on Sep 23, 2019
  14. PastaPastaPasta referenced this in commit 76e99d9933 on Sep 24, 2019
  15. PastaPastaPasta referenced this in commit cec3f7db47 on Nov 19, 2019
  16. PastaPastaPasta referenced this in commit 1656c3a7dc on Nov 21, 2019
  17. PastaPastaPasta referenced this in commit 0dbbf1e693 on Dec 9, 2019
  18. PastaPastaPasta referenced this in commit 220ab17944 on Jan 1, 2020
  19. PastaPastaPasta referenced this in commit bd6d2b22ac on Jan 2, 2020
  20. PastaPastaPasta referenced this in commit 0a3536fda2 on Jan 2, 2020
  21. PastaPastaPasta referenced this in commit 06b28cdfbb on Jan 2, 2020
  22. PastaPastaPasta referenced this in commit f7e407b310 on Jan 2, 2020
  23. PastaPastaPasta referenced this in commit 82a7ea2cac on Jan 2, 2020
  24. PastaPastaPasta referenced this in commit aa5c8f0b1c on Jan 2, 2020
  25. PastaPastaPasta referenced this in commit 59e212eaf8 on Jan 3, 2020
  26. ckti referenced this in commit d39030129d on Mar 28, 2021
  27. gades referenced this in commit 09eacf6abb on Jun 30, 2021
  28. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me