HomePhabricator

rpc: Expose g_is_mempool_loaded via getmempoolinfo

Authored by MarcoFalke <falke.marco@gmail.com> on Oct 29 2019, 14:14.

Description

rpc: Expose g_is_mempool_loaded via getmempoolinfo

Summary:
And use it to fix a race condition in mempool_persist.py:
https://travis-ci.org/Empact/bitcoin/jobs/487577243

Backport of Bitcoin Core PR15323
https://github.com/bitcoin/bitcoin/pull/15323

Depends on D4234 and D4266.

Test Plan:

ninja check-all
  • Read the docs.

Reviewers: Fabien, #bitcoin_abc, deadalnix

Reviewed By: Fabien, #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D4243

Details

Committed
fpelliccioniOct 29 2019, 14:46
Pushed
fpelliccioniOct 29 2019, 14:46
Reviewer
Restricted Project
Differential Revision
D4243: rpc: Expose g_is_mempool_loaded via getmempoolinfo
Parents
rABC664862e1af6c: Refactor transaction creation and transaction funding logic
Branches
Unknown
Tags
Unknown