-
Notifications
You must be signed in to change notification settings - Fork 653
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server run successfully but 0 blocks are shown at homepage #49
Comments
This would happen if Applecoin uses a block hashing algorithm other than Bitcoin's double-SHA256. Abe can not recognize Block 1's previous block hash field as referring to Block 0, and so forth. The copperlark branch in GitHub works around this issue for Copperlark, which uses SHA3/Keccak. Alternatively, you may have success with RPC loading and disabling the block hash check in Abe/DataStore.py. |
Thanks for your reply. APC is a scrypt-jane cryptocurrency. I was trying ppcoin branch because they are all POS coins. I am not familiar with crypto-programming. Just tried Copperlark but get "ImportError: No module named sha3". By the way should I always "merge" the branch with master? I always use "git clone -b". I will try your "RPC" & "disabling blockhash check" suggestion. I can set loader to "RPC" but don't know how to disable blockhash check. Any hint? |
I disable blockhash check according to this: My new problem is set the "genesis data" inside "tn_hash_hex" in "Abe/genesis_tx.py". I verified for BTC and other altcoins the genesis key should be "getrawtransaction(tn id of block heigh(0))" (Hope I am right) It's strange that there's no detailed data for block height 0''s transaction from APC's explorer and wallet client. No information can be found for transaction id: 12c93e51d21697a554edd872dad2018346671e0dab9cff977de072873e9d3101 Not sure it's my problem or APC's design. I am now asking the APC developer too. |
All blocks are loaded during installation:
python -m Abe.abe --config mycoin.conf --commit-bytes 100000 --no-serve
However after I run the server by:
python -m Abe.abe --config mycoin.conf
It only show block 0 and zero coin created at home page. What's wrong with my Abe settings?
Currency Code Block Time Started Age (days) Coins Created Avg Coin Age % CoinDD
Applecoin APC 0 2013-11-17 20:41:12 2013-11-17 39.8439 0
The text was updated successfully, but these errors were encountered: