Repository navigation
Release v0.15.4 - xchain-encoder - #9
Merged
Merged
Conversation
…oft-dust limit Dogecoin Core keeps a soft dust limit of 0.01 DOGE above the pinned 0.001 hard limit: an output under it is relayed only if the whole limit is added to the fee, per output. The encoder sized P2SH funding legs off the hard limit, so once a node's estimatesmartfee answered around 0.011 DOGE/kB the legs came out at 0.003-0.009 DOGE, the funding parent owed about 0.04 DOGE of relay fee and paid 0.004, every default-policy peer dropped it (the submitting node keeps it, since sendrawtransaction skips that check), and every PRICE and ATTEST wire built that way sat unconfirmed behind its parent. - SOFT_DUST_FLOOR_BY_COIN (DOGE 1000000 koinu) and a separate outputFloor for every output the encoder authors: funding legs, the bare-multisig data output, change emission, the reveal's change headroom and surplus sweep. dustAmount stays the pinned consensus constant for the fee floor, the fee-drain caps and the burn guard, so no transaction gains a 0.01 DOGE minimum fee. - A caller dust may raise the floor, never lower it. - DUST_AMOUNT is read in api.js and passed to the constructor, as the docs have promised; it only raises the floor. - Tests pin the floors per coin, the operator override, and P2SH builds at the observed stall rate authoring no leg under 0.01 DOGE; three suites re-pinned from the hard-dust arithmetic to the output floor.
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.
Hotfix train v0.15.4, encoder only. State-neutral: transaction authoring changes, the decoder and indexer read the same bytes.
Dogecoin relays an output under its 0.01 DOGE soft dust limit only if the whole limit is added to the fee, per output. The encoder sized P2SH funding legs off the 0.001 DOGE hard limit, so at a low fee estimate every leg fell into that band, peers refused to relay the funding parent, and every reveal chained on it (every validator PRICE and ATTEST wire on Dogecoin) waited unconfirmed.
outputFloor); the fee floor and fee caps keep the consensus dust threshold.DUST_AMOUNTis read and honoured as an operator floor, as the docs already promised.Merge as a merge commit (the tag tooling refuses a squash).