Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

DARKCOIL-0.9.18.13: Lightweight Darkcoin Wallet

Discussion in 'Official Developer Thread' started by vertoe, Nov 20, 2014.

Thread Status:
Not open for further replies.
  1. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,574
    Likes Received:
    1,656
    Trophy Points:
    1,283
    [​IMG]

    Good morning,

    I've created a darkcoin wallet (Qt and Daemon) based on the old Darkcoin core wallet v0.9.13.x and aligned it back with the current onyx v2 development and thus created a fully working v0.9.18.x client which allows sending, storing and recieving coins like a basic bitcoin/litecoin core v0.8.x wallet used to do.

    This is intended to be an alternative wallet to the official core wallet for users who just wish to recieve, store and send the coins.

    https://github.com/vertoe/darkcoil

    Please note:
    • This wallet is not suitable for masternodes (wont work).
    • This wallet is not suitable for pool operators (blocks will orphan).
    • This wallet is not able to anonymize your funds (no darksend available).
    • This wallet is an inofficial client and only minimally maintained. I'm not adding any features, just keeping it compatible with the network and fixing possible bugs.
    • Only use this if you understand the points above. Please report back any issues.
    • That said this wallet scores in stability and performance because it's so lightweight.

    About the version numbers:

    • v0.9.17.x aligns with darkcoin-0.10.17.x (outdated)
    • v0.9.18.x aligns with darkcoin-0.11.0.x (current)
    • Anyways, each version is always compatible with the darkcoin network.

    Currently the following services are running a darkcoild backend:


    Any feedback appreciated.

    Cheers
    vertoe

    [​IMG]

    Code:
    {
    "version" : 91813,
    "protocolversion" : 70052,
    "walletversion" : 60000,
    "balance" : 9079.31861111,
    "blocks" : 66640,
    "timeoffset" : 0,
    "connections" : 8,
    "proxy" : "",
    "difficulty" : 0.08343518,
    "testnet" : true,
    "keypoololdest" : 1409784004,
    "keypoolsize" : 101,
    "paytxfee" : 0.00000000,
    "mininput" : 0.00001000,
    "errors" : ""
    }
    Code:
     $ ./darkcoil-qt_test
    ********* Start testing of URITests *********
    Config: Using QTest library 4.8.6, Qt 4.8.6
    PASS   : URITests::initTestCase()
    PASS   : URITests::uriTests()
    PASS   : URITests::cleanupTestCase()
    Totals: 3 passed, 0 failed, 0 skipped
    ********* Finished testing of URITests *********
    $ ./src/test_darkcoil
    Running 94 test cases...
    
    *** No errors detected
    Binaries coming soon(tm)...


    [​IMG]
     
    #1 vertoe, Nov 20, 2014
    Last edited by a moderator: Jan 30, 2015
    • Like Like x 13
  2. crowning

    crowning Official Dash Dev
    Core Developer Moderator

    Joined:
    May 29, 2014
    Messages:
    1,430
    Likes Received:
    2,009
    Trophy Points:
    183
    It's very generous of you to send Evan some tDRK.

    He probably needed it badly to start InstanTX testing :)
     
    • Like Like x 1
  3. elbereth

    elbereth Active Member
    Dash Support Group

    Joined:
    Mar 25, 2014
    Messages:
    438
    Likes Received:
    466
    Trophy Points:
    133
    Dash Address:
    Xbon36F261wXDL4p1CEZAX28t8U4ayR9uu
    Very cool! I might be able to recollect my dust with this.
    Does it uses the same folder by default than darkcoind/qt?
     
  4. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,278
    Likes Received:
    2,419
    Trophy Points:
    1,183
    It's based on Darkcoin 0.9.x, so it uses the same default folder. Use datadir in case you want it different :)
     
  5. elbereth

    elbereth Active Member
    Dash Support Group

    Joined:
    Mar 25, 2014
    Messages:
    438
    Likes Received:
    466
    Trophy Points:
    133
    Dash Address:
    Xbon36F261wXDL4p1CEZAX28t8U4ayR9uu
    Hmm will you compile it for Windows? :D

    By the way, how do you crosscompile to Windows from the builder? Is it an easy setup?
    The only crosscompile I ever attempted was Delphi under Debian and I used Wine (so not really crosscompiling).
     
  6. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,278
    Likes Received:
    2,419
    Trophy Points:
    1,183
    Yeah, will do - vertoe asked me to set it up already, will put it into Bamboo

    As for the crosscompiling: Actually it is gitian, running a Ubuntu with mingw32 compiler with win32 target enabled.

    Btw: Evan and me are still searching for community members, who will do the gitian builds independently from us, confirming the build results are identical and not tampered by [fill in your favorite bad guy]. If you like to support us here it would be great - and i can get you started with doing cross platform builds as well ;)
     
  7. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,574
    Likes Received:
    1,656
    Trophy Points:
    1,283
    Yes this is in conflict with the core wallet, uses by default same ports and same wallet/config. But it should be compatible. change ports and datadir if you want to run it along with the official client.

    I would love to learn how gitian builds work.
     
    • Like Like x 1
  8. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,278
    Likes Received:
    2,419
    Trophy Points:
    1,183
    Perfect, we'll do a bootcamp ^^
     
    • Like Like x 1
  9. elbereth

    elbereth Active Member
    Dash Support Group

    Joined:
    Mar 25, 2014
    Messages:
    438
    Likes Received:
    466
    Trophy Points:
    133
    Dash Address:
    Xbon36F261wXDL4p1CEZAX28t8U4ayR9uu
    Interested too flare.
     
  10. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,278
    Likes Received:
    2,419
    Trophy Points:
    1,183
    Perfect - will get you both started :)
     
    • Like Like x 1
  11. crowning

    crowning Official Dash Dev
    Core Developer Moderator

    Joined:
    May 29, 2014
    Messages:
    1,430
    Likes Received:
    2,009
    Trophy Points:
    183
    If there's still place for one more person I'm in.

    The bootcamp is in Florida, right?
    :D
     
    • Like Like x 1
  12. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,574
    Likes Received:
    1,656
    Trophy Points:
    1,283
    Due to security concerns its relocated to Syria.
     
  13. DrkMiner

    DrkMiner Member

    Joined:
    Jun 7, 2014
    Messages:
    204
    Likes Received:
    63
    Trophy Points:
    88
    Hi vertoe,

    Looks good! what is the performance with "dust" payment?

    Currently my qt is very slow and screen is lagging. I have few addressees that receive payments from p2pools etc.
     
  14. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,574
    Likes Received:
    1,656
    Trophy Points:
    1,283
    Well, give it a try :)

    I never experienced any issues with dust yet. I appreciate any feedback.

    It's always recommended to have backups or use fresh wallets when switching from official wallet.
     
  15. aaxx1503

    aaxx1503 Active Member

    Joined:
    Feb 28, 2014
    Messages:
    113
    Likes Received:
    106
    Trophy Points:
    93
    Good job, is this basically a hobby project? What are the advantages to this wallet in reality?
     
  16. DrkMiner

    DrkMiner Member

    Joined:
    Jun 7, 2014
    Messages:
    204
    Likes Received:
    63
    Trophy Points:
    88
    any windows version?
     
  17. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,278
    Likes Received:
    2,419
    Trophy Points:
    1,183
    Working on it :)
     
    • Like Like x 1
  18. DrkMiner

    DrkMiner Member

    Joined:
    Jun 7, 2014
    Messages:
    204
    Likes Received:
    63
    Trophy Points:
    88
    Thank you very Much!
     
  19. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,574
    Likes Received:
    1,656
    Trophy Points:
    1,283
    Well there are no advantages of this wallet over the official one. But it's an interesting question where I wish to add some more thoughts.

    Darkcoin differs not really from Bitcoin on a protocol level except for the x11 algorithm and dgw difficulty adjustment. Everything else like Denominations, Masternodes and Darksend is realized using the official core wallet. The advantage (if you want so) of DARKCOIL is that it does nothing else than reading the blockchain and maybe generating transactions. There are many usecases where you simply want this and nothing else.

    A good and healthy coin should offer a lot of software packages which allow people to work with Darkcoin and the Darkcoin protocol and interact with the blockchain independently from centralized or so called official reference implementations. Currently only the Android wallet is the only other working and fully supported implementation for Darkcoin. This is basically the reason why I forked off the old 0.9.x tree and made it compatible with the current network (protocol version, masternode payments, etc.). Now we have three different wallets :)

    The other reason is I wish to understand the core wallet code a bit better and to improve my c++/qt skills a bit. Any feedback appreciated. This is no big project though (and not intended to be!), just bumping the version numbers and keeping the basic code aligned with the main development by the Darkcoin core team.

    Flare offered to provide binaries at some point. What a generous offer :)
     
    • Like Like x 5
  20. aaxx1503

    aaxx1503 Active Member

    Joined:
    Feb 28, 2014
    Messages:
    113
    Likes Received:
    106
    Trophy Points:
    93
    That sounds great then! When we have a Darkcoin Electrum Wallet we'll have 4 different software wallets for people to chose from which only helps legitimize DRK. Great job once again, hope you learn some stuff.
     
  21. DrkMiner

    DrkMiner Member

    Joined:
    Jun 7, 2014
    Messages:
    204
    Likes Received:
    63
    Trophy Points:
    88
    Hi, flare,

    Any news?
    Thanks!
     
    • Like Like x 1
  22. HashEngineering

    HashEngineering Active Member

    Joined:
    May 3, 2014
    Messages:
    305
    Likes Received:
    373
    Trophy Points:
    133
    I appreciate the high praise regarding the Android Wallet, but it's functionality would be like Darkcoil in that it also doesn't support DarkSend or any of the other functionality that the official darkcoin client has. This may change as my time permits.
     
    • Like Like x 2
  23. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,278
    Likes Received:
    2,419
    Trophy Points:
    1,183
    Sorry, got distracted by other tasks. ETA tomorrow :)
     
  24. vertoe

    vertoe Three of Nine

    Joined:
    Mar 28, 2014
    Messages:
    2,574
    Likes Received:
    1,656
    Trophy Points:
    1,283
    Updated to ONYXv3 (v0.9.17.19)...
     
    • Like Like x 1
  25. DrkMiner

    DrkMiner Member

    Joined:
    Jun 7, 2014
    Messages:
    204
    Likes Received:
    63
    Trophy Points:
    88
    Great! any ETA for windows?
     
    • Like Like x 1
  26. flare

    flare Administrator
    Dash Core Team Moderator

    Joined:
    May 18, 2014
    Messages:
    2,278
    Likes Received:
    2,419
    Trophy Points:
    1,183
    After v17 update of masternode network :)
     
    • Like Like x 1
  27. PatMan

    PatMan New Member

    Joined:
    Aug 15, 2014
    Messages:
    15
    Likes Received:
    6
    Trophy Points:
    3
    Love this - any news on a windows version?

    Thanks.
     
    • Like Like x 1
  28. pbleak

    pbleak Active Member

    Joined:
    May 15, 2014
    Messages:
    400
    Likes Received:
    173
    Trophy Points:
    113
    Very smooth. May make the switch.
     
    • Like Like x 1
  29. elbereth

    elbereth Active Member
    Dash Support Group

    Joined:
    Mar 25, 2014
    Messages:
    438
    Likes Received:
    466
    Trophy Points:
    133
    Dash Address:
    Xbon36F261wXDL4p1CEZAX28t8U4ayR9uu
    I have compiled v0.9.17.23 for Windows:
    http://download.darkcoin.fr/darkcoil/darkcoil-0.9.17.23-win.zip

    Using:
    boost 1.55 (1.57 failed)
    db 4.8.30 NC
    libpng 1.6.15
    miniupnpc 1.9
    openssl 1.0.1l
    protobuf 2.6.1
    qrencode 3.4.4
    qt4 4.8.5 (4.8.6 failed)
    zlib 1.2.8
    and of course mingw64 (cross compiled using Gitian with Ubuntu Precise amd64)
     
    #29 elbereth, Dec 14, 2014
    Last edited by a moderator: Dec 14, 2014
    • Like Like x 4
  30. moli

    moli Grizzled Member

    Joined:
    Aug 5, 2014
    Messages:
    3,262
    Likes Received:
    1,837
    Trophy Points:
    1,183
    A nice, light-weight wallet, fast to sync, I love it. Thanks, vertoe and elbereth for the windows version! :)

     
Thread Status:
Not open for further replies.

Share This Page