Bitcoin Forum
May 27, 2024, 12:16:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Altcoin Discussion / Altcoin RPC wrong operation on: November 07, 2017, 06:21:38 PM
Hello,

I have a problem with a litecoin-cloned coin.

If I check an account's getbalance, it displayes X.
However when I try sendfrom account address amount (where amount is less than X).

It displays insufficient funds.

Balance is well above than the sending amount.
What could have happened?


2  Alternate cryptocurrencies / Altcoin Discussion / Re: *** Complete Guide on How to Create a New Alt Coin *** on: November 08, 2016, 07:14:07 AM
Thanks.

I'm already using Hazard's solution.

But I want to learn how the system works. So my question is still relevant. What is a good way if I want to have premined coins?
I can set difficulty target and emission speed factor to as high/low I want before the necessary coins are mined. However in this case I'd still need to mine technically.
What I'm interested in, is what I should modify to avoid mining in terms of premine.

Thanks.

The easiest way if you are using a Bitcoin clone is to 'instamine' the first few blocks by having grotesquely large rewards  - I think I am right in saying. I don't think you can avoid doing this whatever proof you are using to validate blocks unless you substantially change the code. Then you need to update the checkpoints before releasing the node software. If you have plenty of time you can do this over a few hundred or thousand blocks - the key is to be honest about this in your ANN as the emmission parameters will be obvious to even casual users with access to the source code.

Thanks. Helped a lot.
One more thing:
When you checkpoint your premined blocks, are they need to be matured already? I need to wait 40-50 blocks to be mined, to make my first 2-3 blocks matured before checkpointing them?

Thanks
3  Alternate cryptocurrencies / Altcoin Discussion / Re: coin cloning guide on: November 07, 2016, 09:49:05 PM
7. Checkpointing the premine.
...
Recompile you client.
Back up your  C:\Users\(YOUR**PC**NAME)\AppData\Roaming\clonecoin folder. This now has your premine.
You now need to check the checkpoints are correct. On the client that does not have the premine, navigate to  C:\Users\(YOUR**PC**NAME)\AppData\Roaming\clonecoin and delete all contents besides your wallet.dat(Very Important Do NOT DELETE) and clonecoin.conf files.

Restart the client. If your checkpoints are correct the client should update and sync without issues.

On this step, I got "wallet.dat corrupt, salvage failed" message on the client (the one that does not have the premine. I deleted all files except fcoin.conf and wallet.dat).

I did everything as marked.
However, my premined coins are still immature at this point. Is this right? Does it worth to checkpoint blocks that are not yet matured? Or I need to wait for them to be matured, and include the first 40-50 blocks in the checkpoint.cpp?

4  Alternate cryptocurrencies / Altcoin Discussion / Re: *** Complete Guide on How to Create a New Alt Coin *** on: November 03, 2016, 03:26:18 PM
Thanks.

I'm already using Hazard's solution.

But I want to learn how the system works. So my question is still relevant. What is a good way if I want to have premined coins?
I can set difficulty target and emission speed factor to as high/low I want before the necessary coins are mined. However in this case I'd still need to mine technically.
What I'm interested in, is what I should modify to avoid mining in terms of premine.

Thanks.
5  Alternate cryptocurrencies / Altcoin Discussion / Re: *** Complete Guide on How to Create a New Alt Coin *** on: November 03, 2016, 10:36:04 AM
Hi.

I just have a quick and easy question. How can I get premined coins by modifying this code?

Thanks.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!