• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

v0.10.12.x RC4 Testing

Status
Not open for further replies.
When RC4 is finished this will be the case for sure, but for now i needed to trigger it manually

Nevertheless i did not manage to darksend to another wallet yet, the coins stay in the source wallet...

All you need to do is:

1.) Make a new wallet, put some darkcoin in it
2.) Don't set it up as a masternode, don't encrypt it (it won't ask for the password currently and masternodes aren't supported for darksend)
3.) Wait and every 10 blocks you should see a message in the logs "DoAutomaticDenomination"
4.) If it finds 3 people to merge with, you'll see transactions to yourself.

I've confirmed this works, I have a bunch of transactions to myself as of this morning. But it definitely isn't perfect.
 
I noticed them on my wallet (unencrypted) I left open. Have like 1300 tDRK like that in several 100 tDRK transactions.

EDIT: All automatic, I did nothing manually (darkcoin-qt 0.10.12.x amd64 on Ubuntu)
EDIT2: THat said I had like 9000 tDRK not denomitated and the wallet stayed online for a full day).
 
Last edited by a moderator:
All you need to do is:

1.) Make a new wallet, put some darkcoin in it
2.) Don't set it up as a masternode, don't encrypt it (it won't ask for the password currently and masternodes aren't supported for darksend)
3.) Wait and every 10 blocks you should see a message in the logs "DoAutomaticDenomination"
4.) If it finds 3 people to merge with, you'll see transactions to yourself.

I've confirmed this works, I have a bunch of transactions to myself as of this morning. But it definitely isn't perfect.

Will have a look - question: is function "darksend <toaddress> <amount>" deprecated due to darksend+?
 
I have two wallet.

one do AutomaticDenomination, one not.

Only difference is account name .

http://test.explorer.darkcoin.qa/address/moxiL5j5XNGDhZ9LP69CVuE3cKxAfZVLVe -> DoAutomaticDenomination : bunch of list
Code:
darkcointestnet@e-H87-HD3:~$ darkcoind listaddressgroupings
[
    [
        [
            "moxiL5j5XNGDhZ9LP69CVuE3cKxAfZVLVe",
            3973.75964000
        ],
        [
            "mtr2hBkaDphWDQWDCXaZHGr4Hu7AWoA1t7",
            903.40400000,
            "0"
        ],
        [
            "mmwGeqnnMBRU6cUTP25gZvGi7fsMVSErQX",
            0.00000000,
            "hawk"
        ],
        [
            "mtSgTTZ2qeUmHvmNaA9ZQ7TNfCvcJomF7z",
            100.00200000
        ]
    ]
]

and

log has DoAutomaticDenomination, but not yet..
Code:
darktest@sv2:~> darkcoind listaddressgroupings
[
    [
        [
            "mzs5Bu8MvD8rjrTrSDTbJfs31fHiTCr5NH",
            500.00000000,
            ""
        ]
    ],
    [
        [
            "mrGzfnjGvFau28v5XeYqnFHMH79rooPEuW",
            160.00000000
        ],
        [
            "ms2U1dtG1HLypMiuZR3fMR6BJWie2omDaf",
            0.00000000,
            ""
        ]
    ],
    [
        [
            "n25uMbUfkY2oA5k3Mn8gmb7BaBwz6cMAvv",
            0.01738474
        ],
        [
            "n2Uv7ab63kYV2zyZ5pDG1LnPTrAcHiVNUE",
            774.30417376,
            "MINING"
        ]
    ]
]
 
I am currently setting up a stress test for the transaction system: 3 nodes sending random amounts of coins to each other to alternating addresses - lets see if we can handle litecoin/bitcoin trafiic :smile:
 
Works - added transaction noise :)

gvdoE3Y.png


Have to cleanup the script first and then will provide it to you.
 
More transaction spam!

Currently only fires in semi-auto mode, you have to keep pulling the trigger. I'll upgrade it tomorrow so it just keeps firing by itself until a minimum wallet balance is reached. And maybe just grab the output of 'masternode list' by itself.

edit: now displays remaining ammo at end

spamsend.py
Code:
#!/usr/bin/python

import subprocess, random

addresslist = (line.rstrip('\n') for line in open("masternodelist.txt"))
for address in addresslist:
amount = random.randrange(1,10+1)
s = 'Sending ' + str(amount) + ' to ' + str(address)
print s
a = str(amount)
addr = str(address)
subprocess.call(['./darkcoind', 'sendtoaddress', addr, a])
balance = subprocess.check_output(['./darkcoind', 'getbalance'])
print 'Balance remaining = ' + balance

masternodelist.txt:
Code:
n463zhqSexzpLtvz1iGmLKGsnRVXdXTCWZ
n3LPtjo2QNUzdpyn3yQkqTDvGn74yTSP7w
n37LjfqZYfyAJdNvp2wpHJbnA9jb4YAtVW
n3477ZfbKrovCAZ8WgBHHk1f9YwzWgjJ3o
n2xU4Y743oiWpu1nkHXdvbQTVKTqB8FRKo
n2Wg5yQx258L4emt3tFgrmv9nPnVVi26aB
n23eoeYKnmh8Ybg7U9DQ7kfpsU8N7C6hKZ
n1bb8zU5A3aS1ZoGCLAkggWJnGQdfMkHhR
n1AZHixxuwXH2hTcXyEDu63gBESnRQwier
mzVPa9pUKviaLFYMBcPRxUfG8yALXjHbpa
mzUwVLqv4WMAPbfCJxtG4YfwSjcT5Vt1Em
my63g87UR36Kdov6m2SBMAmRGAsjWSDX7j
mwfrRyK7kpwTqAqdwdwvxWAo21H6MTnEpL
mvrfEXW1ZazecE2cMufCoz2RyGssLwysLr
mubrbRNo51o9sj4hiyFSqkPzUkMEtrao6Q
mu2EV6HqFEDZWdXEKmeNQVGWLxadLPXRAG
msuYaWseCEFm6FtU9iaEPBT6HiSTd4MTDX
mpwjKxJSpTN1LTDbu2BPtXryRpMQi5BSwa
mpuTzSLxMQcSzgdPgs4BHxfCvTSBvWZKF4
mpuD7ci4Y3PA8THoHCWz7GfAZSrnGTSgCf
mmC4xYH8D38h7xsQ8XqfmsTTsaDrdGbHNb
mj79S74NkQbkVnrJq1xyry9K8htg19g9px
mj1eJunhQuBnxShsMxwDKWonANzB3uZsKh
mgLthxzMjabQLnLNZCAcQVxky5JfeiaS8h
mg3NpRmgu4Wv7ARJB3XTEa2vBGKvkgJGNw

edit2: spamsend2.py, full auto spendspam to set minimum balance.
Code:
#!/usr/bin/python

import subprocess, random

addresslist = (line.rstrip('\n') for line in open("masternodelist.txt"))
balance = float(subprocess.check_output(['./darkcoind', 'getbalance']))
bal = 'Starting balance = ' + str(balance)
print bal
for address in addresslist:
if balance > 50000:
  amount = random.randrange(1,10+1)
  s = 'Sending ' + str(amount) + ' to ' + str(address)
  print s
  a = str(amount)
  addr = str(address)
  subprocess.call(['./darkcoind', 'sendtoaddress', addr, a])
  balance = float(subprocess.check_output(['./darkcoind', 'getbalance']))
  remaining = 'Balance remaining =  ' + str(balance)
  print remaining
else:
  print 'Spent to minimum!'

edit3 : crap I've managed to spend some of my original 1000DRK and broken my node.
 
Last edited by a moderator:
Code:
2014-07-23 03:46:08 found coins 3
2014-07-23 03:46:08  vin nValue 17999220000000
2014-07-23 03:46:08 DoAutomaticDenominating : Running darksend denominate for 179992 coins
 
Last edited by a moderator:
More transaction spam!

Currently only fires in semi-auto mode, you have to keep pulling the trigger. I'll upgrade it tomorrow so it just keeps firing by itself until a minimum wallet balance is reached. And maybe just grab the output of 'masternode list' by itself.

edit: now displays remaining ammo at end

spamsend.py
Code:
#!/usr/bin/python

import subprocess, random

addresslist = (line.rstrip('\n') for line in open("masternodelist.txt"))
for address in addresslist:
amount = random.randrange(1,10+1)
s = 'Sending ' + str(amount) + ' to ' + str(address)
print s
a = str(amount)
addr = str(address)
subprocess.call(['./darkcoind', 'sendtoaddress', addr, a])
balance = subprocess.check_output(['./darkcoind', 'getbalance'])
print 'Balance remaining = ' + balance

masternodelist.txt:
Code:
n463zhqSexzpLtvz1iGmLKGsnRVXdXTCWZ
n3LPtjo2QNUzdpyn3yQkqTDvGn74yTSP7w
n37LjfqZYfyAJdNvp2wpHJbnA9jb4YAtVW
n3477ZfbKrovCAZ8WgBHHk1f9YwzWgjJ3o
n2xU4Y743oiWpu1nkHXdvbQTVKTqB8FRKo
n2Wg5yQx258L4emt3tFgrmv9nPnVVi26aB
n23eoeYKnmh8Ybg7U9DQ7kfpsU8N7C6hKZ
n1bb8zU5A3aS1ZoGCLAkggWJnGQdfMkHhR
n1AZHixxuwXH2hTcXyEDu63gBESnRQwier
mzVPa9pUKviaLFYMBcPRxUfG8yALXjHbpa
mzUwVLqv4WMAPbfCJxtG4YfwSjcT5Vt1Em
my63g87UR36Kdov6m2SBMAmRGAsjWSDX7j
mwfrRyK7kpwTqAqdwdwvxWAo21H6MTnEpL
mvrfEXW1ZazecE2cMufCoz2RyGssLwysLr
mubrbRNo51o9sj4hiyFSqkPzUkMEtrao6Q
mu2EV6HqFEDZWdXEKmeNQVGWLxadLPXRAG
msuYaWseCEFm6FtU9iaEPBT6HiSTd4MTDX
mpwjKxJSpTN1LTDbu2BPtXryRpMQi5BSwa
mpuTzSLxMQcSzgdPgs4BHxfCvTSBvWZKF4
mpuD7ci4Y3PA8THoHCWz7GfAZSrnGTSgCf
mmC4xYH8D38h7xsQ8XqfmsTTsaDrdGbHNb
mj79S74NkQbkVnrJq1xyry9K8htg19g9px
mj1eJunhQuBnxShsMxwDKWonANzB3uZsKh
mgLthxzMjabQLnLNZCAcQVxky5JfeiaS8h
mg3NpRmgu4Wv7ARJB3XTEa2vBGKvkgJGNw

edit2: spamsend2.py, full auto spendspam to set minimum balance.
Code:
#!/usr/bin/python

import subprocess, random

addresslist = (line.rstrip('\n') for line in open("masternodelist.txt"))
balance = float(subprocess.check_output(['./darkcoind', 'getbalance']))
bal = 'Starting balance = ' + str(balance)
print bal
for address in addresslist:
if balance > 50000:
  amount = random.randrange(1,10+1)
  s = 'Sending ' + str(amount) + ' to ' + str(address)
  print s
  a = str(amount)
  addr = str(address)
  subprocess.call(['./darkcoind', 'sendtoaddress', addr, a])
  balance = float(subprocess.check_output(['./darkcoind', 'getbalance']))
  remaining = 'Balance remaining =  ' + str(balance)
  print remaining
else:
  print 'Spent to minimum!'
It's raining tDRK :grin:
edit3 : crap I've managed to spend some of my original 1000DRK and broken my node.

As far as i know the 1000DRK vin gets locked if you issue a "masternode start" - this has to be redone on each restart of darkcoind to lock the vin.
 
And what can i do with this Darkcoins?
As this are testnet coins and you don't have a Linux system to run a testnet masternode with them, there is not much you can do beside sending them around in the network :smile: (to yourself, to masternode addresses, to a second client you have set up)

So actually you can to everything you can do with real Darkcoins - beside selling :grin:
 
Interesting: If there is dissent in the network, its not a single node but a cluster which has differing selection - potential root cause for mini-forks...

OIw0URu.png


Evan what do you think?
 
Interesting: If there is dissent in the network, its not a single node but a cluster which has differing selection - potential root cause for mini-forks...

OIw0URu.png


Evan what do you think?
Also, the dissent is seemingly between versions 91202 and 101203, i.e. between tp2pool (elbereth's tp2pool), nomp (chaeplin's nomp/sv03), non-darksend clients (chaeplin's sv01), and masternodes (the rest).
 
So it's ok to use windows 32 bit on a 64bit box, right? I tried using my mainnet wallet on testnet, but got no connections, I assume that's what's supposed to happen? rejection?
Anyways, I discovered that to get my masternode to start, I had to have masternode=1 and masternodeprivkey=blah in my mainnet folder (I also have it in my testnet folder) Then I could finally start my master node, and it seams I'm in testnet. I think that's a bit weird. I would have thought that all darkcoin.conf information comes directly from the testnet folder and that the mainnet folder would be completely bypassed if the darkcoin conf says testnet=1
This is why I couldn't get anything to work yesterday.

Ok, anyways, gonna run a wallet on my windows box, mining on my Ubuntu, and masternoding on the Ubuntu as well.

So what I'm interested in seeing is if the funds I just sent to my windows box gets denominated on it's own. Will all the new addresses show up in the address tab?
 
Last edited by a moderator:
Interesting: If there is dissent in the network, its not a single node but a cluster which has differing selection - potential root cause for mini-forks...

OIw0URu.png


Evan what do you think?
until about a half hour ago, I was running a mn with the oldest test version. Maybe I caused trouble (I hope ;) that was my intention?? My luck, I had nothing to do with it though, LOL.
 
Can i get some DRK transfered with Darksend.
I can not send coins "received with Darksend" until i never got some ?
n1bb8zU5A3aS1ZoGCLAkggWJnGQdfMkHhR
 
Status
Not open for further replies.
Back
Top