-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Explicitly enable or disable Stratum in config file (Issue 9785) #10521
Conversation
It looks like @lamafab signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
Are the CPP errors in your CI related to my changes? It does look like another problem, unless I'm wrong.
|
/cc @TriplEight any idea what's going on here? I think we should enable
|
@niklasad1 here you go: #10524 |
I just restarted the job and it worked, maybe hold back with hacking the pipelines and try restarting it in future? ;) |
We should also update the wiki to reflect this change. @lamafab do you mind putting in a PR here: https://github.com/paritytech/wiki? |
@HCastano Sure, no problem. I will do that after work (this evening). |
* master: fix(light cull): poll light cull instead of timer (#10559) Update Issue Template to direct security issue to email (#10562) RPC: Implements eth_subscribe("syncing") (#10311) Explicitly enable or disable Stratum in config file (Issue 9785) (#10521) version: bump master to 2.6 (#10560) tx-pool: check transaction readiness before replacing (#10526) fix(light account response): update `tx_queue` (#10545) Update light client harcoded headers (#10547) fix(light eth_gasPrice): ask network if not in cache (#10535) Implement caching for service transactions checker (#10088) build android with cache, win fixes (#10546) clique: make state backfill time measurement more accurate (#10551) updated lru-cache to 0.1.2 (#10542)
@lamafab You said Does this mean: Stratum is
Why would you have Maybe you mean: "Stratum is enabled by default if [stratum] section is present, unless disabled by setting ? |
@stone212 This decision was made for backwards compatibility reasons. Stratum is enabled if the Sorry for the confusion... |
@lamafab It's a good decision, I just wanted to make the language clear. Your sentence could mean one thing or the exact opposite. Good to have this change! |
Hi
This PR adds the requested feature from issue #9785.
Changes
[stratum]
section is present and not disabled by settingdisable = true
.I've run those changes directly on my machine; it works as intended (assuming these are the expected requirements. IMO, it would be cleaner if Stratum was only enabled if we explicitly set a
enabled = true
option. This would break backward compatibility, however).Any feedback is welcome.