Author

Topic: Slimcoin | First Proof of Burn currency | Decentralized Web - page 144. (Read 137076 times)

jr. member
Activity: 37
Merit: 2
First Proof of Burn currency / Community account
I' m reorganizing the OP of this thread now and have already changed the title to a less "official"-looking but still bold version.

If some of you have any suggestions what can be added (or deleted), be welcome Smiley
member
Activity: 98
Merit: 10
Could it be possible that I'm on the wrong chain? It happens on two machines, both having the blockchain data from gavrillo77. It looks like the trust parameter is different, can someone explain what it is?

ERROR: CheckProofOfBurn() : INFO: prev block not in main chain
WARNING: ProcessBlock() : check proof-of-burn failed for block 16f925efd023e7e3debc85908043c2bdf08cbe6e87880376bfcb9f723b68826e
Postponing 12 reconnects
REORGANIZE
REORGANIZE: Disconnect 0 blocks; a8deecd84bcc9752ccd6..a8deecd84bcc9752ccd6
REORGANIZE: Connect 1 blocks; a8deecd84bcc9752ccd6..30751ee9e1b7a3f7388f
ERROR: FetchInputs() : d278776c63 prev tx f7b3ef4e44 index entry not found
ERROR: Reorganize() : ConnectBlock 30751ee9e1b7a3f7388f failed
InvalidChainFound: invalid block=16f925efd023e7e3debc  height=859058  trust=20985791005119
InvalidChainFound:  current best=a8deecd84bcc9752ccd6  height=859045  trust=20984940091474
ERROR: SetBestChain() : Reorganize failed
ERROR: AcceptBlock() : AddToBlockIndex failed
ERROR: ProcessBlock() : AcceptBlock FAILED


Thank you!
member
Activity: 98
Merit: 10
This was golden. Worked like a charm!

Thanks!
legendary
Activity: 2254
Merit: 1290
Thanks, sounds logical, I'll try that and let you know if it worked. So far, the Linux machine has minted 120SLM in one day. Rasbperry still loading the blockchain.

I augmented the Slimcoin README.md with the peercoin.net instruction on how to mint with an encrypted wallet.

The raspberry pi should be able to read gavrilo77's mega-hosted copy of the files, they will be 4.8-based.

Cheers

Graham


 
member
Activity: 98
Merit: 10
Thanks, sounds logical, I'll try that and let you know if it worked. So far, the Linux machine has minted 120SLM in one day. Rasbperry still loading the blockchain.
legendary
Activity: 2254
Merit: 1290
Any opinions on the locking / unlocking of the GUI client? It says "Minting suspended due to locked wallet." I don't know how to take this Smiley

Minting instructions are detailed here: https://peercoin.net/minting-guide

Quote
1. Ensure your wallet is encrypted with a good passphrase. Write this down and keep it somewhere safe; if you forget the passphrase you will lose your coins. The wallet encryption option can be found under the settings tab in the Peercoin-Qt wallet program.

2. To start minting go to help -> debug window -> console and enter:
walletpassphrase abc 999999 true
where "abc" is your passphrase and "999999" is the time you want to mint for in seconds. You can change the amount of time to whatever you like, but it is usually easiest just to set it at a very high number. If your passphrase has spaces then enclose it in quotation marks.

3. Clear your passphrase by pressing Ctrl-L.

4. You can check you are minting by looking at the little padlock in the bottom right corner of the client. After a few moments it should become unlocked. If you hover your mouse over it, it should say "Wallet is encrypted and currently unlocked for block minting only".

Yes, it is a little unexpected. I'll take a look at the possibility of importing the corresponding peerunity code which apparently resolves the issue. (Doesn't redress the issue of decrypting the wallet tho').

Cheers

Graham
legendary
Activity: 2254
Merit: 1290
Also, the GUI client, how can you unlock it? On Mac OSX I can't find this option anywhere. Once locked, it just stays like that. Smiley

As inherited, encryption of Slimcoin wallets is one-way:

https://github.com/slimcoin-project/Slimcoin/blame/slimcoin/src/qt/bitcoingui.cpp#L855

Probably, the only way out is to sequentially feed dumpprivkey with all the addresses in each account (making a note of the label and the privkey), closing the app, moving the wallet aside, re-starting the app and then sequentially feeding importprivkey with all the privkeys and labels. That should restore the wallet accounts, addresses and balances in the new, unencrypted wallet.

Cheers

Graham
member
Activity: 98
Merit: 10
Thanks!

Any opinions on the locking / unlocking of the GUI client? It says "Minting suspended due to locked wallet." I don't know how to take this Smiley
legendary
Activity: 2254
Merit: 1290
The staking is still disabled ?
If yes how to enable it again?

How to enable staking was described in an earlier post but that was some time back. I think it's conjecture rather than diagnosis but whatever ...

Whilst syncing from 0, a wallet successfully staking before it is fully synced will create for itself a fork of the blockchain containing the newly-minted block at that point - e.g. at 12th August 2015 02:34:12, if that's how far the sync has gotten when the staking occurred (aiui). That basically borks the client until that forked blockchain data is expunged from datadir.

As a workaround to prevent premature staking, a reserve of 1000000 was hard-coded into the client (and which I preserved in the migration).

To enable staking in practice, either collect more than 1000000 SLM or, more frugally, add the following to slimcoin.conf:
Code:
reservebalance=0


Cheers

Graham
member
Activity: 98
Merit: 10
Have no idea, that's a good question.

Also, the GUI client, how can you unlock it? On Mac OSX I can't find this option anywhere. Once locked, it just stays like that. Smiley
jr. member
Activity: 86
Merit: 1
Thanks,

Yes let's see where it goes !

The staking is still disabled ?
If yes how to enable it again?
member
Activity: 98
Merit: 10
I just started a week ago myself. It seems it's very actively developed, since December last year. Atm is delisted, somebody wrote a few days ago he is trying to get it listed again on bter. Other than that, it's fun Smiley

Welcome aboard.
jr. member
Activity: 86
Merit: 1
Hello,

I just started to try this coin.
what is the status about development, exchange etc... ?

thanks
member
Activity: 98
Merit: 10
Well, it took a while, but I just had my first coins, on the Linux machine. The raspberry pi is still downloading the blockchain (I expect to take days, unless I find somewhere some blockchain files that are compatible with the db4 version I have on it - I tried to copy from OSX and Ubuntu but the db4 on the pi complained the files are corrupt).

I sent 5 coins to the OSX desktop client - all good.

From there, I burned 4.99, waiting to see what happens now Smiley
member
Activity: 98
Merit: 10
Thank you, yes, it does help a lot!

On a side note:

- running a slimcoind instance on a Ubuntu 16
- running a slimcoind GUI on a Mac OSX Sierra
- running a slimcoind instance on a Raspberry Pi 3

So far, only the Ubuntu instance is synching ok and it "produced" a few coins (minted the ones above, waiting to mature).

On Mac OS I have no idea if it mines or not and on Raspberry I just started it, looks like it has trouble finding peers, it cycles through 2 IPs last seen 4-5 days ago.

Both the Mac and the Raspberry are behind a router and have non-routable IPs. I made a port-forwarding to the Raspberry non-routable IP for port 9050. The Mac is downloading the blocks correctly, so the port may not be a problem, but I have no idea if it mines.

I'll keep you guys posted.
legendary
Activity: 1612
Merit: 1608
精神分析的爸
{
    "version" : "SLMv0.4.1-alpha-46-g6fe14df-alpha",
    "protocolversion" : 60003,
    "walletversion" : 60000,
    "balance" : 0.00000000,
   "newmint" : 17.38000000,
    "stake" : 0.00000000,
    "blocks" : 860351,
    "moneysupply" : 13909856.05648800,
    "connections" : 19,
    "proxy" : "",
    "ip" : "",
    "difficulty" : 0.01649058,
    "testnet" : false,
    "keypoololdest" : 1483276067,
    "keypoolsize" : 108,
    "paytxfee" : 0.01000000,
    "errors" : ""
}

"newmint" means coins that have been minted? Where can I find them? "balance" shows 0.000.

Slimcoin it's getting confusing Smiley)

You need to wait until your block matures. The below line in main.h tells us this takes 500 blocks until you see it under 'balance':

https://github.com/slimcoin-project/Slimcoin/blob/slimcoin/src/main.h#L54

HTH
member
Activity: 98
Merit: 10
{
    "version" : "SLMv0.4.1-alpha-46-g6fe14df-alpha",
    "protocolversion" : 60003,
    "walletversion" : 60000,
    "balance" : 0.00000000,
   "newmint" : 17.38000000,
    "stake" : 0.00000000,
    "blocks" : 860351,
    "moneysupply" : 13909856.05648800,
    "connections" : 19,
    "proxy" : "",
    "ip" : "",
    "difficulty" : 0.01649058,
    "testnet" : false,
    "keypoololdest" : 1483276067,
    "keypoolsize" : 108,
    "paytxfee" : 0.01000000,
    "errors" : ""
}

"newmint" means coins that have been minted? Where can I find them? "balance" shows 0.000.

Slimcoin it's getting confusing Smiley)
member
Activity: 98
Merit: 10
It varies, between 1000 and 1500 and there are already 3 other instances of minergate mining monero on it. Slimcoin is just a test.


Which reminds me: does anyone knows of the exchange listing status?
newbie
Activity: 34
Merit: 0
For some reason, it worked, here's what I have in getmininginfo on the linux machine

{
    "blocks" : 859892,
    "currentblocksize" : 1000,
    "currentblocktx" : 0,
    "difficulty" : 0.01151753,
    "errors" : "",
    "generate" : true,
    "genproclimit" : 8,
    "hashespersec" : 1093,
    "networkghps" : 0.00033882,
    "pooledtx" : 0,
    "testnet" : false
}

According to the calculations above, I should get a block every 6 hours, at worst. I'll keep you posted.

1k hashes per second is quite low for 8 cores. What CPU is this?



member
Activity: 98
Merit: 10
On the linux machine I entered slimcoin setgenerate true 8 (it's a maschine with 16 cores). From your experience, how long it takes until I get to mine a block?

Also, in the GUI wallet, there's an option about mining? Is that thing doing anything atm?

Thanks!

Get your hashes per sec with:
slimcoin gethashespersec

Current difficulty is 0.01059393, this is 0.01059393 * 2^32  (~46 mio) hashes on average required to mine a block.

gethashespersec returns zero. Auch. I suspect there's something I should do in the slimcoind.conf, but other than rpcuser and password I have nothing in it atm.

For some reason, it worked, here's what I have in getmininginfo on the linux machine

{
    "blocks" : 859892,
    "currentblocksize" : 1000,
    "currentblocktx" : 0,
    "difficulty" : 0.01151753,
    "errors" : "",
    "generate" : true,
    "genproclimit" : 8,
    "hashespersec" : 1093,
    "networkghps" : 0.00033882,
    "pooledtx" : 0,
    "testnet" : false
}

According to the calculations above, I should get a block every 6 hours, at worst. I'll keep you posted.

On the Mac machine I had no luck, although I let it run for the whole night. Mining is shaky so I stopped it.

Is there any way to "tell it" setegenerate true 4 or whatever on the Mac?
Jump to: