Bitcoin Forum
May 04, 2024, 01:16:33 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [56] 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 »
1101  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | Hard Fork At 34140 (DGW) on: March 15, 2014, 08:36:07 PM
Okay, I want to fully understand this.  Step By Step, is this how the DarkSend Protocol is actually working?

1.  A 'Master Node' for the current round is algorithmically selected on a (pseudo) random basis based on a hash of information in the blockchain. (so everybody who does it selects the same master node).

2. People who want to participate in a coinmix send the 'Master Node' 0.1 Dark (deposit), a redemption address and a 'redemption code' per input.  

3. The 'Master Node' collects information from the participants about how much they want in outputs and creates a transaction (with no inputs yet).

4. 'Master Node' collects signatures from all participants agreeing to the set of all outputs, and updates the transaction.

5. All participants break connection and connect to the network via a new set of peers, making it harder to associate inputs with outputs via network monitoring.

6. Participants communicate transaction inputs to the master node and the master node updates the transaction again.  

7. Participants now provide signatures (over the whole transaction) to 'spend' inputs.  If all inputs are now valid, the transaction is published.

8.  Everybody breaks connection again, reconnecting via a new set of peers,

9.  If all inputs are now valid as spends, the transaction is published and protocol goes to step 11.

10.  The master node creates a new version of the transaction not including the unsigned inputs, and protocol goes to step 3.

11. For each spent input, participants may now send a message to the master node, giving a nonce which, together with the input spent, forms a preimage for their redemption token.  The master node responds by sending them 0.1 Dark.  

If that's right, then the master node can connect inputs and outputs.  Also, the master node can just take everybody's (or anybody's) deposit and stop.   If the master node is honest, then there is no evidence left outside the master node about which inputs go with which outputs.  If the master node is dishonest, then he can later (after the anonymized coins are spent) make an a ransom demand offering to connect inputs with outputs unless he is paid.  

Surely the master node shouldn't be trusted this much, so I must have it wrong.  Can someone please correct me?


You have the general idea down, but how signing works is completely off.

1.  A 'Master Node' for the current round is algorithmically selected on a (pseudo) random basis based on a hash of information in the blockchain -- Perfect

2. The second stage users deposit their inputs. It's just the info to prove they have the money at this point with the collateral tx. Inputs are checked for validity here by the memory pool. You're not allowed in unless your input/collateral is OK.

3. The third stage a user will deposit their outputs they'd like to pay.

4. The forth stage a user signs their input away to ALL outputs present. This includes checks to make sure the transaction pays the party they want. Each input can be signed away COMPLETELY independently of the rest.

5. Signatures are broadcasted and compiled by the master

6. The transaction is verified and broaded if valid.

7.  Everybody breaks connection again, reconnecting via a new set of peers,

"For each spent input, participants may now send a message to the master node, giving a nonce which, together with the input spent, forms a preimage for their redemption token.  The master node responds by sending them 0.1 Dark. "

The implementation doesn't require a redemption token, nonce or anything like this. I don't know where you got that from.

The collateral transaction is made out from you to the master node. It can only be cashed by the masternode (it requires the signature of the master node to cash) and it's only valid for a few minutes.

"If that's right, then the master node can connect inputs and outputs."

That's true, the master node must be able to tie them together to anonymize the transaction. It's the same problem as mixing services too, except in our cause we pick a random node from the network, so it's much safer.

"Also, the master node can just take everybody's (or anybody's) deposit and stop."

That's not true, when you sign the input, you're signing it away to the outputs in the merged transaction. If it looks correct, then you'll sign. There's no risk because it requires your signature.
1102  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | Hard Fork At 34140 (DGW) on: March 15, 2014, 05:22:10 PM
how do you defend against attackers who try to DOS by requesting to be part of a joined transaction but then fail to sign off on the transaction? This is the big problem with coinjoin that prevents it from scaling well. have you guys solved it somehow?
There is a penalty for leaving the connection before the darksend completes.

And how does that work?

You put up a collateral transaction that only the current master node can cash to get into the pool. If you misbehave in any way, the master node will cash it. Each time that costs 0.1DRK, so it could add up pretty quick if you're attacking it.

Masternode's are chosen randomly using a deterministic algorithm that can't be tampered with. This has a nice side effect, people will want to run full nodes to get the random fees. So we should have a pretty strong base of nodes.
1103  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | Hard Fork At 34140 (DGW) on: March 15, 2014, 07:31:38 AM
Apparently the block explorer isn't updating and I calculated the target block using that, so it's much sooner. Sorry about that. All of the main pool have updated already. Please update asap!
1104  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | Hard Fork At 34140 (DGW) on: March 15, 2014, 06:50:19 AM
I just open sourced the custom stratum server and hashing algo for running a pool. This has the recent hashing exploit fixed and quick banning for misconfigured users.
 
https://github.com/evan82/darkcoin-stratum
https://github.com/evan82/xcoin-hash
1105  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | Hard Fork At 34140 (DGW) on: March 15, 2014, 06:48:36 AM
Looks like testnet is on block 126 now.

160 now. two miner.  You and me.



Just you now, I'm going back to mainnet   Wink
1106  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | Hard Fork At 34140 (DGW) on: March 15, 2014, 06:46:39 AM
Hey Evan - Is it Dark Gravity Well or Dark Gravity Wave - Here you said Wave, on twitter you said Well.

Wave, I don't control the twitter account. That's ape
1107  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | Hard Fork At 34140 (DGW) on: March 15, 2014, 04:44:05 AM
There is an offcial wallet for ubuntu 32bit (bin)

http://www.darkcoin.io/downloads/darkcoin-qt , I suppose that's 64x though. You'll have to compile it for 32bit
1108  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | Hard Fork At 34140 (DGW) on: March 15, 2014, 04:43:29 AM
I got block 116, testnet server still 111.


e@e-H87-HD3:~/.darkcoin$ ./darkcoind getmininginfo
{
    "blocks" : 116,
    "currentblocksize" : 1000,
    "currentblocktx" : 0,
    "difficulty" : 0.48572869,
    "errors" : "",
    "generate" : false,
    "genproclimit" : -1,
    "hashespersec" : 0,
    "networkhashps" : 27656,
    "pooledtx" : 0,
    "testnet" : true
}
e@e-H87-HD3:~/.darkcoin$ ./darkcoind getpeerinfo
[
    {
        "addr" : "54.83.59.220:19999",
        "services" : "00000003",
        "lastsend" : 1394856342,
        "lastrecv" : 1394856343,
        "bytessent" : 864,
        "bytesrecv" : 203,
        "blocksrequested" : 0,
        "conntime" : 1394856341,
        "version" : 70002,
        "subver" : "/Satoshi:0.9.0/",
        "inbound" : false,
        "startingheight" : 111,
        "banscore" : 0,
        "syncnode" : true
    }
]

Looks like testnet is on block 126 now.
1109  Other / Archival / Re: delete on: March 15, 2014, 04:15:28 AM
Due to exploits found in KGW, I've implemented a new difficulty retargeting algorithm called DarkGravityWave. You guys might be interested, it's a major improvement over KGW and a complete rewrite.

What is DarkGravityWave? It uses multiple exponential moving averages and a simple moving average to smoothly adjust the difficulty. This implementation is far more simplistic and better suited to adjust difficulty than KGW and also fixes all known exploits.

Check out the source if you're interested:
https://github.com/evan82/darkcoin/commit/07c99052edc617975cdcbe4482e02c52e2d1fbf5
1110  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | 50% cooler/50% less wattage than scryp on: March 15, 2014, 03:19:02 AM
Hard Fork Ahead! Dark Gravity Wave goes into effect on block 34140 (Sunday about 7PM).

I'm really happy with my current implementation of DGW, it seems to be vastly improved over KGW. It uses multiple exponential moving averages and a simple moving average to smoothly adjust the difficulty. We've had huge fluctuations in testnet and it's dealt with everything perfectly.

Here's the commit if you're interested:

https://github.com/evan82/darkcoin/commit/07c99052edc617975cdcbe4482e02c52e2d1fbf5

To update, just download one of these:

Source: http://www.github.com/evan82/darkcoin
Windows QT: http://www.darkcoin.io/downloads/develop/darkcoin-qt.exe
Ubuntu QT: http://www.darkcoin.io/downloads/develop/darkcoin-qt
Ubuntu Daemon: http://www.darkcoin.io/downloads/develop/darkcoind

I'll start messaging all of the pool operators, exchanges and everything. Thanks!


Cool! Soooo you're done with the testnet now?

Yep, it works perfect.
1111  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | 50% cooler/50% less wattage than scryp on: March 15, 2014, 03:16:01 AM
Hard Fork Ahead, v9.0.0! Dark Gravity Wave goes into effect on block 34140 (Saturaday about 1PM).

I'm really happy with my current implementation of DGW, it seems to be vastly improved over KGW. It uses multiple exponential moving averages and a simple moving average to smoothly adjust the difficulty. We've had huge fluctuations in testnet and it's dealt with everything perfectly.

This implementation also fixes all known exploits with KGW, so no more 10k+ difficulty blocks out of nowhere.

Here's the commit if you're interested:

https://github.com/evan82/darkcoin/commit/07c99052edc617975cdcbe4482e02c52e2d1fbf5

To update, just download one of these:

Source: http://www.github.com/evan82/darkcoin
Windows QT: http://www.darkcoin.io/downloads/darkcoin-qt.exe
Ubuntu QT: http://www.darkcoin.io/downloads/darkcoin-qt
Ubuntu Daemon: http://www.darkcoin.io/downloads/darkcoind

I'll start messaging all of the pool operators, exchanges and everything. Thanks!

** Edit: Apparently the block explorer isn't updating and I calculated the target block using that, so it's a day sooner. Sorry about that **
1112  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | 50% cooler/50% less wattage than scryp on: March 15, 2014, 01:22:08 AM
Can we please have 500 dark rewards on the regular server?  Grin  Cheesy  This is niiiiiice1!

seriously, though.  I'm stupid, I don't know how to direct my gpu miner to the wallet in tetnet, could someone please explain?  do I do another config in testnet folder?


I think someone setup stratum earlier? I'll point my GPU at it if they give the creds and address
1113  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | 50% cooler/50% less wattage than scryp on: March 15, 2014, 01:21:08 AM
Up now: http://54.83.59.220:1234/chain/DarkCoin
1114  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | 50% cooler/50% less wattage than scryp on: March 15, 2014, 01:18:51 AM
http://54.83.59.220:1234/ is down, so we are stuck at the previous block 14 even with the latest darkcoind

I think, it's download problem. web server still send old client.


Ah try downloading again, I figured out what happened
1115  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | 50% cooler/50% less wattage than scryp on: March 15, 2014, 01:07:59 AM
Is the pool still available?  I never did download the wallet......

got download darkcoind, see block 14.

I see 21

2014-03-15 01:06:53 compare -- 10 13571907215013122158336145477144902976430333440305951408128.000000 0.000244
2014-03-15 01:06:53 compare -- 11 121274799131509222177666942920683104106947633133649920.000000 0.000244
2014-03-15 01:06:53 compare -- 12 2004315119491890744448887038182688650774630629376.000000 0.000244
2014-03-15 01:06:53 compare -- 13 60240106319137176938959871429875523559358464.000000 0.000244
2014-03-15 01:06:53 compare -- 14 112142881380443084003029522862812306604032.000000 0.000244
2014-03-15 01:06:53 ERROR: AcceptBlock() : incorrect proof of work
2014-03-15 01:06:53 ERROR: ProcessBlock() : AcceptBlock FAILED
2014-03-15 01:06:53 Misbehaving: 54.83.59.220:19999 (0 -> 100) DISCONNECTING

(old clinet ? in server ?)

Try downloading the daemon again and making sure you cleared out testnet3? That's definitely the old daemon, I removed the debug messages
1116  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | 50% cooler/50% less wattage than scryp on: March 15, 2014, 01:05:47 AM
Is the pool still available?  I never did download the wallet......

got download darkcoind, see block 14.

I see 21. Try downloading the daemon again and making sure you cleared out testnet3?
1117  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | 50% cooler/50% less wattage than scryp on: March 15, 2014, 12:54:31 AM
DarkGravityWave On Testnet (Starting over) -- Please Help!

Alright, one more try. I've changed some of the internals, the fast average is now an EMA and the diff is an EMA. So they diff retarget should be pretty accurate now! Looks good from over here.

Add these lines to your config:
addnode=54.83.59.220
testnet=1

*clear testnet3, in your config dir

And download one of these:

Windows QT: http://www.darkcoin.io/downloads/develop/darkcoin-qt.exe
Ubuntu QT: http://www.darkcoin.io/downloads/develop/darkcoin-qt
Ubuntu Daemon: http://www.darkcoin.io/downloads/develop/darkcoind

The difficulty is calculated by a slow and fast moving average and the average difficulty for the last few blocks. You should see the difficulty adjust over a period of 10-30 blocks and osculate around the correct difficulty.

If everything is setup correct you should see we're on block 20

Here's the block explorer for testnet: http://54.83.59.220:1234/chain/DarkCoin
1118  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | 50% cooler/50% less wattage than scryp on: March 14, 2014, 09:46:47 PM
DarkGravityWave On Testnet (starting over) -- Please Help!

DGW looks great and it working perfectly as far as I can tell, I've pushed the changes up to develop on github. But I don't have enough processing power to test the large fluctuations of the network hashrate. Could people join and mine? Let's shoot the difficulty up!

The last test went great, I made some tweaks. If this goes well, we'll fork soon

Add these lines to your config:
addnode=54.83.59.220
testnet=1

*clear testnet3, in your config dir

And download one of these:

Windows QT: http://www.darkcoin.io/downloads/develop/darkcoin-qt.exe
Ubuntu QT: http://www.darkcoin.io/downloads/develop/darkcoin-qt
Ubuntu Daemon: http://www.darkcoin.io/downloads/develop/darkcoind

The difficulty is calculated by a slow and fast moving average and the average difficulty for the last few blocks. You should see the difficulty adjust over a period of 10-30 blocks and osculate around the correct difficulty.

If everything is setup correct you should see we're on block 10

Here's the block explorer for testnet: http://54.83.59.220:1234/chain/DarkCoin
1119  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | 50% cooler/50% less wattage than scryp on: March 14, 2014, 08:02:03 PM
I'm shutting down testnet, thanks for the help.
1120  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN][DRK] DarkCoin | First Anonymous Coin | No Premine | 50% cooler/50% less wattage than scryp on: March 14, 2014, 06:50:32 PM
While we understand Darkcoin can be used for things that are illegal/unlawful purposes, we (the Darkcoin Devs) would prefer not to be associated with that in any way. What DarkSend offers is just a more private blockchain, which is useful for all legitimate business also. However, we can't really control what is done with the technology or how it is used.
Pages: « 1 ... 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 [56] 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!