Comments (3)
Hi, yes this can be added in the getblocktemplate
result, implemented as following into mining.cpp
:
- Including the key_io library :
#include "key_io.h"
- And getting back the address from the public script (just after the foundersreward pair):
const CScript & scriptPublicKey = tx.vout[1].scriptPubKey ;
std::vector<CTxDestination> addresses;
txnouttype whichType;
int nRequired;
ExtractDestinations(scriptPublicKey, whichType, addresses, nRequired);
//entry.push_back(Pair("script", GetTxnOutputType(whichType)));
//entry.push_back(Pair("hex", HexStr(scriptPublicKey.begin(), scriptPublicKey.end())));
UniValue a(UniValue::VARR);
for (const CTxDestination& addr : addresses) {a.push_back(EncodeDestination(addr));}
entry.push_back(Pair("foundersraddress", a));
This can be added in the 2.1.0 update :
from bitcoinz.
thanks so much! makes it much easier to pickup the founder address changes.
from bitcoinz.
Added into 2.0.8 release !
from bitcoinz.
Related Issues (20)
- joinsplit.full_api_test FAILED TEST HOT 1
- check alert.CheckSignature(alertKey) has failed HOT 2
- android wallet - failure to receive transaction HOT 3
- Docker build fails HOT 1
- Daemon freezes HOT 1
- ZHash - Develop Algorithm for ASIC Resistance HOT 13
- Solutions are "invalid" but blocks accepted on testnet HOT 11
- Daemon freezes all the time and needs 10 minutes to start HOT 7
- How to config btcz for pool z-nomp? HOT 2
- Change blocktime ,halving period,reward, lower max supply @sapling update HOT 1
- Time to fork the wallet from Hush Coin
- CVE-2019-7167 HOT 1
- Merged mining HOT 1
- Block explorer does not show Sapling inputs+outputs HOT 1
- 1PP8xQSapxb6tJUx7B4Jd7HBhoodmNCVBc HOT 1
- Fix website - block reward HOT 2
- Debug.log file Flooding (low impact) HOT 3
- Fix for failed build on Linux "Invalid_argument" HOT 1
- Assertion `*rt == witnesses[i]->root()' failed (recheck of the sapling notes witness height) HOT 3
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 bitcoinz.