Giter VIP home page Giter VIP logo

metaspartan / denarius Goto Github PK

View Code? Open in Web Editor NEW
109.0 18.0 75.0 69.93 MB

Denarius [$D] is a PoW/PoS Hybrid Cryptocurrency with Tribus a new PoW Hashing Algo built specifically for D, one of a kind hybrid masternodes called Fortuna Stakes, atomic swaps, staking, mining, IPFS, optional Native Tor and I2P, and much more!

Home Page: https://denarius.io

License: MIT License

Makefile 0.10% Batchfile 0.01% Python 0.26% Shell 0.10% Roff 0.07% QMake 0.14% C++ 34.16% NSIS 0.03% C 63.87% HTML 0.28% CSS 0.01% Tcl 0.60% Objective-C 0.01% Objective-C++ 0.03% Assembly 0.29% PHP 0.02% q 0.03%
denarius tribus-pow stake pos-hybrid tribus-algorithm crypto cryptocurrency altcoins bitcoin satoshi

denarius's Introduction

Denarius [D]

Tribus Algo PoW/PoS Hybrid Cryptocurrency

logo

GitHub version License: GPL v3 Denarius downloads Denarius lateat release downloads Join the chat at https://discord.gg/AcThv2y

Discord server

GitHub code size in bytes GitHub repo size in bytes

Denarius Snapcraft

Code Climate

Build Status

Build history

Intro

Denarius is a true optionally anonymous, untraceable, and secure hybrid cryptocurrency.

Ticker: D

Denarius [D] is an optionally anonymous, decentralized, energy efficient, Proof-of-Work (New Tribus Algorithm) and Proof-of-Stake cryptocurrency. 10,000,000 D max with Denarius Domain Names via the Denarius NVS.

Supported Operating Systems

  • Linux 64-bit
  • Windows 64-bit
  • macOS 10.11+

Install Denarius with Snap on any Linux Distro

  • sudo apt install snapd

  • sudo snap install denarius

  • denarius for running the QT

  • denarius.daemon for running denariusd

Specifications

  • Total number of coins: 10,000,000 D

  • Ideal block time: 30 seconds

  • Stake interest: 6% annual static inflation

  • Confirmations: 10 blocks

  • Maturity: 30 blocks (15 minutes)

  • Min stake age: 8 hours

  • Cost of Hybrid Fortuna Stakes: 5,000 D

  • Hybrid Fortuna Stake Reward: 33% of the current block reward

  • P2P Port: 33369, Testnet Port: 33368

  • RPC Port: 32369, Testnet RPC Port: 32368

  • Fortuna Stake Port: 9999, Testnet Port: 19999

  • D Magic Number: 0xb4eff2fa

  • BIP44 CoinType: 116

  • Base58 Pubkey Decimal: 30

  • Base58 Scriptkey Decimal: 90

  • Base58 Privkey Decimal: 158

Technology

  • Hybrid PoW/PoS Fortuna Stakes
  • Decentralized Domain Names within the Denarius NVS (.bitcoin, .btc, .d, .dnr, .denarii, .ipfs, .sys, .king, and more)
  • Name Registration is 0.1 D, 0.09 D goes to miners and stakers
  • Stealth addresses
  • Ring Signatures (16 Recommended)
  • Native Optional Tor Onion Node (-nativetor=1)
  • Encrypted Messaging
  • Multi-Signature Addresses & TXs
  • Atomic Swaps using UTXOs (BIP65 CLTV)
  • BIP39 Support (Coin Type 116)
  • Proof of Data (Image/Data Timestamping)
  • Fast 30 Second Block Times
  • New/First Tribus PoW Algorithm comprising of 3 NIST5 algorithms
  • Tribus PoW/PoS Hybrid
  • Full decentralization
  • Jupiter - IPFS API Implementation with Anonymous Decentralized File Uploads (UI and RPC)

LINKS

ASCII CAST TUTORIALS

asciicast asciicast asciicast

denariusqtubuntu.sh by Buzzkillb

Compile the latest Denarius QT (Graphical Wallet) Ubuntu 16.04 or Ubuntu 18.04+

Credits to Buzzkillb for the creation of this bash script, original repository: https://github.com/buzzkillb/denarius-qt/

Compiles Denarius QT Ubuntu 16.04 or 18.04, Grabs latest chaindata, and populates denarius.conf with addnodes or can update a previous compile to the latest master branch.
bash -c "$(wget -O - https://raw.githubusercontent.com/carsenk/denarius/master/denariusqtubuntu.sh)"

To turn on nativetor in denarius.conf
nativetor=1

Denarius Installer Menu

Development process

Developers work in their own trees, then submit pull requests when they think their feature or bug fix is ready.

The patch will be accepted if there is broad consensus that it is a good thing. Developers should expect to rework and resubmit patches if they don't match the project's coding conventions (see coding.txt) or are controversial.

The master branch is regularly built and tested, but is not guaranteed to be completely stable. Tags are regularly created to indicate new stable release versions of Denarius.

Feature branches are created when there are major new features being worked on by several people.

From time to time a pull request will become outdated. If this occurs, and the pull is no longer automatically mergeable; a comment on the pull will be used to issue a warning of closure. The pull will be closed 15 days after the warning if action is not taken by the author. Pull requests closed in this manner will have their corresponding issue labeled 'stagnant'.

Issues with no commits will be given a similar warning, and closed after 15 days from their last activity. Issues closed in this manner will be labeled 'stale'.

denarius's People

Contributors

0xcircuitbreaker avatar astraleureka avatar baltcoinh avatar bumbacoin avatar buzzkillb avatar c5yal8r avatar carsenk avatar chrisbdaemon avatar dude-wtf avatar enkayz avatar escherba avatar exmac avatar metaspartan avatar ruslan-splynx avatar skimoo avatar the-next-guy avatar thi3rryzz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

denarius's Issues

[2.0] Synchronization speed drop

Synchronization speed has been dropped significantly (~10 times) with 2.0 release comparing to 1.0.7. It is way too slow. For example it synchronizes > 40-50 hours comparing to 4-6 hours with 1.0.7 [16 active connections 100mbps internet with ~92-95mbps up/down throughput test with speedtest.net].

Question

Hi, Can you tell me how did you come with this value on 116 | 0x80000074 | DNR | [Denarius](https://denarius.io) for BIP44?

Wrong release version for Windows

Hi, I downloaded the latest version from your releases (v2.5.2.0) for windows and when I opened it and I checked the version it said v2.5.0.0.

Super slow gettransaction RPC

Hello,

Since like 06.05.2019 gettransaction rpc call takes more than 30 secs, killing ability to use daemon properly.

Ubuntu 16.04

thanks
pinpin

build dependencies

What are the wallet build dependencies? What are the build instructions?

[2.0] Masternode tab not working

Masternode tab not working. It's not possible to create/manage MNs, it also does not display_masternode.conf_ contents, if any.

‘fClient’ was not declared in this scope

Compiling denarius-qt v1.0.7.0 in Debian produced the following errors:

src/txdb-bdb.cpp:36:13: error: ‘fClient’ was not declared in this scope
assert(!fClient);

src/txdb-bdb.cpp:226:49: error: ‘GetArgInt’ was not declared in this scope
int nCheckLevel = GetArgInt("-checklevel", 1);

src/txdb-bdb.cpp:404:24: error: ‘class CBlockIndex’ has no member named ‘hashProofOfStake’
pindexNew->hashProofOfStake = diskindex.hashProofOfStake;

I had no problem compiling the earlier version 1.0.6.0.

qt-wallet fails to compile: error: ‘fClient’ was not declared

following readme-qt.rst
compile fails:

Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety

$ qmake "USE_DBUS=1" "USE_QRCODE=1"
$ make
cd /home/guenter/denarius; /bin/sh share/genbuild.sh /home/guenter/denarius/build/build.h
g++ -c -fpermissive -fstack-protector-all --param ssp-buffer-size=1 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fPIC -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DQT_DISABLE_DEPRECATED_BEFORE=0 -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DUSE_DBUS -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -Isrc -Isrc/json -Isrc/qt -Isrc/qt/plugins/mrichtexteditor -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Ibuild -Ibuild -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o build/txdb-bdb.o src/txdb-bdb.cpp
In file included from src/addrman.h:9:0,
                 from src/net.h:20,
                 from src/main.h:10,
                 from src/db.h:8,
                 from src/txdb-bdb.cpp:6:
src/util.h:236:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
     return strprintf("%"PRId64, n);
                      ^
In file included from src/main.h:10:0,
                 from src/db.h:8,
                 from src/txdb-bdb.cpp:6:
src/net.h:444:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
             printf("askfor %s   %"PRId64" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
                    ^
In file included from src/db.h:8:0,
                 from src/txdb-bdb.cpp:6:
src/main.h:639:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
         str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d)\n",
                          ^
src/main.h:639:72: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
         str += strprintf("(hash=%s, nTime=%d, ver=%d, vin.size=%"PRIszu", vout.size=%"PRIszu", nLockTime=%d)\n",
                                                                        ^
src/main.h:1062:16: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
         printf("CBlock(hash=%s, ver=%d, hashPrevBlock=%s, hashMerkleRoot=%s, nTime=%u, nBits=%08x, nNonce=%u, vtx=%"PRIszu", vchBlockSig=%s)\n",
                ^
src/main.h:1312:26: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
         return strprintf("CBlockIndex(nprev=%p, pnext=%p, nFile=%u, nBlockPos=%-6d nHeight=%d, nMint=%s, nMoneySupply=%s, nFlags=(%s)(%d)(%s), nStakeModifier=%016"PRIx64", nStakeModifierChecksum=%08x, hashProof=%s, prevoutStake=(%s), nStakeTime=%d merkle=%s, hashBlock=%s)",
                          ^
In file included from /usr/include/boost/assert.hpp:58:0,
                 from /usr/include/boost/signals2/detail/lwm_pthreads.hpp:21,
                 from /usr/include/boost/signals2/mutex.hpp:30,
                 from /usr/include/boost/signals2/signal.hpp:31,
                 from src/keystore.h:10,
                 from src/script.h:17,
                 from src/main.h:11,
                 from src/db.h:8,
                 from src/txdb-bdb.cpp:6:
src/txdb-bdb.cpp: In member function ‘bool CTxDB::ReadTxIndex(uint256, CTxIndex&)’:
src/txdb-bdb.cpp:36:13: error: ‘fClient’ was not declared in this scope
     assert(!fClient);
             ^
src/txdb-bdb.cpp: In member function ‘bool CTxDB::UpdateTxIndex(uint256, const CTxIndex&)’:
src/txdb-bdb.cpp:43:13: error: ‘fClient’ was not declared in this scope
     assert(!fClient);
             ^
src/txdb-bdb.cpp: In member function ‘bool CTxDB::AddTxIndex(const CTransaction&, const CDiskTxPos&, int)’:
src/txdb-bdb.cpp:49:13: error: ‘fClient’ was not declared in this scope
     assert(!fClient);
             ^
src/txdb-bdb.cpp: In member function ‘bool CTxDB::EraseTxIndex(const CTransaction&)’:
src/txdb-bdb.cpp:59:13: error: ‘fClient’ was not declared in this scope
     assert(!fClient);
             ^
src/txdb-bdb.cpp: In member function ‘bool CTxDB::ContainsTx(uint256)’:
src/txdb-bdb.cpp:67:13: error: ‘fClient’ was not declared in this scope
     assert(!fClient);
             ^
src/txdb-bdb.cpp: In member function ‘bool CTxDB::ReadDiskTx(uint256, CTransaction&, CTxIndex&)’:
src/txdb-bdb.cpp:73:13: error: ‘fClient’ was not declared in this scope
     assert(!fClient);
             ^
src/txdb-bdb.cpp: In member function ‘bool CTxDB::LoadBlockIndex()’:
src/txdb-bdb.cpp:226:49: error: ‘GetArgInt’ was not declared in this scope
     int nCheckLevel = GetArgInt("-checklevel", 1);
                                                 ^
src/txdb-bdb.cpp: In member function ‘bool CTxDB::LoadBlockIndexGuts()’:
src/txdb-bdb.cpp:404:24: error: ‘class CBlockIndex’ has no member named ‘hashProofOfStake’; did you mean ‘IsProofOfStake’?
             pindexNew->hashProofOfStake = diskindex.hashProofOfStake;
                        ^~~~~~~~~~~~~~~~
src/txdb-bdb.cpp:404:53: error: ‘class CDiskBlockIndex’ has no member named ‘hashProofOfStake’; did you mean ‘IsProofOfStake’?
             pindexNew->hashProofOfStake = diskindex.hashProofOfStake;
                                                     ^~~~~~~~~~~~~~~~
Makefile:1664: recipe for target 'build/txdb-bdb.o' failed
make: *** [build/txdb-bdb.o] Error 1

daemon fortunastake status

daemon v3.3.7(but this bug exists way far back)
When your wallet is locked and you do
denariusd fortunastake status
it doesnt show the true collateral address but this one
DMbDViy1z4gweDFaYCyayvnPFUERB5Hymk
which is not mine
e.g in my wallet with 4 FSs it shows

{
"local" : {
"status" : "unconfigured"
},
"scaleway7" : {
"alias" : "fs1",
"ipaddr" : "xxx.xxx.xxx.xxx:9999",
"collateral" : "DMbDViy1z4gweDFaYCyayvnPFUERB5Hymk",
"status" : "online",
"lastpaidblock" : x,
"version" : 33500
},
"scaleway9" : {
"alias" : "scaleway9",
"ipaddr" : "xxx.xxx.xxx.xxx:9999",
"collateral" : "DMbDViy1z4gweDFaYCyayvnPFUERB5Hymk",
"status" : "online",
"lastpaidblock" : x,
"version" : 33500
},
"scaleway6" : {
"alias" : "scaleway6",
"ipaddr" : "xxx.xxx.xxx.xxx:9999",
"collateral" : "DMbDViy1z4gweDFaYCyayvnPFUERB5Hymk",
"status" : "online",
"lastpaidblock" : x,
"version" : 33500
},
"scaleway8" : {
"alias" : "scaleway8",
"ipaddr" : "xxx.xxx.xxx.xxx:9999",
"collateral" : "DMbDViy1z4gweDFaYCyayvnPFUERB5Hymk",
"status" : "online",
"lastpaidblock" : x,
"version" : 33500
}
}
if i unlock the wallet everything is fine showing my true Addresses.This has to be fixed because inexperienced users trying to create a FS are baffled by this, aand some lost 5000D trying to create a FS because of this.
My suggestion is to show the true collateral address even if the wallet is locked.If this is not technically possible then in place of the address put a msg telling the user to unlock the wallet.

Compiling error windows qt (CTxDB

I havent found a "official" guide to compile the windows qt for this project, but when i try to compile the denarius wallet for windows with random guides i find on the internet, i keep running into this error, what can i do to fix this and make it compile correctly?

afbeelding

Backup Wallet issue on Mac QT

On Mac OS 10.12.6 with v2.0.5.0

when I click Backup Wallet menu on settings, window opens to select the directory for saving backup.
That windows constantly disappears right after it shows up. So I can't do backup wallet.

Cannot compile under Ubuntu 16, tor makes problem

Hy, i cannot compile with the new "tor" client inside.

make -f makefile.unix USE_UPNP=
cc -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wno-format -Wno-unused-parameter -Wno-literal-suffix -g -DBOOST_SPIRIT_THREADSAFE -I/bin/tribus/Denarius/denarius/src -I/bin/tribus/Denarius/denarius/src/obj -I/bin/tribus/Denarius/denarius/src/tor -I/bin/tribus/Denarius/denarius/src/json -DIS_ARCH_64 -I/bin/tribus/Denarius/denarius/src/leveldb/include -DUSE_LEVELDB -I/bin/tribus/Denarius/denarius/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/address.d -o obj/address.o tor/address.c
cc1: warning: command line option '-Wno-literal-suffix' is valid for C++/ObjC++ but not for C [enabled by default]
tor/address.c: In function 'tor_addr_parse_PTR_name':
tor/address.c:522:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for (int i = 0; i < 16; ++i) {
     ^
tor/address.c:522:5: note: use option -std=c99 or -std=gnu99 to compile your code
make: *** [obj/address.o] Error 1

so i add -std=gnu99 to the makefile.unix under obj/%.o: tor/%.c and obj/anonymize.o: tor/anonymize.cpp after -c $(xCXXFLAGS) to check if it works... but wont.

Then i become this error:

obj/crypto.o: In function `crypto_strongest_rand_syscall':
/bin/tribus/Denarius/denarius/src/tor/crypto.c:2864: undefined reference to `getentropy'
collect2: error: ld returned 1 exit status
make: *** [denariusd] Error 1

How can i fix it, or remove tor, when i only want a server wallet for mining?

Add x64 binaries to distribution

Please consider adding x64 Windows/Mac binaries like usually done in other mature projects. Since almost all PCs/smartphones now run on 64bit architectures having 32bit wallets may look odd.

Watched addresses

V3.3.8.2 latest but also previous versions

The wallet is falsely trying to stake watched addresses(which clearly doesnt have the private keys of) and failing.I can see a lot of failed staking in the transactions list from watched addresses . Also the green icon for staking in bottom right is reporting way bigger weight than this wallet really has.

Masternode payment hardfork issue, chain diverged!!!

Hi there,
I found the following issues:

  • In some places, float point arithmetics is used to calculate important for consensus values. U never want to do so because float point arithmetics isn't deterministic. Examples of such places: "payRate = ((double)(payValue / COIN) / MASTERNODE_FAIR_PAYMENT_ROUNDS)*100;" in masternode.cpp, "int maxrank = mnCount * 0.2;" in main.cpp.
  • Rank calculation has height-based cache. I see it there "if (masternodePayments.vecMasternodeRanksLastUpdated == pindexBest->nHeight) return true;" in masternode.cpp. After a reorg., new block will have the same block. height, but different hash. Cache must refer to block hash, not block height.

Cheers!!!

Documented md5sum of latest macOS release is wrong

Documented on the release page:

  • Denarius-v3.0-Win64.zip MD5 Checksum: C24C6BB10279B9620797967BC12B5C8A
  • Denarius-v3.0-macOS.dmg MD5 Checksum: 7022E027592A7B2BB5620E668445755B
  • denariusd-v3-ubuntu1604.tar.gz MD5 Checksum: 62263D4CB560A3C8CA279ACFED4B62DB

Actual results:

$ md5 Denarius-v3.0-Win64.zip
MD5 (Denarius-v3.0-Win64.zip) = c24c6bb10279b9620797967bc12b5c8a
$ md5 Denarius-v3.0-macOS.dmg
MD5 (Denarius-v3.0-macOS.dmg) = 47da5c35d1a7a9eb7c9380ce4b0d25c4
$ md5 denariusd-v3-ubuntu1604.tar.gz
MD5 (denariusd-v3-ubuntu1604.tar.gz) = 62263d4cb560a3c8ca279acfed4b62db

Changing layout

Hey :)

I've got a problem with layout of wallet.

I have a little problem when i click this right bar

Imagine
the options apper like this
Imagine2

but is put to close when your not with cursor on that ...  and I have to click it again,  :'( and be very carrefull with my mouse :)

Contacting Carsenk

Hello,
Please how can someone get in touch with you Carsenk ?

PS: Looked anywhere but didn't found, sorry for the issue

Inability to Stake The Collateral if its older than 25days

As the tittle suggests you cant stake the collateral if its older than 25days
I have tried everything.I shut off the vpss, the FSs are not on the list,i waited for a day staking
but still nothing.
There seems no problem staking the collateral if its newer than 20
it stakes immediately without having to wait for the FSs to go out of the list which suggests there is definitely a bug.The bug exists a long time now since 3.3 at least.I though i was doing something wrong but after talking to other members of the community they are having the same problem.Please fix

Wallet language can't be changed in settings

Wallet settings can't override system locale settings. If you open the settings, change language from default to some specific language, f.e. English (US), and restart the wallet, default (system-wide) language will remain.

Fail to compile due to incorect permission on /src/leveldb

I think you are aware of this issue(and i know you are working on the AMD miner today) but
If you ever encounter the error
/src/leveldb/libleveldb.a: No such file or directory
/src/leveldb/libmemenv.a: No such file or directory
when compiling do the following:

cd leveldb
chmod 755 *
cd ..
and compile again

32bit qt wallet

in linux the 32bit qt wallet segfaults before showing the gui.
the daemon however doesnt have a problem,runs fine
latest wallet built from master v3.3.8.5
I didnt try previous versions
I know its not a top priority just reporting

Mn payment hardfork issue, chain diverged !!!

Hi there,
I found the following issues:

In some places, float point arithmetics is used to calculate important for consensus values. U never want to do so because float point arithmetics isn't deterministic. Examples of such places: "payRate = ((double)(payValue / COIN) / MASTERNODE_FAIR_PAYMENT_ROUNDS)*100;" in masternode.cpp, "int maxrank = mnCount * 0.2;" in main.cpp.
Rank calculation has height-based cache. I see it there "if (masternodePayments.vecMasternodeRanksLastUpdated == pindexBest->nHeight) return true;" in masternode.cpp. After a reorg., new block will have the same block. height, but different hash. Cache must refer to block hash, not block height.

Build fails with boost 1.66.0

Arch Linux recently upgraded to boost 1.66.0.

denarius no longer builds, the 1.66.0 release involved removing deprecated function and other api-breaking features:

bitcoinrpc.cpp: At global scope:
bitcoinrpc.cpp:724:102: error: wrong number of template arguments (2, should be 1)
 d RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
                                                                                            ^
In file included from /usr/include/boost/asio.hpp:30:0,
                 from bitcoinrpc.cpp:15:
/usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
 class basic_socket_acceptor
       ^~~~~~~~~~~~~~~~~~~~~
bitcoinrpc.cpp:724:104: error: template argument 1 is invalid
 RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
                                                                                            ^
bitcoinrpc.cpp:734:95: error: wrong number of template arguments (2, should be 1)
 tic void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
                                                                                            ^
In file included from /usr/include/boost/asio.hpp:30:0,
                 from bitcoinrpc.cpp:15:
/usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
 class basic_socket_acceptor
       ^~~~~~~~~~~~~~~~~~~~~
bitcoinrpc.cpp:734:97: error: template argument 1 is invalid
 c void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
                                                                                            ^
bitcoinrpc.cpp: In function ‘void RPCListen(int, boost::asio::ssl::context&, bool)’:
bitcoinrpc.cpp:739:91: error: base operand of ‘->’ is not a pointer
     AcceptedConnectionImpl<Protocol>* conn = new AcceptedConnectionImpl<Protocol>(acceptor->get_io_service(), context, fUseSSL);
                                                                                           ^~
bitcoinrpc.cpp:741:13: error: base operand of ‘->’ is not a pointer
     acceptor->async_accept(
             ^~
bitcoinrpc.cpp: At global scope:
bitcoinrpc.cpp:756:102: error: wrong number of template arguments (2, should be 1)
 d RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
                                                                                            ^
In file included from /usr/include/boost/asio.hpp:30:0,
                 from bitcoinrpc.cpp:15:
/usr/include/boost/asio/basic_socket_acceptor.hpp:73:7: note: provided for ‘template<class Protocol> class boost::asio::basic_socket_acceptor’
 class basic_socket_acceptor
       ^~~~~~~~~~~~~~~~~~~~~
bitcoinrpc.cpp:756:104: error: template argument 1 is invalid
 RPCAcceptHandler(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
                                                                                            ^
bitcoinrpc.cpp: In function ‘void RPCAcceptHandler(int, boost::asio::ssl::context&, bool, AcceptedConnection*, const boost::system::error_code&)’:
bitcoinrpc.cpp:766:17: error: base operand of ‘->’ is not a pointer
      && acceptor->is_open())
                 ^~
bitcoinrpc.cpp:767:45: error: no matching function for call to ‘RPCListen(int&, boost::asio::ssl::context&, const bool&)’
         RPCListen(acceptor, context, fUseSSL);
                                             ^
bitcoinrpc.cpp:734:13: note: candidate: template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)
 static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
             ^~~~~~~~~
bitcoinrpc.cpp:734:13: note:   template argument deduction/substitution failed:
bitcoinrpc.cpp:767:45: note:   couldn't deduce template parameter ‘Protocol’
         RPCListen(acceptor, context, fUseSSL);
                                             ^
bitcoinrpc.cpp: In function ‘void ThreadRPCServer2(void*)’:
bitcoinrpc.cpp:835:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’
     ssl::context context(io_service, ssl::context::sslv23);
                                                          ^
In file included from /usr/include/boost/asio/ssl/context.hpp:757:0,
                 from /usr/include/boost/asio/ssl.hpp:18,
                 from bitcoinrpc.cpp:24:
/usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context&&)
 context::context(context&& other)
 ^~~~~~~
/usr/include/boost/asio/ssl/impl/context.ipp:326:1: note:   candidate expects 1 argument, 2 provided
/usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)
 context::context(context::method m)
 ^~~~~~~
/usr/include/boost/asio/ssl/impl/context.ipp:63:1: note:   candidate expects 1 argument, 2 provided
bitcoinrpc.cpp:851:41: error: ‘class boost::asio::ssl::context’ has no member named ‘impl’
         SSL_CTX_set_cipher_list(context.impl(), strCiphers.c_str());
                                         ^~~~
bitcoinrpc.cpp:876:45: error: no matching function for call to ‘RPCListen(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp> >&, boost::asio::ssl::context&, const bool&)’
         RPCListen(acceptor, context, fUseSSL);
                                             ^
bitcoinrpc.cpp:734:13: note: candidate: template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)
 static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
             ^~~~~~~~~
bitcoinrpc.cpp:734:13: note:   template argument deduction/substitution failed:
bitcoinrpc.cpp:876:45: note:   couldn't deduce template parameter ‘Protocol’
         RPCListen(acceptor, context, fUseSSL);
                                             ^
bitcoinrpc.cpp:902:49: error: no matching function for call to ‘RPCListen(boost::shared_ptr<boost::asio::basic_socket_acceptor<boost::asio::ip::tcp> >&, boost::asio::ssl::context&, const bool&)’
             RPCListen(acceptor, context, fUseSSL);
                                                 ^
bitcoinrpc.cpp:734:13: note: candidate: template<class Protocol, class SocketAcceptorService> void RPCListen(int, boost::asio::ssl::context&, bool)
 static void RPCListen(boost::shared_ptr< basic_socket_acceptor<Protocol, SocketAcceptorService> > acceptor,
             ^~~~~~~~~
bitcoinrpc.cpp:734:13: note:   template argument deduction/substitution failed:
bitcoinrpc.cpp:902:49: note:   couldn't deduce template parameter ‘Protocol’
             RPCListen(acceptor, context, fUseSSL);
                                                 ^
bitcoinrpc.cpp: In function ‘json_spirit::Object CallRPC(const string&, const Array&)’:
bitcoinrpc.cpp:1146:58: error: no matching function for call to ‘boost::asio::ssl::context::context(boost::asio::io_service&, boost::asio::ssl::context_base::method)’
     ssl::context context(io_service, ssl::context::sslv23);
                                                          ^
In file included from /usr/include/boost/asio/ssl/context.hpp:757:0,
                 from /usr/include/boost/asio/ssl.hpp:18,
                 from bitcoinrpc.cpp:24:
/usr/include/boost/asio/ssl/impl/context.ipp:326:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context&&)
 context::context(context&& other)
 ^~~~~~~
/usr/include/boost/asio/ssl/impl/context.ipp:326:1: note:   candidate expects 1 argument, 2 provided
/usr/include/boost/asio/ssl/impl/context.ipp:63:1: note: candidate: boost::asio::ssl::context::context(boost::asio::ssl::context_base::method)
 context::context(context::method m)
 ^~~~~~~
/usr/include/boost/asio/ssl/impl/context.ipp:63:1: note:   candidate expects 1 argument, 2 provided
make: *** [makefile.unix:190: obj/bitcoinrpc.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

Patch is on the way.

Rejected PoS trasactions participate in staking

In case when there was block generated by wallet under PoS, but which has already been rejected by network (so the transaction is not in any block in blockchain), and wallet knows that it was not accepted (it's shown in transaction list as conflicting), this transaction appear in staking like if it was normal one. Wallet has to clean staking list from these transactions.

Error sending Message

Hi :)
We find a bug.
We try to send some message from wallet, the wallet cannot retrive the public key of an address, and of course the message cannot be send

Staking not working with RPC

Hello,

I try to enable staking with walletpassphrase command but it doesn't work. It worked good before the last big update.

The command output is fine but stake is never activated. The command I'm using is something like this one:

walletpassphrase XXXX YYYYYYYY true

Thanks in advance.

Price update stuck.

Hi guys,

I noticed the price is only updating when I close > reopen the wallet on Windows 8.1 64 bit.

Hope this info will help.

Add Windows notifications

Please add a notification feature in Windows for events such as successful wallet backup, like is done in Litecoin, Dash, and others. It is very useful when getting feedback of whether or not it was successful and for self-check (such as the path for saving file and it's name).

Add warning when closing wallet

When you closing wallet in Windows, the wallet window disappears just at that moment. However some background process is still running. If you try to restart Denarius wallet after closing it will tell that it can't obtain file lock. In other crypto wallets including Bitcoin there is small window appearing which displays warning message that wallet is still closing and user have to wait for process to terminate.

daemon listtransactions issue

when you do
denariusd listtransactions
with latest v3.3.7 but also exists as far back as v3.3(as far i remember)
all POS rewards as a masternode at least show as 0.00000000
the rewards are credited correctly in balance though

[masternodes] Can't move any funds from headless deamon wallet

Already described this a number of times in #testnet@Discord with much more details.

sendtoaddress command doesn't work for almost all external address. It stopped working with fatal error at some point. But has been working previously with this wallet. Last address it worked for was own address.


WHATS IN WALLET:

dnr@dnrftw:~/denarius/src$ ./denariusd listaddressgroupings
[
    [
        [
            "8G13HuUDkxARz3uyapXqiP8vxursWByTfp",
            0.80493118,
            "0"
        ],
        [
            "8c7mWboRNGJUx3ADt4ZtY6E2GWNMtpss1W",
            993.86744695
        ],
        [
            "8JN4xjmfBLhQNezga1CHBPr89pK27bCVq9",
            0.00000000
        ],
        [
            "8TAsK3oQubcwWprW5cF2LHxcjn9AWVcR5V",
            0.01000248
        ],
        [
            "8Hv9ZKewXX3qL15Uspa756jJsH8MzYyeEC",
            0.00000000
        ],
        [
            "8bBdVoLagcfkrhoUvow8swWVqQs1hyuGzv",
            0.00000000
        ],
        [
            "8VLATqw5gpbjSneXUuKSgPbTnZQDVmnDxt",
            0.01000028
        ],
        [
            "8TbuWwofdpYcbFWuTHxdmpk9Vg6EpAgLd6",
            0.01000022
        ],
        [
            "8MDa1kTdBH8jwdsBuTDWXuzSG9bD5m6TUk",
            2.31749939,
            "NewMN"
        ],
        [
            "8HyQ5crgHRFExheFVcNsWNsK1SeBQpaAfh",
            0.00000000
        ],
        [
            "8XXJsJ5Q4KjkZQXrbF4x6FnK2m7X58SdHN",
            0.00000000
        ],
        [
            "8GgrVUJWv7wnezCcQ7P479hz8ihjjj35py",
            0.11000000
        ],
        [
            "8b9UmmtU2jciWDmYfNLG9Ayt1QhP1NaLCw",
            3000.00000000,
            "test"
        ]
    ]
]

THE ERROR

dnr@dnrftw:~/denarius/src$ ./denariusd getbalance
3997.12988050
dnr@dnrftw:~/denarius/src$ ./denariusd sendtoaddress 8TMCocpdg481PFRgc88KzTRTeuX2q9Msz7 3997
error: {"code":-4,"message":"Error: Transaction creation failed  "}
dnr@dnrftw:~/denarius/src$

LOGS:

02/22/18 20:42:36 ThreadRPCServer method=sendtoaddress
02/22/18 20:42:36 selectcoinsselectcoinsselectcoinsSendMoney() : Error: Transaction creation failed

Compile error in Ubuntu 16.04

I got error while I compiled v2.0.0.
I followed latest instruction and got message while 'make'.

In file included from src/qt/qcustomplot.cpp:26:0:
src/qt/qcustomplot.h:54:28: fatal error: QtPrintSupport: No such file or directory
compilation terminated.

Issue with sendtoaddress command

Hi, I'm trying to send an certain amount to an address with a comment longer than 24 characters.

So, for example, when I use this command:
sendtoaddress <denariusaddress> <amount> [comment] [comment-to] [narration]

with this data:
sendtoaddress <address...> 1 <string_longer_than_24_chars> "" ""

I get this message:

Narration must be 24 characters or less. (code -1)

I think it is combining these two commands:

sendtoaddress <denariusaddress> <amount> [comment] [comment-to] [narration]
endtoaddress <denariusaddress> <amount> [narration]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.