v0.10.16 - Onyx v2

strix

Well-known Member
Foundation Member
Sep 14, 2014
140
121
193
The Shadow Lands
Using the wallet (solo mining) your mined coins will be added to a new address in the wallet.

Tip: try testnet! Difficulty is low and chances to find testnet coins very high ;-)
Again thanks. I have wanted to try running a master node on testnet as well. Do I need a separate wallet? Do I simply type "testnet true" or do I need to create the drk.config file and put it in there?

Little by little I'm trying to figure all this out. Even signed up for a Python course on Coursera. Out of curiosity, what would you recommend as the path of least resistance for someone considered fairly intelligent, but short on funds, for learning the ins and outs of the Darkcoin code?
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
Again thanks. I have wanted to try running a master node on testnet as well. Do I need a separate wallet? Do I simply type "testnet true" or do I need to create the drk.config file and put it in there?

Little by little I'm trying to figure all this out. Even signed up for a Python course on Coursera. Out of curiosity, what would you recommend as the path of least resistance for someone considered fairly intelligent, but short on funds, for learning the ins and outs of the Darkcoin code?
You need a separate wallet with a darkcoin.conf with the "testnet=1" setting in it. Further, you need to run it on port 19999 instead of 9999.

As for the ins and outs of the code, since it's C++, your best bet is to following some of the online tutorials on basic functionality and dive in to the code since it's open source. Go line by line and see if you can understand the logic behind it.
 
  • Like
Reactions: strix

paperThin

Member
Jun 13, 2014
106
19
68
Hey All,

I have 2 stupid questions if someone could enlighten me!
  1. How does the new DS mix work so that the fees are zero? Who pays the TX fees?
  2. I left my liquidity provider on all weekend and had 39 "Darksend Denominates". Why do my inputs show only "9 rounds"?
I did 8 rounds DSD on the inputs (Friday) and then started up "liquidity mode" for the weekend. I expected to see 47 rounds this morning, but it only shows 9.
Thanks in advance!
[EDIT: I am not asking for a detailed explanation of the code... just the big picture of "how it works"]
 

strix

Well-known Member
Foundation Member
Sep 14, 2014
140
121
193
The Shadow Lands
You need a separate wallet with a darkcoin.conf with the "testnet=1" setting in it. Further, you need to run it on port 19999 instead of 9999.

As for the ins and outs of the code, since it's C++, your best bet is to following some of the online tutorials on basic functionality and dive in to the code since it's open source. Go line by line and see if you can understand the logic behind it.
Thank you oblox. Have you got a sample link for the tutorials you mention? Should I forgo spending time on Python, and dive straight into C++?
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
Thank you oblox. Have you got a sample link for the tutorials you mention? Should I forgo spending time on Python, and dive straight into C++?
Just google C++ tutorials and you'll find oodles of free information. There is nothing wrong with Python, but if you're primary desire to understanding how darkcoin is made then I would go straight C++ being that it's what it's coded in.
 
  • Like
Reactions: strix

strix

Well-known Member
Foundation Member
Sep 14, 2014
140
121
193
The Shadow Lands
Just google C++ tutorials and you'll find oodles of free information. There is nothing wrong with Python, but if you're primary desire to understanding how darkcoin is made then I would go straight C++ being that it's what it's coded in.
OK thanks, that gives me some more to think about. Got to run.
 

UdjinM6

Official Dash Dev
Dash Core Group
May 20, 2014
3,639
3,537
1,183

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
Guys... wtf!? Someone just posted on bitcoitalk, and I checked and something fishy might be up. This MN address seems to be payed multiple times a day. Either that, or someone is cashing out multiple nodes with each payment. I'm not good enough to backtrack tx

http://explorer.darkcoin.io/address/XcMnyvL2rsGzSjsa97gHyCV8RfSPxpGynT
https://bitcointalk.org/index.php?topic=421615.msg9651915#msg9651915
https://bitcointalk.org/index.php?topic=421615.msg9651930#msg9651930
https://bitcointalk.org/index.php?topic=421615.msg9651948#msg9651948
 
  • Like
Reactions: UdjinM6

yidakee

Well-known Member
Foundation Member
Apr 16, 2014
1,812
1,168
283
Oh !! didnt know that. Cool ! Sorry for the false alarm
 

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
That was fast! Did you bookmarked them? :D
lol, I saw him say he was going to post on here so I had that shit on lockdown waiting for the post here ;)

Sidenote, you ever pop into the #darkcoin channel??
 

UdjinM6

Official Dash Dev
Dash Core Group
May 20, 2014
3,639
3,537
1,183
lol, I saw him say he was going to post on here so I had that shit on lockdown waiting for the post here ;)

Sidenote, you ever pop into the #darkcoin channel??
I did few times before (when we had troubles with MNs) but I don't keep irc running all the time... hmm.. I almost never keep it running actually... :)
 
  • Like
Reactions: flare

donho

Member
Masternode Owner/Operator
Apr 16, 2014
96
20
58
It seems there is some kind of jitter in the list, as nodes dynamically enter and leave it. Judging on the list of payments your node received all is fine - the next payment should occur in the next hours.

So yeah, it seems like a cosmetic bug/minor bug of masternode list and how the peers maintain it. Peers should not remove nodes which have actively pinged durig the last 70mins. We will check that.
My node disappeared once more from drk.mn and has not reappeared for some time now. Also I have not received a further payment for 3 days
 

GilAlexander

Member
Jun 26, 2014
84
23
48
My node disappeared once more from drk.mn and has not reappeared for some time now. Also I have not received a further payment for 3 days
The same - have not received payment after 1400 blocks, but my mn is active according to drk.mn. Will restart now.
 

thelonecrouton

Well-known Member
Foundation Member
Apr 15, 2014
1,135
813
283
My node disappeared once more from drk.mn and has not reappeared for some time now. Also I have not received a further payment for 3 days
What does your MN say? './darkcoind masternode list | grep a.b.c.d:9999'

drk.mn is not the Word of God, its a site that displays info collected from scripts that query elbereths MNs, sometimes those scrips flake out.

Check your MN is running at source first, then go from there.
 
  • Like
Reactions: buster

donho

Member
Masternode Owner/Operator
Apr 16, 2014
96
20
58
What does your MN say? './darkcoind masternode list | grep a.b.c.d:9999'

drk.mn is not the Word of God, its a site that displays info collected from scripts that query elbereths MNs, sometimes those scrips flake out.

Check your MN is running at source first, then go from there.
my own MN says active, :1
I quoted flares post because I wrote about my problem couple of pages back already. Then it seems to fix itself with drk.mn (yes I know it's just like any other Node and not the word of god, but it shows that there are some problems with the MN list propagating!)

Back then it seemed to fix itself and only be a minor temporary cosmetic bug that would fix itself. But now it looks like my node won't reapear on the MN list and the MN payment is overdue, which suggests that it's not only cosmetic.
 

GilAlexander

Member
Jun 26, 2014
84
23
48
The same - have not received payment after 1400 blocks, but my mn is active according to drk.mn. Will restart now.
I cannot restart now because it's already active ("masternode started remotely").

Here's the address: https://bitinfocharts.com/darkcoin/address/[URL='https://bitinfocharts.com/darkcoin/address/XdUSY1bcm299hG6eciHRziZNYZ819fh8qb']XdUSY1bcm299hG6eciHRziZNYZ819fh8qb[/URL]
I've send all except 1000drk vin from it two days ago, it coincided with turning to 30% payments. Nothing else was changed.
Looks active according to drk.mn (active duration: 1w4d4h59m25s), my local wallet and mn itself.
"*:9999" : 1,
Last payment was from 175179 block and the highest is 176685 now, delta is 1506.
What's the problem? Lazy to change ip, mn privkey, address again.
 
Last edited by a moderator:

thelonecrouton

Well-known Member
Foundation Member
Apr 15, 2014
1,135
813
283
I cannot restart now because it's already active ("masternode started remotely").

Here's the address: https://bitinfocharts.com/darkcoin/address/XdUSY1bcm299hG6eciHRziZNYZ819fh8qb
I've send all except 1000drk vin from it two days ago, it coincided with turning to 30% payments. Nothing else was changed.
Looks active according to drk.mn (active duration: 1w4d4h59m25s), my local wallet and mn itself.

Last payment was from 175179 block and the highest is 176685 now, delta is 1506.
What's the problem? Lazy to change ip, mn privkey, address again.
Looks fine from my local daemon and the one MN I checked on too.

Do your VPS logs/stats show any outages? I'm wondering if your MN went down temporarily for some reason at the wrong time and missed its payment 'slot' ?
 

GilAlexander

Member
Jun 26, 2014
84
23
48
Do your VPS logs/stats show any outages?
Found "Status Check Failed (Any)" which is 0 for the last week (I'm using Amazon). Other graphics are uniform.
I'm wondering if your MN went down temporarily for some reason at the wrong time and missed its payment 'slot' ?
MN must be online (reachable) exactly when "my" block is mined?
I'm really not very familiar with the current payment shedule. If it is deterministic, how one can view at the "queue" for the next time? And when does MN gets a place in that queue?

UPD Restarted and finally got first payment.
 
Last edited by a moderator:

weirdgod

Well-known Member
Foundation Member
Jun 4, 2014
91
51
168
Slovenia, EU
Possible (small) bug?

I've been running 10.16.16 in the darksend "liquidity provider" mode, with the "-liquidityprovider=1 -anonymizedarkcoinamount=150" parameters on the wallet with 160drks, for the last 10 days or so (since it came out). In this time I've only got hit with 0.1drk charge 4 times, which is a great improvement over previous versions.

I have noticed, that display of the annonymized amount (darksend balance) is fluctuating. I am not sure how this is calculated, but after hundreds of denominations and darksend transactions (and I am not touching this wallet or its balance) I would expect the darksend balance to steadily grow and reach 150 at some point... But instead wallet is today showing darksend balance of 64, but a week ago it was over 120 DRK, and few days ago it was 50DRK...

I think that darksend balance is wrongfully calculated. Maybe balance calculation is based on last X transaction, and does not build on whole history... Could this be the case, or am I missing anything? I can try the -rescan or -reindex but not sure what would happen (in regard to darksend balance).
I can provide 1GB of debug.log on request (i am also using the -debug parameter) ... ?

Ideas?

EDIT: few hours later balance jumped to 119 drk again... vertoe eduffield UdjinM6
 
Last edited by a moderator:

oblox

Well-known Member
Aug 6, 2014
1,032
537
183
Possible (small) bug?

I've been running 10.16.16 in the darksend "liquidity provider" mode, with the "-liquidityprovider=1 -anonymizedarkcoinamount=150" parameters on the wallet with 160drks, for the last 10 days or so (since it came out). In this time I've only got hit with 0.1drk charge 4 times, which is a great improvement over previous versions.

I have noticed, that display of the annonymized amount (darksend balance) is fluctuating. I am not sure how this is calculated, but after hundreds of denominations and darksend transactions (and I am not touching this wallet or its balance) I would expect the darksend balance to steadily grow and reach 150 at some point... But instead wallet is today showing darksend balance of 64, but a week ago it was over 120 DRK, and few days ago it was 50DRK...

I think that darksend balance is wrongfully calculated. Maybe balance calculation is based on last X transaction, and does not build on whole history... Could this be the case, or am I missing anything? I can try the -rescan or -reindex but not sure what would happen (in regard to darksend balance).
I can provide 1GB of debug.log on request (i am also using the -debug parameter) ... ?

Ideas?

EDIT: few hours later balance jumped to 119 drk again... vertoe eduffield UdjinM6
The liquidity provider setting randomly adjusts the amount of drk to anomymize. After it hits the target, it starts over with a new setting.
 

crowning

Well-known Member
May 29, 2014
1,414
1,997
183
Alpha Centauri Bc
Quick idea (right now I'm at work and can't test this):

When the bad node registers let the other nodes ask THAT IP-address for the corresponding vin (or pubkey or whatever else is easy to access).

  1. it's a honest node -> it will give you the correct answer
  2. it's the bad node -> the 'good' node (which owns the physical address) is connected (we don't talk about IP-spoofing here, don't we?) and gives you the wrong answer (it can't return the bad node's vin/pubkey/etc. because it has no idea what's going on).
No correct answer, node not accepted.
Bump!

darkcoind masternode list shows about 1700-something IPs assigned to 1900-something pubkeys, means a lot of IPs are used more than 1x...I still think we have to implement something like this to avoid those duplicates.
Of course avoiding DDOS of innocent Masternodes will be a problem which needs to be addressed.

eduffield ?