Bitcoin Forum
June 23, 2024, 11:43:27 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 [4]
61  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [PRE-ANN] ShinyCoin : new PoW algorithm : PoS : info transactions on: May 21, 2014, 02:50:58 PM
4 - release updated source and give time (days) for the community to get binaries built and distributed, before launching with a seed node.

That makes sense but how do you do that? If you release the source and binaries can't somebody else set up a node and have others connect to him, thus starting to mine? And if you release the source without the genesis block, when you launch don't you have to add it in and thus recompile the source / make new binaries?
62  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [PRE-ANN] ShinyCoin : new PoW algorithm : PoS : info transactions on: May 21, 2014, 04:41:16 AM
Hello sunny,

You do realize what is going on here right? I've been trying to mine this for a few hours and have put a few things together. Consider:

1) I can't connect to the node you posted. Whenever I do connect, I immediately get disconnected. Ok, maybe there are too many connections (wow, very popular coin!)
2) primer- posts a "super node", 144.76.139.178:21316. I add it to my node list and the daemon immediately starts downloading blocks. Looks like his node is great!
3) Yet, if there are so many connections (CogPrimus posted that he had 997 peers), where are all the peers? I am only connected to the "super node" and maybe sometimes one other node.
4) Yet here are a bunch of us posting hashrates and clearly mining.
Conclusion: primer-'s super node is not well-behaved: it isn't giving us each other's peer info.

Further:

5) All of us are complaining about stale blocks. I've generated 5 or 6 blocks yet each one except the first has been a stale block.
6) Yet the blocks aren't being generated *that* quickly. Only one every 10-40 seconds. Someone is putting a lot of computing power here, which is fine, that is how PoW works, but the hash power isn't as if 997 separate parties were immediately interested in the coin! It is extremely unlikely that the stale would all be naturally orphaned.
7) Also, every once in awhile I get a burst of 5-6 blocks all at once.
Cool Keep that in mind and take into account that just about everyone is connected to that "super node" only ("144.76.139.178:21316")

Conclusion? Someone is DOSing ShinyCoin!

Step 1: Flood the legitimate seed node with thousands of connections so that nobody can connect to it.
Step 2: Post a helpful "super node" for everybody to connect to.
Step 3: Don't advertise peers from the super node.
Step 4: When anyone sends you a block they mine, discard it.
Step 5: When you mine a block, send it to the seed node and propagate it to the network.
Step 5b: If someone mines a few blocks in a row, keep mining until you have enough ready to overpower them, then propagate yours all at once.
Result: You are the only one generating any coins!

At some point you can then stop DOSing the seed node, the network carries on, and you have a nice few hundred thousand shiny coins to play with if anything comes of the alt coin.

I strongly recommend addressing this by re-launching the coin, with multiple nodes, and a way to protect against this kind of attack.

Cheers
63  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [PRE-ANN] - The WhiteCoin Foundation - Community Planning & Discussion on: May 02, 2014, 09:09:53 PM
Rofl so literally the way to fix the broken pos was to change

Code:
unsigned int nStakeMaxAge = -1;	// stake age of full weight: -1

to

Code:
unsigned int nStakeMaxAge = 60 * 60 * 24 * 100;

And that took days to figure out?

Pro tip,
Code:
extern int nStakeMaxAge;
should have been
Code:
extern unsigned int nStakeMaxAge;
and that would also have worked.

Question though, if that was the fix (as this is the only significant change since April 27th), why didn't this commit fix it?

(I'm assuming the fix is up on this repository - is there something else to it?)
64  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [PRE-ANN] - The WhiteCoin Foundation - Community Planning & Discussion on: May 02, 2014, 08:43:44 PM
It's true everyone!

There is so much excitement right now that I got beat to the punch. So without further ado, yes it's true we have a wallet fix!

1. **Backup your wallet.dat file**
2. Go to: C:\Users\YourUserName\Appdata\Roaming\whitecoin
3. Delete everything EXCEPT for the wallet.dat file
4. Run the new wallet

https://mega.co.nz/#!vY1i1CSA!zvQQ67NjlJ3Jk93Cgu4f3MNiEQi3RKGBx0VLt-RRPMM

More to come very, very soon.
What source was this compiled from?
65  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [PRE-ANN] - The WhiteCoin Foundation - Community Planning & Discussion on: May 02, 2014, 08:26:06 PM
That wallet changes the master key for the centralized checkpointing. Essentially it gives control of the network to somebody other than whoever currently has control over the network.
66  Alternate cryptocurrencies / Altcoin Discussion / Re: Why are broadcast checkpoints considered bad? on: May 01, 2014, 05:45:47 PM
Bump.
67  Alternate cryptocurrencies / Altcoin Discussion / Why are broadcast checkpoints considered bad? on: April 18, 2014, 04:07:34 PM
warren, a LiteCoin dev, said of Peercoin:

Quote
Good Luck Removing PPC's Centralized Checkpoints

Regarding PPC... these amount to empty obfuscating defensive excuses. Sure he wants to remove the broadcast checkpoints. Novacoin's Balthasar made similar promises because he too knows that it is indefensible. Unfortunately for PPC, in the age of ASIC's it will be impossible to keep a sha256d network stable without it, so I would be highly surprised if it is actually removed.

Why are broadcast checkpoints so indefensible? It would seem to make sense to have a protocol-level mechanism whereby the nodes agree not to go back past a certain number of blocks (say 10 or 20 blocks). What about the mechanism is flawed? It sounds like it's able to keep a network stable without requiring as much hashing power.
68  Alternate cryptocurrencies / Altcoin Discussion / Re: Why did PeerCoin change COIN from 100,000,000 to 1,000,000? on: April 17, 2014, 05:18:00 PM
The two decimal places are the needed room for proof of stake rewards (~1%).
I don't follow. Which two decimal places? There's two fewer decimal places in PeerCoin than in BitCoin. CENT has four decimal places. So if you stake 1 cent you can get 1 hundredth of a cent, but if you stake 1 hundredth of a cent you can still get 1 ten-thousandth of a cent. It seems arbitrary.
69  Alternate cryptocurrencies / Altcoin Discussion / Why did PeerCoin change COIN from 100,000,000 to 1,000,000? on: April 16, 2014, 08:59:26 PM
I've gotten interested in PeerCoin recently and have been poking around the source code. I've found something unusual...

June 19th, 2012:
Code:
static const int64 COIN = 100000000;
static const int64 CENT = 1000000;

July 22nd, 2012 to today:
Code:
static const int64 COIN = 1000000;
static const int64 CENT = 10000;

As of today, COIN is still 1 million in PeerCoin, while it's still 100 million in BitCoin. What gives? Some unit tests for PeerCoin even fail because of this (e.g. FormatMoney(COIN/10000000) predictably returns "0.00" instead of "0.0000001") . I haven't seen mention anywhere of PeerCoins only being divisible by 6 decimal places. The commit which changed this also sheds no insight.

Did Sunny decide to redefine 1 PeerCoin to be 1 million "satoshis" instead of 100 million "satoshis" at some point? If so, why?

EDIT: It looks like the coin was released in August, so the change was made before the coin was released. I guess PeerCoins are only divisible by 6 decimal places? What's the rationale behind this decision?
70  Bitcoin / Development & Technical Discussion / Re: Can I send to an output that can only be spent to one of two addresses? on: March 26, 2014, 12:11:21 AM
As I thought.

Quote
And it wouldn't help you at all if it could be done.  What you should do is make a 1-of-2 multisig address and send to it now instead of later.  If these other keys are more secure than the key that is receiving the money (like on a webserver), you should move the funds out quickly.
It would help. It means the network would verify that the money can only be sent to one of two addresses. A third-party would have no interest in hacking the keys because they still wouldn't be able to send the outputs to their wallet. They would have to hack the keys for the transaction and the keys for one of the destination wallets, at least, and the latter can be cold wallets.
71  Bitcoin / Development & Technical Discussion / Can I send to an output that can only be spent to one of two addresses? on: March 21, 2014, 10:11:24 PM
Is the following scenario possible?

I want to send money to a script. This script will require knowing a private key to spend, as usual, but the script is only valid if the money is being sent to one of two addresses. That is, if the transaction has more than one output, it is invalid. If the transaction's output is a standard script to address A or to address B then it is valid. If the transaction output value is any less than x, it is invalid.

In other words, it seems the scripts serve to validate that you can spend the output, but then the output can be spent however the claimant(s) want. Is there any way to limit how the outputs are spent? All this without requiring a trusted third party of course.
Pages: « 1 2 3 [4]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!