Skip to content

fix(dashmate): missing fallback fee on testnet with core v20 - #963

Merged
QuantumExplorer merged 3 commits into
v0.25-devfrom
fix/core-20-fallbackfee
May 1, 2023
Merged

fix(dashmate): missing fallback fee on testnet with core v20#963
QuantumExplorer merged 3 commits into
v0.25-devfrom
fix/core-20-fallbackfee

Conversation

@strophy

Copy link
Copy Markdown
Contributor

Issue being fixed or feature implemented

Dashmate failed to start core v20 with error about missing fallbackffee on testnet

What was done?

Add fallbackffee on testnet

How Has This Been Tested?

Untested

Breaking Changes

None, this has always been the fallbackfee on testnet I think

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@shumkovshumkov changed the title fix: missing fallback fee on testnet with core v20fix(dashmate): missing fallback fee on testnet with core v20Apr 24, 2023
@strophy
strophy changed the base branch from v0.24-dev to v0.25-devApril 24, 2023 08:13
@strophystrophy closed this Apr 24, 2023
@strophy
strophyforce-pushed the fix/core-20-fallbackfee branch from 5fce55b to db8d94fCompareApril 24, 2023 08:24
@strophystrophy reopened this Apr 24, 2023
Comment threadpackages/dashmate/templates/core/dash.conf.dot Outdated
@@ -51,6 +51,7 @@ masternodeblsprivkey={{=it.core.masternode.operator.privateKey}}
{{?}}

{{? it.network === 'testnet'}}testnet=1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should also apply to all networks, including local & devnet (not sure about production)

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PastaPastaPasta@thephez should this value be set on mainnet as well?

@knstknstApr 26, 2023

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From slack to keep history.

this should also apply to all networks, including local & devnet (not sure about production)

No, these changes (backport of bitcoin/bitcoin#16524) do not affect production (mainnet); it was already 0 in the past for mainnet.

As release note says:

  • -fallbackfee was 0 (disabled) by default for the main chain, but 20000 by default for the test chains. Now it is 0 by default for all chains. Testnet and regtest users will have to add fallbackfee=20000 to their configuration if they weren't setting it and they want it to keep working like before.

For dash default value were not 20.000 but 1000. So, you need to specify in config fallbackfee=0.00001 to keep same behavior as before for testnet/regnet/etc.

@strophy

Copy link
Copy Markdown
ContributorAuthor

Looks like CI is failing because it depends on older v0.24-dev branch. How should I get the updated code on this branch? I tried both git merge and git rebase and both showed hundreds of conflicts, which doesn't seem possible since I only edited three lines here.

@QuantumExplorer
QuantumExplorer merged commit 387aa04 into v0.25-devMay 1, 2023
@QuantumExplorer
QuantumExplorer deleted the fix/core-20-fallbackfee branch May 1, 2023 09:20
@thephezthephez added this to the v0.25.0 milestone Oct 11, 2023
romchornyi pushed a commit that referenced this pull request Aug 25, 2026
Per the decision on the blocker: the pinned branch is re-cut without
#866's `rescan_committed_range`.
Two reasons, and the second is the one that decides it. The Codex finding
stands — the sweep accumulates every match from the birth height into one
`BTreeMap` and queues them together, so an eclipsing compact-filter peer
can turn a full-history rescan into a chain-length allocation followed by
millions of block requests, and nothing upstream bounds it yet.
More decisive is the honest case. On a real long-history CoinJoined
restore the #846 backward sweep ran 191 times, reached a 2.9 GB
footprint, and was killed by jetsam before finishing; the coalescing fix
for that is dashpay/rust-dashcore#974, which is not merged. Shipping #866
without #974 would trade a mid-sync stall for a restore that kills the
app — and long-history migrated wallets are exactly this release's
audience.
What the pin still carries is the point of this PR: #964, #960, #955,
#947 and #946, the six sync-stall fixes, plus #945, #928, #963, #965,
#967, #970 and #980. Dropping #866 restores the status quo of the
previous pin rather than introducing a regression — #846's mid-sync
invisibility was never fixed in what shipped — and the migrated-wallet
heal (#4377) does a full rescan, so it does not lean on this sweep.
#866 and #974 come back together next cycle, with a bounded drain for the
accumulation finding.
Branch: dashpay/rust-dashcore@chore/sync-fixes-without-swept, re-cut at
33030acf (base #945 plus eight cherry-picks, #866 omitted).
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@strophy@knst@lklimek@QuantumExplorer@thephez