Repository navigation
Capture mutated blocks from logs - #287
Conversation
|
Concept ACK. I'm not too sure about adding the dashboard in the I'll probably need to play around myself with new metrics first to figure out what works best. I think it would be good to have at least one logger integration test that produces a mutated block to catch the log changing in Bitcoin Core at some point. Given you authored ClubeBitcoinUnB/btc-traffic#6, you probably know best how to easily create a mutated block. I think a minimal mutated block could be constructed and submitted with something similar to this pseudocode: |
|
Also, CI is failing as the integration test metric now outputs |
Oh I didn't know about this concept, but ok.
Done for 2 out of 5 cases, except from |
772a928 to
ec1f8b0
Compare
|
squashed your fixups with their original commits. Code-wise this looks good, but I want to run it a bit first. Plan to do this next week. |
|
Finially getting back to this: I've started testing this and integration the log-extractor into my Nix infrastructure in 0xB10C/nix#247 |
|
I'm running this PR on the https://demo.peer.observer instance. The log dashboard can be found here: https://demo.peer.observer/monitoring/d/5f1da208-e8fe-4375-9c27-060ccd77184a/logs I do get only the
|
|
Hm, that might be due to running with This adds e.g. |
Oh didn't know about this one... I could work on that, but do you think it fits into this PR? |
No, feel free to pick this up in a separate PR :) Thank you! |
|
I think this is ready to merge. We can add more metrics to the Thank you @m4ycon! |

Here is what the dashboard looks like, the first chart shows 8/10 of it is the mainnet, the rest is regtest used to generate the mutated blocks logs.
Btw, the branch from this PR ClubeBitcoinUnB/btc-traffic#6 was used to generate these examples.
Maybe it could be useful, here are samples of what kind of content btc-core logs about these mutated blocks, I check for
[validation] BlockCheckedones.