Author

Topic: [ANN] [PPC] PPCoin Released! - First Long-Term Energy-Efficient Crypto-Currency - page 122. (Read 684864 times)

legendary
Activity: 1064
Merit: 1000
Updated PPC search uploaded.

This version contains mostly cosmetic improvements.

Sunny,

Would the Nonce value equal to 0, be the best flag to detect a Proof of stake block?



I will start a PPC search thread, after the next version, just kinda of holding back to avoid getting slammed until a few more bugs are worked out.

I noticed a big slowdown in server response this mourning, I reset the server hoping it was a memory or CPU usage problem (although I did not notice anything strange under ps -aux).

The slowdown persisted, it seems to have cleared up for now, it must have been something on the hosting end.


Next Version Goals:

Start running PPC Search as daemon as of now it is running as a process.

Track down that nasty 'unknown' bug, I have put some time into this bug, but it still eludes me.

Program the ability to detect and correctly display amounts in Proof of Stake blocks.


Edit: I was looking at the API interface recently, the ABE engine sees the PPC chain as PPCoin. I will make corrections in the next version to clear up the instructions.
legendary
Activity: 892
Merit: 1002
1 BTC =1 BTC
Thanks, no problem, log -> pm
legendary
Activity: 1205
Merit: 1010

I didn't redownload or anything and the block count is accurate.


Code:
{
    "version" : "v0.2.0ppc-beta",
    "protocolversion" : 60002,
    "walletversion" : 60000,
    "balance" : -,
    "newmint" : -,
    "stake" : 0.00000000,
    "blocks" : 6404,
    "moneysupply" : 82954.04147400,
    "connections" : -,
    "difficulty" : 13048.66171444,
    "testnet" : false,
    "errors" : ""
}

This is a bug. There is a tiny window where if ppcoind is stopped after a block is accepted but moneysupply figure is not yet written for that block. So when you restart ppcoind moneysupply starts from 0 again.

I will look into how to avoid this situation. Meanwhile the workaround is to redownload block chain. That is, first backup wallet
ppcoind backupwallet
ppcoind stop
then remove all directories/files under the wallet directory except for leaving wallet.dat and ppcoin.conf in place.
then start up ppcoind again.

Thanks for reporting the issue!

(If you know how to search logs you can send me the relevant logs where this problem occurred. You can search for 'moneysupply=' and look for where it started from 0 again. You should see ppcoind stop/start around the time)
legendary
Activity: 892
Merit: 1002
1 BTC =1 BTC
I noticed 'moneysupply' started a couple of days ago at zero again, why is this ?

moneysupply is tied to the block you are at. If you are redownloading block chain, then it is normal to see it increasing from 0 as block chain is downloaded. Other than that it shouldn't be shown as 0.

I didn't redownload or anything and the block count is accurate.


Code:
{
    "version" : "v0.2.0ppc-beta",
    "protocolversion" : 60002,
    "walletversion" : 60000,
    "balance" : -,
    "newmint" : -,
    "stake" : 0.00000000,
    "blocks" : 6404,
    "moneysupply" : 82954.04147400,
    "connections" : -,
    "difficulty" : 13048.66171444,
    "testnet" : false,
    "errors" : ""
}
legendary
Activity: 1205
Merit: 1010
I noticed 'moneysupply' started a couple of days ago at zero again, why is this ?

moneysupply is tied to the block you are at. If you are redownloading block chain, then it is normal to see it increasing from 0 as block chain is downloaded. Other than that it shouldn't be shown as 0.
legendary
Activity: 892
Merit: 1002
1 BTC =1 BTC
I noticed 'moneysupply' started a couple of days ago at zero again, why is this ?
legendary
Activity: 1064
Merit: 1000
http://ppcexplore.org

The website now auto directs to the correct port.No need to use a port number anymore.

Now to work on the bugs:

1. The unknown address issue. Mostly from coin generation transactions, however I have noticed it on other transactions.

2. Amounts wrong for blocks 6325 +, most likely due to proof of stake being turned on. Sunny, if you could tell me where and what type of data the proof of stake added to the block, it would be a huge time saver for me.
I have turned the ppcoin daemon off until I fix this issue as ABE would just fill its database with the wrong information. I will need to do a rollback or reconstruct of the database after this bug is fixed.


3. Replace Abe symbol with PPC symbol, along with various other cosmetic fixes.

4. For now I have Abe reading the extra transaction time stamp into a placeholder variable, If really wanted I can make a database addition and display the value. I am of the opinion that it is not really necessary, but if enough people want it I will put it in.


I am sure there are plenty more, but that is the short list for now.


EDIT: It appears the amount bug is only for block 6325 and the blocks after appear to be fine, so it moves to the bottom of the list. I will probably just manually fix the entry for block 6325.

sr. member
Activity: 448
Merit: 250
I have hosted and made available a PPC coin explorer.

PLEASE NOTE: This project is in a VERY early stage and nowhere near the final product.

I am sure there are bugs and security holes abound (but there is nothing on this server except ABE.. Grin)

I thought I would make it available for use, but it will be up and down as I upload fixes.

http://www.ppcexplore.org:2750/

You need to use the port as I have not made the normal port 80 web page yet, as I said EARLY STAGE.




Awesome dude!
legendary
Activity: 1205
Merit: 1010
Ya nothing works until you put the hard work in. Thanks for doing the hard work to make the explorer available to community Smiley
legendary
Activity: 1064
Merit: 1000
FYI the first proof-of-stake block showed up on block chain:

sunny> ppcoind getblockhash 6325
514e141ef5778299506b779145c9c94d78b0603281246741cb31f112c6635365
sunny> ppcoind getblock 514e141ef5778299506b779145c9c94d78b0603281246741cb31f112c6635365
{
    "hash" : "514e141ef5778299506b779145c9c94d78b0603281246741cb31f112c6635365",
    "size" : 2415,
    "height" : 6325,
    "version" : 1,
    "merkleroot" : "6b4da40f28a8eaa49f75dfee7093f0f8bbe2e78be5f739bf258917fe9694629b",
    "time" : "2012-09-18 22:01:24 UTC",
    "nonce" : 0,
    "bits" : "1c00ffff",
    "difficulty" : 256.00000000,
    "mint" : 2.03000000,
    "previousblockhash" : "00000000000419baabec9789419e757103ec9af618d65321c8f167247cf8bd10",
    "nextblockhash" : "000000000000712540f7f2752cbfcea2314c9ee2a3bb7111fdc3822e781efd59",
    "tx" : [
        "3e30aa6c1e748784d69e35a0e29ae35442db97cba51312e597d54e984e91fa6e",
        "6476ede8707a8090c6b861c92efedbea4d72763d4e9b01039b2f5de913a85305",
        "01de3e5d12e5a573b7bef8572c03c64e1f589926c7cd75eea74e1384372bd145",
        "a87dff197b0a90ee7486156c9c1753cc7b51bfa2e856529f948b28fc7cdcdc56",
        "da979b24457f8cf9ba0386b3033c9d72647e69509fa3254a071e609e8a286c42"
    ]
}



OMG...LOL

First block with proof of stake breaks ABE for that block and after ..... Cheesy

Well, until I fix Abe for proof of stake, you can still use the explorer for the blocks before 6325.
legendary
Activity: 1205
Merit: 1010
FYI the first proof-of-stake block showed up on block chain:

sunny> ppcoind getblockhash 6325
514e141ef5778299506b779145c9c94d78b0603281246741cb31f112c6635365
sunny> ppcoind getblock 514e141ef5778299506b779145c9c94d78b0603281246741cb31f112c6635365
{
    "hash" : "514e141ef5778299506b779145c9c94d78b0603281246741cb31f112c6635365",
    "size" : 2415,
    "height" : 6325,
    "version" : 1,
    "merkleroot" : "6b4da40f28a8eaa49f75dfee7093f0f8bbe2e78be5f739bf258917fe9694629b",
    "time" : "2012-09-18 22:01:24 UTC",
    "nonce" : 0,
    "bits" : "1c00ffff",
    "difficulty" : 256.00000000,
    "mint" : 2.03000000,
    "previousblockhash" : "00000000000419baabec9789419e757103ec9af618d65321c8f167247cf8bd10",
    "nextblockhash" : "000000000000712540f7f2752cbfcea2314c9ee2a3bb7111fdc3822e781efd59",
    "tx" : [
        "3e30aa6c1e748784d69e35a0e29ae35442db97cba51312e597d54e984e91fa6e",
        "6476ede8707a8090c6b861c92efedbea4d72763d4e9b01039b2f5de913a85305",
        "01de3e5d12e5a573b7bef8572c03c64e1f589926c7cd75eea74e1384372bd145",
        "a87dff197b0a90ee7486156c9c1753cc7b51bfa2e856529f948b28fc7cdcdc56",
        "da979b24457f8cf9ba0386b3033c9d72647e69509fa3254a071e609e8a286c42"
    ]
}

legendary
Activity: 1064
Merit: 1000
I have hosted and made available a PPC coin explorer.

PLEASE NOTE: This project is in a VERY early stage and nowhere near the final product.

I am sure there are bugs and security holes abound (but there is nothing on this server except ABE.. Grin)

I thought I would make it available for use, but it will be up and down as I upload fixes.

http://www.ppcexplore.org:2750/

You need to use the port as I have not made the normal port 80 web page yet, as I said EARLY STAGE.


sr. member
Activity: 448
Merit: 250
Could we have, a way to find out coinage for each address a person holds? So can see how far from a PoS we are? A command like

./ppcoin getcoinage (address) or getcoinage account "" (and it'll do all addresses in that account) etc?

That would be sort of misleading as luck do play quite a bit role as well.

OK.

Also, getting ABE instance working, it looks like the tx blocks have also been altered (as with the block themselves). How have the tx's been altered? I'll look at the diffs from the above.


I have already adapted Abe, and am in the process of hosting it. Hopefully sometime this week.
...
The answer to your question in 2 fold:

There is an extra time stamp after the version field in each transaction.

You need to use the most recent version of Abe (few days old) as it auto cuts some bytes at the end of the block that really wreck chaos with Abe's ability to keep track of its position when translating the blk0001 to its database.



That's great, im not too far from where you are.  Will you be releasing the changes / committing to abe tree?

I have run into some strange new issues with the latest commit, so either I have to fix it in this commit, or just continue to use the earlier version.

There are some other issues, while not show stoppers, need to be addressed.

After I polish it a bit more, I will see if John Tobey would like me to release a commit. I feel it is his baby, his choice.

For now I would like to gauge the interest in a hosted version. I would have to buy at least a VPS (simple web hosting will not work) to host it one, which of course incurs a monthly fee.

I would probably use advertising on the site to cover costs, so before I go out on this venture I kind of want to see how much interest the PPC community has in it.

I think it's a good idea Smiley
legendary
Activity: 1064
Merit: 1000
Could we have, a way to find out coinage for each address a person holds? So can see how far from a PoS we are? A command like

./ppcoin getcoinage (address) or getcoinage account "" (and it'll do all addresses in that account) etc?

That would be sort of misleading as luck do play quite a bit role as well.

OK.

Also, getting ABE instance working, it looks like the tx blocks have also been altered (as with the block themselves). How have the tx's been altered? I'll look at the diffs from the above.


I have already adapted Abe, and am in the process of hosting it. Hopefully sometime this week.
...
The answer to your question in 2 fold:

There is an extra time stamp after the version field in each transaction.

You need to use the most recent version of Abe (few days old) as it auto cuts some bytes at the end of the block that really wreck chaos with Abe's ability to keep track of its position when translating the blk0001 to its database.



That's great, im not too far from where you are.  Will you be releasing the changes / committing to abe tree?

I have run into some strange new issues with the latest commit, so either I have to fix it in this commit, or just continue to use the earlier version.

There are some other issues, while not show stoppers, need to be addressed.

After I polish it a bit more, I will see if John Tobey would like me to release a commit. I feel it is his baby, his choice.

For now I would like to gauge the interest in a hosted version. I would have to buy at least a VPS (simple web hosting will not work) to host it one, which of course incurs a monthly fee.

I would probably use advertising on the site to cover costs, so before I go out on this venture I kind of want to see how much interest the PPC community has in it.
sr. member
Activity: 448
Merit: 250
Could we have, a way to find out coinage for each address a person holds? So can see how far from a PoS we are? A command like

./ppcoin getcoinage (address) or getcoinage account "" (and it'll do all addresses in that account) etc?

That would be sort of misleading as luck do play quite a bit role as well.

OK.

Also, getting ABE instance working, it looks like the tx blocks have also been altered (as with the block themselves). How have the tx's been altered? I'll look at the diffs from the above.


I have already adapted Abe, and am in the process of hosting it. Hopefully sometime this week.
...
The answer to your question in 2 fold:

There is an extra time stamp after the version field in each transaction.

You need to use the most recent version of Abe (few days old) as it auto cuts some bytes at the end of the block that really wreck chaos with Abe's ability to keep track of its position when translating the blk0001 to its database.



That's great, im not too far from where you are.  Will you be releasing the changes / committing to abe tree?
legendary
Activity: 1064
Merit: 1000
Could we have, a way to find out coinage for each address a person holds? So can see how far from a PoS we are? A command like

./ppcoin getcoinage (address) or getcoinage account "" (and it'll do all addresses in that account) etc?

That would be sort of misleading as luck do play quite a bit role as well.

OK.

Also, getting ABE instance working, it looks like the tx blocks have also been altered (as with the block themselves). How have the tx's been altered? I'll look at the diffs from the above.


I have already adapted Abe, and am in the process of hosting it. Hopefully sometime this week.
...
The answer to your question in 2 fold:

There is an extra time stamp after the version field in each transaction.

You need to use the most recent version of Abe (few days old) as it auto cuts some bytes at the end of the block that really wreck chaos with Abe's ability to keep track of its position when translating the blk0001 to its database.

sr. member
Activity: 448
Merit: 250
Could we have, a way to find out coinage for each address a person holds? So can see how far from a PoS we are? A command like

./ppcoin getcoinage (address) or getcoinage account "" (and it'll do all addresses in that account) etc?

That would be sort of misleading as luck do play quite a bit role as well.

OK.

Also, getting ABE instance working, it looks like the tx blocks have also been altered (as with the block themselves). How have the tx's been altered? I'll look at the diffs from the above.
legendary
Activity: 1205
Merit: 1010
Could we have, a way to find out coinage for each address a person holds? So can see how far from a PoS we are? A command like

./ppcoin getcoinage (address) or getcoinage account "" (and it'll do all addresses in that account) etc?

That would be sort of misleading as luck do play quite a bit role as well.
legendary
Activity: 1205
Merit: 1010
Was PPCoin based on a stable bitcoin release? If so, what commit id, so I can get a diff of just the PPCoin change.

It's based on Bitcoin v0.6.3 (6e0c5e3). Not sure it's CreateNewBlock, I just sent a loop of getwork to ppcoind and no visible effect to memory usage.

sr. member
Activity: 448
Merit: 250
Could we have, a way to find out coinage for each address a person holds? So can see how far from a PoS we are? A command like

./ppcoin getcoinage (address) or getcoinage account "" (and it'll do all addresses in that account) etc?
Jump to: