Comments (5)
4.1 is ready for release, building binaries now.
from avian.
4.1 has been released!
from avian.
Why does getblocktemplate complain:
error -1: createnewblock: testblockvalidity failed: bad-cb-amount (code 16)
wallet debug says
2022-10-05 22:38:26 ERROR: ConnectBlock(): coinbase pays too much (actual=262500000000 vs limit=250000000000)
2022-10-05 22:38:26 ERROR: TestBlockValidity: Consensus::ConnectBlock: bad-cb-amount (code 16)
but I'm not even submitting a block... just asking for the template....
from avian.
To properly assist you, make sure you running Avian 4.1 on commit 53947c4.
On my local node I was able to run the below without any issues:
getblocktemplate
getblocktemplate "{\"powalgo\": \"minotaurx\"}"
getblocktemplate "{\"powalgo\": \"x16rt\"}"
Keep in mind that dev fee is already subtracted from coinbasevalue
, ex: 237500000000
.
From the value 262500000000
, it looks like 5% of 2500 (125) was added to coinbase subsidy of 2500 (2625).
It is odd that your gbt is adding to coinbase. This is the code that checks coinbase: (AreEnforcedValuesDeployed()
is always true)
Lines 2805 to 2811 in 53947c4
I know this is not related to getting a block template but make sure your pool is properly configured to support the dev fee. (Keep in mind that the founder address is a P2SH multi-sig addr and do not subtract from coinbase.)
Yiimp example: mivanoski/yiimp@9cff829
If you are still experiencing this problem, make a new issue with additional information (if possible). I apologize for the inconvenience.
from avian.
To my understanding, getblocktemplate
only performs TestBlockValidity()
if the mode
in the template request is set to proposal
to check a block.
from avian.
Related Issues (20)
- flightplans: Don't open all lua libs for security
- [feat] flightplans: New RPC methods HOT 1
- Apply 4.0.2 patches to 4.1
- Improve CI build artifacts
- Update CI to ubuntu-22.04 HOT 1
- qt: Overview balance doesn't expand HOT 1
- qt: Assets frame does not expand HOT 1
- ci: macOS does not build on ubuntu-22.04 image
- Use correct BIP44 cointype for Avian mainnet (nExtCoinType) HOT 2
- Cache PoW hashes for Yespower (MinotaurX) HOT 1
- qt: 4.1 - Get my words regression HOT 3
- ans: Avian Name System Todo List
- Cross compile for x86_64-win fails to compile without "--disable-shared"
- net/p2p: Add support for TorV3 (addrv2)
- qt: Improve PoW cache error
- ans: Implement enhanced serialization to reduce blockchain space used
- Need to include library deque
- QT: No such signal AvianGUI::requestedRestart
- Misleading message activation status
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avian.