As per title
Details
- Reviewers
deadalnix jasonbcox - Group Reviewers
Restricted Project - Commits
- rSTAGING1ab9230f5c56: [qa] change bip68 sequence to use calculate_fee
rABC1ab9230f5c56: [qa] change bip68 sequence to use calculate_fee
./test/functional/test_runner.py bip68-sequence
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- test-fees
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 2902 Build 3908: Bitcoin ABC Buildbot (legacy) Build 3907: arc lint + arc unit
Event Timeline
test/functional/bip68-sequence.py | ||
---|---|---|
228 ↗ | (On Diff #4292) | Because CSV is height based, you just introduced an off by one error in all the subsequent tests. |
Okay, so the issue is the unsigned transaction is significantly smaller than the signed version. Adding a heuristic to get it to an equivalent or larger billable size when unsigned.
test/functional/bip68-sequence.py | ||
---|---|---|
238 ↗ | (On Diff #4351) | To help unfuck this slowly but surely, please init a variable so we can give this 10 a name (not sure what to call it... some sort of error margin or scale factor?). and use that variable in the other 3 instances below as well. This allows us to tweak the refactor later and gives more context where otherwise none exists. |
test/functional/bip68-sequence.py | ||
---|---|---|
228 ↗ | (On Diff #4351) | This is still breakign the test, as CSV is height based. |
test/functional/test_framework/mininode.py | ||
---|---|---|
405 | Looks like this might have been merged from another change? please take a look |
test/functional/bip68-sequence.py | ||
---|---|---|
242 ↗ | (On Diff #4419) | It's kind of weird to initialize the value to 0 and then reinitialize it to something else. Why not compute the value, store it in a local variable and then construct the CTxOut ? |
test/functional/bip68-sequence.py | ||
---|---|---|
242 ↗ | (On Diff #4419) | Because the existence of a vout changes the calculation of the fee. |