v0.11.0.x Core Testing

Status
Not open for further replies.

eduffield

Core Developer
Mar 9, 2014
1,084
5,320
183
Darkcoin Version - v0.11.0.x

- Forked from Bitcoin v0.9.3. We are no longer based on the Litecoin source code. (Vertoe)
- Removed centralized checkpointing node / sporking code (to be implemented better in the future)
- New improved fee dialog for Darksent transactions
- Improved Darksend progress bar
- Darksend minimum requirement lowered to 1.5DRK
- Various improvements to Darksend, should work for almost any situation now
- Start-Many rewritten to provide much better support for multi-masternode wallets
- Improved masternode error messages
- Various performance improvements inherited from the new Bitcoin code base
- Spend Non-Denominated inputs first when Darksend checkbox is not selected (UdjinM6)
- Reduced logging spam
- New "masternode outputs" command for use with start-many
- Perfectly balanced masternode payment algorithm
- Regression testing support for Masternodes and Darksend
- Darksend GUI / Feedback improvements
- Masternode count in debug screen

Start-Many Support

Github user freynder rewrote the start-many configuration file to tie specific inputs to specific masternodes, so the client would know
the correct ones to start. To use this functionality, simply make a ~/.darkcoin/masternode.conf with the following information.

Example:

mn1 127.0.0.2:19999 93HaYBVUCYjEMeeH1Y4sBGLALQZE1Yc1K64xiqgX37tGBDQL8Xg 2bcd3c84c84f87eaa86e4e56834c92927a07f9e18718810b92e0d0324456a67c 0
mn2 127.0.0.3:19999 93WaAb3htPJEV8E9aQcN23Jt97bPex7YvWfgMDTUdWJvzmrMqey aa9f1034d973377a5e733272c3d0eced1de22555ad45d6b24abadff8087948d4 0
mn3 127.0.0.4:19999 92Da1aYg6sbenP6uwskJgEY2XWB5LwJ7bXRqc3UPeShtHWJDjDv db478e78e3aefaa8c12d12ddd0aeace48c3b451a8b41c570d0ee375e2a02dfd9 1

More information: https://github.com/darkcoin/darkcoin/pull/62

To easily find the correct output information, use the new "masternode outputs" command

Download

Gitian Builds for v0.11.0.4
Source: https://github.com/darkcoin/darkcoin/tree/v0.11.0.x

--

CI-builds for v0.11.0.5-gc1fde4d

Windows 32bit:
http://bamboo.darkcoin.qa/artifact/DRKW-DEV/JOB1/build-85/gitian-win-darkcoin-bin/32/darkcoin-qt.exe
http://bamboo.darkcoin.qa/artifact/DRKW-DEV/JOB1/build-85/gitian-win-darkcoin-bin/32/darkcoind.exe
http://bamboo.darkcoin.qa/artifact/...5/gitian-win-darkcoin-bin/32/darkcoin-cli.exe
http://bamboo.darkcoin.qa/artifact/...rkcoin-bin/32/darkcoin-0.11.0-win32-setup.exe

Windows 64bit:
http://bamboo.darkcoin.qa/artifact/DRKW-DEV/JOB1/build-85/gitian-win-darkcoin-bin/64/darkcoin-qt.exe
http://bamboo.darkcoin.qa/artifact/DRKW-DEV/JOB1/build-85/gitian-win-darkcoin-bin/64/darkcoind.exe
http://bamboo.darkcoin.qa/artifact/...5/gitian-win-darkcoin-bin/64/darkcoin-cli.exe
http://bamboo.darkcoin.qa/artifact/...rkcoin-bin/64/darkcoin-0.11.0-win64-setup.exe

Mac OS X:
http://bamboo.darkcoin.qa/artifact/...n-osx-darkcoin-dist/darkcoin-0.11.0.4-osx.dmg

Linux 32bit:
http://bamboo.darkcoin.qa/artifact/.../gitian-linux-darkcoin-bin/bin/32/darkcoin-qt
http://bamboo.darkcoin.qa/artifact/DRKL-DEV/JOB1/build-89/gitian-linux-darkcoin-bin/bin/32/darkcoind
http://bamboo.darkcoin.qa/artifact/...gitian-linux-darkcoin-bin/bin/32/darkcoin-cli

Linux 64bit:
http://bamboo.darkcoin.qa/artifact/.../gitian-linux-darkcoin-bin/bin/64/darkcoin-qt
http://bamboo.darkcoin.qa/artifact/DRKL-DEV/JOB1/build-89/gitian-linux-darkcoin-bin/bin/64/darkcoind
http://bamboo.darkcoin.qa/artifact/...gitian-linux-darkcoin-bin/bin/64/darkcoin-cli
 
Last edited by a moderator:

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
Draft of full release notes available here:
https://github.com/darkcoin/darkcoin/blob/v0.11.0.x/doc/release-notes/release-notes-0.11.0.md

0.11.0 Release notes
Darkcoin Core 0.11.0 is forked off the Bitcoin Core 0.9.3. The old darkcoin versions 0.10.x were forked from the Litecoin 0.8 tree. The following changes are introduced in this major release. This list is compiled from the release notes of Bitcoin Core 0.9.0, 0.9.1, 0.9.2, 0.9.2.1, 0.9.3 and was completed with the introduced changes to the Darkcoin Core 0.11.0.

Client:
  • Rebrand to Darkcoin Core
  • Version bumped to 0.11 to indicate a new major release
  • Renamed client to identify with network from Satoshi to Core
  • Bump protocol version to 70052
  • Changed p2sh-address versions to start with 7 (instead of 3, this affects public keys only, old scripts remain valid and usable!)
  • Changed testnet address versions to start with x or y (instead of m or n, this affects public keys only, old wallets remain valid and usable!)
  • Defined BIP32 (HD) address versions to start with drkp/drkv (DRKP/DRKV for testnet)
  • Added new units: duffs (1 / 100.000.000 DRK)
  • Added units for testnet: tDRK, mtDRK, utDRK, tduffs
  • Added new DNS seed from masternode.io
  • Fixed wallet locking after sending coins
  • Consider generated coins mature at 101 instead of 120 blocks
  • Add -regtest mode, similar to testnet but private with instant block generation with setgenerate RPC.
  • Add separate darkcoin-cli client
Masternodes:
  • Improve support for start-many with multi masternode config
  • New masternode rpc commands: stop-many, start-alias, stop-alias, list-conf
  • Fixed possible masternode payments exploit
  • Better support for non-specific masternode payments
  • Added masternode support for regtest
  • Randomly sort masternodes before picking next winner
  • Show number of masternodes in debug window
Darksend:
  • Reduced lower darksend limit to 1.5 DRK
  • Fixed progress bar calculation for low amounts
  • Improved support for adding DRK after anon has completed
  • Added denomination information to Overview tab
  • Added more detailed Darksend status information to Overview tab
  • Added Darksend high precision matching engine
RPC:
  • Add getwalletinfo, getblockchaininfo and getnetworkinfo calls (will replace hodge-podge getinfo at some point)
  • Add a relayfee field to getnetworkinfo
  • Always show syncnode in getpeerinfo
  • sendrawtransaction: report the reject code and reason, and make it possible to re-send transactions that are already in the mempool
  • getmininginfo show right genproclimit
  • New notion of 'conflicted' transactions, reported as confirmations: -1
  • 'listreceivedbyaddress' now provides tx ids
  • Add raw transaction hex to 'gettransaction' output
  • Updated help and tests for 'getreceivedby(account|address)'
  • In 'getblock', accept 2nd 'verbose' parameter, similar to getrawtransaction, but defaulting to 1 for backward compatibility
  • Add 'verifychain', to verify chain database at runtime
  • Add 'dumpwallet' and 'importwallet' RPCs
  • 'keypoolrefill' gains optional size parameter
  • Add 'getbestblockhash', to return tip of best chain
  • Add 'chainwork' (the total work done by all blocks since the genesis block) to 'getblock' output
  • Make RPC password resistant to timing attacks
  • Clarify help messages and add examples
  • Add 'getrawchangeaddress' call for raw transaction change destinations
  • Reject insanely high fees by default in 'sendrawtransaction'
  • Add RPC call 'decodescript' to decode a hex-encoded transaction script
  • Make 'validateaddress' provide redeemScript
  • Add 'getnetworkhashps' to get the calculated network hashrate
  • New RPC 'ping' command to request ping, new 'pingtime' and 'pingwait' fields in 'getpeerinfo' output
  • Adding new 'addrlocal' field to 'getpeerinfo' output
  • Add verbose boolean to 'getrawmempool'
  • Add rpc command 'getunconfirmedbalance' to obtain total unconfirmed balance
  • Explicitly ensure that wallet is unlocked in importprivkey
  • Add check for valid keys in importprivkey
Command-line options:
  • Fix -printblocktree output
  • Show error message if ReadConfigFile fails
  • New option: -nospendzeroconfchange to never spend unconfirmed change outputs
  • New option: -zapwallettxes to rebuild the wallet's transaction information
  • Rename option '-tor' to '-onion' to better reflect what it does
  • Add '-disablewallet' mode to let darkcoind run entirely without wallet (when built with wallet)
  • Update default '-rpcsslciphers' to include TLSv1.2
  • make '-logtimestamps' default on and rework help-message
  • RPC client option: '-rpcwait', to wait for server start
  • Remove '-logtodebugger'
  • Allow -noserver with darkcoind
Protocol and network code:
  • Don't poll showmyip.com, it doesn't exist anymore
  • Add a way to limit deserialized string lengths and use it
  • Increase IsStandard() scriptSig length
  • Avoid querying DNS seeds, if we have open connections
  • Remove a useless millisleep in socket handler
  • Stricter memory limits on CNode
  • Better orphan transaction handling
  • Add -maxorphantx=<n> and -maxorphanblocks=<n> options for control over the maximum orphan transactions and blocks
  • Per-peer block download tracking and stalled download detection
  • Prevent socket leak in ThreadSocketHandler and correct some proxy related socket leaks
  • Use pnode->nLastRecv as sync score (was the wrong way around)
  • Drop the fee required to relay a transaction to 0.01mDRK per kilobyte
  • Send tx relay flag with version
  • New 'reject' P2P message (BIP 0061, see https://gist.github.com/gavinandresen/7079034 for draft)
  • Dump addresses every 15 minutes instead of 10 seconds
  • Relay OP_RETURN data TxOut as standard transaction type
  • Remove CENT-output free transaction rule when relaying
  • Lower maximum size for free transaction creation
  • Send multiple inv messages if mempool.size > MAX_INV_SZ
  • Split MIN_PROTO_VERSION into INIT_PROTO_VERSION and MIN_PEER_PROTO_VERSION
  • Do not treat fFromMe transaction differently when broadcasting
  • Process received messages one at a time without sleeping between messages
  • Improve logging of failed connections
  • Add some additional logging to give extra network insight
Wallet:
  • Check redeemScript size does not exceed 520 byte limit
  • Ignore (and warn about) too-long redeemScripts while loading wallet
  • Make GetAvailableCredit run GetHash() only once per transaction (performance improvement)
  • Lower paytxfee warning threshold
  • Fix importwallet nTimeFirstKey (trigger necessary rescans)
  • Log BerkeleyDB version at startup
  • CWallet init fix
  • Bug fixes and new regression tests to correctly compute the balance of wallets containing double-spent (or mutated) transactions
  • Store key creation time. Calculate whole-wallet birthday.
  • Optimize rescan to skip blocks prior to birthday
  • Let user select wallet file with -wallet=foo.dat
  • Don't count txins for priority to encourage sweeping
  • Don't create empty transactions when reading a corrupted wallet
  • Fix rescan to start from beginning after importprivkey
GUI:
  • fix 'opens in testnet mode when presented with a BIP-72 link with no fallback'
  • AvailableCoins: acquire cs_main mutex
  • Fix unicode character display on MacOSX
  • Fix various coin control visual issues
  • Show number of in/out connections in debug console
  • Show weeks as well as years behind for long timespans behind
  • Enable and disable the Show and Remove buttons for requested payments history based on whether any entry is selected.
  • Show also value for options overridden on command line in options dialog
  • Fill in label from address book also for URIs
  • Fixes feel when resizing the last column on tables
  • Fix ESC in disablewallet mode
  • Add expert section to wallet tab in optionsdialog
  • Do proper boost::path conversion (fixes unicode in datadir)
  • Only override -datadir if different from the default (fixes -datadir in config file)
  • Show rescan progress at start-up
  • Show importwallet progress
  • Get required locks upfront in polling functions (avoids hanging on locks)
  • Catch Windows shutdown events while client is running
  • Optionally add third party links to transaction context menu
  • Check for !pixmap() before trying to export QR code (avoids crashes when no QR code could be generated)
  • Fix "Start darkcoin on system login"
  • Switch to Qt 5.2.0 for Windows build
  • Add payment request (BIP 0070) support
  • Improve options dialog
  • Show transaction fee in new send confirmation dialog
  • Add total balance in overview page
  • Allow user to choose data directory on first start, when data directory is missing, or when the -choosedatadir option is passed
  • Save and restore window positions
  • Add vout index to transaction id in transactions details dialog
  • Add network traffic graph in debug window
  • Add open URI dialog
  • Improve receive coins workflow: make the 'Receive' tab into a form to request payments, and move historical address list functionality to File menu.
  • Move initialization/shutdown to a thread. This prevents "Not responding" messages during startup. Also show a window during shutdown.
  • Don't regenerate autostart link on every client startup
  • Show and store message of normal darkcoin:URI
  • Fix richtext detection hang issue on very old Qt versions
  • OS X: Make use of the 10.8+ user notification center to display Growl-like notifications
  • OS X: Added NSHighResolutionCapable flag to Info.plist for better font rendering on Retina displays.
  • OS X: Fix darkcoin-qt startup crash when clicking dock icon
  • Linux: Fix Gnome darkcoin: URI handler
 
Last edited by a moderator:

thelonecrouton

Well-known Member
Foundation Member
Apr 15, 2014
1,135
813
283
So far so good! :)

[email protected]:~/.darkcoin# ./darkcoind masternode start
successfully started masternode
[email protected]:~/.darkcoin# ./darkcoind getinfo
{
"version" : 110000,
"protocolversion" : 70052,
"walletversion" : 60001,
"balance" : 6255.35463888,
"blocks" : 85120,
"timeoffset" : 0,
"connections" : 0,
"proxy" : "",
"difficulty" : 0.07083969,
"testnet" : true,
"keypoololdest" : 1417485814,
"keypoolsize" : 1001,
"paytxfee" : 0.00000000,
"relayfee" : 0.00001000,
"errors" : ""
}

edit: still no connections, can't pick up any on local Linux 64 QT client either. Port 19999 open everywhere.

edit2: various build errors involving libdb4.8 and boost, yes I installed db4.8 as per instructions, will try on a cleam VM in case I've borked something on my laptop.
 
Last edited by a moderator:

stonehedge

Well-known Member
Foundation Member
Jul 31, 2014
696
333
233
Lets roll!

flare Are those testnet masternodes that I provided still sufficient?
 

stonehedge

Well-known Member
Foundation Member
Jul 31, 2014
696
333
233
I can't get either the 32 bit or 64 bit windows QT executables to run. When execute I get an hourglass for a couple of seconds and then the process terminates without any message at all.

Any ideas?
 
Last edited by a moderator:

qwizzie

Well-known Member
Aug 6, 2014
1,655
798
183
same problem... was about to post

Also i'm curious what the darkcoin-cli.exe exactly does in windows 32bit or 64bit
 

crowning

Well-known Member
May 29, 2014
1,415
1,997
183
Alpha Centauri Bc
darkcoin-qt immediately crashes under Win7 64 (both the 32 and the 64 bit versions of the client).

It doesn't even come to the point where it creates or accesses the default .darkcoin folder, so there's no debug.log.

My Bitcoin v0.9.3 client runs fine.

Edit: started it with the existing testnet blockchain (is it compatible with the current testnet?) and without it, no difference.
 
Last edited by a moderator:
S

snogcel

Guest
Awesome!! really been looking forward to this release, Masternode up and running on testnet :)

Edit: seeing 3 connections now
 
Last edited:

qwizzie

Well-known Member
Aug 6, 2014
1,655
798
183
darkcoin-qt immediately crashes under Win7 64 (both the 32 and the 64 bit versions of the client).

It doesn't even come to the point where it creates or accesses the default .darkcoin folder, so there's no debug.log.

My Bitcoin v0.9.3 client runs fine.

there was a problem with change min version to 70046 which has been fixed. i assume thats also causing the windows binaries failures...i suspect Evan is recompiling
 

thelonecrouton

Well-known Member
Foundation Member
Apr 15, 2014
1,135
813
283
OK, MN now showing 2 connections, but...

[email protected]:~/.darkcoin# ./darkcoind masternode list
{
"176.126.241.100:19999" : 1,
"64.251.69.134:19999" : 1,
"108.61.198.220:19999" : 1,
"108.61.166.232:19999" : 1,
"108.61.164.106:19999" : 1,
"107.191.48.59:19999" : 1,
"107.191.48.59:19999" : 1,
"211.99.224.162:19999" : 1,
"211.99.224.172:19999" : 1,
"211.99.224.173:19999" : 1,
"211.99.224.174:19999" : 1,
"178.62.203.249:19999" : 1,
"127.0.0.4:19999" : 1,
"104.33.210.231:19999" : 1,
"108.61.199.31:19999" : 1,
"198.50.148.87:19999" : 1,
"85.214.22.190:19999" : 1,
"81.169.177.196:19999" : 1,
"78.46.66.139:19999" : 1
}
...naughty LAN address has crashed the party.
 
  • Like
Reactions: crowning

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
Awesome!! really been looking forward to this release, Masternode up and running on testnet :)

Edit: seeing 3 connections now
3 is good. if anyone has 0 connections please pm me debug log and use:
  • ipv4: addnode=188.40.57.201
  • ipv6: addnode=[2a01:4f8:100:32ee::2]
OK, MN now showing 2 connections, but...

[email protected]:~/.darkcoin# ./darkcoind masternode list
{
...
"127.0.0.4:19999" : 1,
...
}
...naughty LAN address has crashed the party.
Yeah, known issue from 0.10.x, crowning already fixed this. (Not related to v11 testing.)

Good find. Similar problem as last week with the RFC1918 addresses:

https://github.com/darkcoin/darkcoin/pull/95/files
Edit: Thanks for this.
 
  • Like
Reactions: Raico and tungfa

qwizzie

Well-known Member
Aug 6, 2014
1,655
798
183
Any update on those windows binaries (x32 or x62) not working ? (specifically the darkcoin-qt.exe)
Is it related to the changemin version hotfix ? are we just awaiting the recompilings now ? Or is it
something else entirely ?
 
  • Like
Reactions: TaoOfSatoshi

eduffield

Core Developer
Mar 9, 2014
1,084
5,320
183
Any update on those windows binaries (x32 or x62) not working ? (specifically the darkcoin-qt.exe)
Is it related to the changemin version hotfix ? are we just awaiting the recompilings now ? Or is it
something else entirely ?
I'm not sure what's wrong with the windows build yet. Anyone have a windows machine they can build it on?
 
Status
Not open for further replies.