Log getMemoryLoad()#63
Draft
Sjors wants to merge 5 commits intostratum-mining:masterfrom
Draft
Conversation
Collaborator
Author
|
I'm running this locally for a while, logging once every 10 seconds instead of every minute. Testing against a mainnet node with the default 300 MiB |
c899509 to
be2eb3d
Compare
Collaborator
Author
be2eb3d to
66c2731
Compare
Collaborator
Author
ff88c5c to
e685264
Compare
b2928b0 to
1a280b1
Compare
02fb959 to
daf32c7
Compare
766d611 to
f4b245f
Compare
Collaborator
Author
Assisted-by: OpenAI GPT-5-Codex
Add Python script to make plots. Assisted-by: GitHub Copilot Assisted-by: OpenAI GPT-5.1-Codex
Add template provider unit test coverage for the periodic memory footprint log entry. The mock mining interface now exposes a configurable MemoryLoad value so the test can exercise the IPC-backed getMemoryLoad() path and assert the formatted MiB value. Assisted-by: OpenAI GPT-5-Codex
Shorten the template provider memory reporting interval only in the SRI configuration, then assert that the scenario observes the memory footprint log entry without adding a separate wait loop. Assisted-by: OpenAI GPT-5-Codex
Build Bitcoin Core from the bitcoin/bitcoin#33922 branch for the SRI integration test so the node IPC interface matches the getMemoryLoad() coverage added in this branch. Assisted-by: OpenAI GPT-5-Codex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Poll
getMemoryLoad()(introduced by bitcoin/bitcoin#33922) once a minute and log the result.Skipped for older node versions that don't have this method.