Bitcoin Forum
December 07, 2021, 02:50:32 PM *
News: Latest Bitcoin Core release: 22.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 ... 139 »
  Print  
Author Topic: [ANN] [PPC] PPCoin Released! - First Long-Term Energy-Efficient Crypto-Currency  (Read 681793 times)
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
September 18, 2012, 10:14:48 PM
 #421

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.


1638888632
Hero Member
*
Offline Offline

Posts: 1638888632

View Profile Personal Message (Offline)

Ignore
1638888632
Reply with quote  #2

1638888632
Report to moderator
1638888632
Hero Member
*
Offline Offline

Posts: 1638888632

View Profile Personal Message (Offline)

Ignore
1638888632
Reply with quote  #2

1638888632
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1003



View Profile WWW
September 18, 2012, 10:17:19 PM
 #422

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"
    ]
}

dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
September 18, 2012, 10:28:31 PM
 #423

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.
Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1003



View Profile WWW
September 18, 2012, 10:34:54 PM
 #424

Ya nothing works until you put the hard work in. Thanks for doing the hard work to make the explorer available to community Smiley
AndyRossy
Sr. Member
****
Offline Offline

Activity: 448
Merit: 250


View Profile
September 18, 2012, 10:35:34 PM
 #425

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!
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
September 19, 2012, 08:31:17 AM
 #426

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.

server
Legendary
*
Offline Offline

Activity: 892
Merit: 1002


~\/~


View Profile
September 19, 2012, 01:27:49 PM
 #427

I noticed 'moneysupply' started a couple of days ago at zero again, why is this ?

Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1003



View Profile WWW
September 19, 2012, 01:39:08 PM
 #428

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.
server
Legendary
*
Offline Offline

Activity: 892
Merit: 1002


~\/~


View Profile
September 19, 2012, 01:59:27 PM
 #429

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" : ""
}

Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1003



View Profile WWW
September 19, 2012, 02:29:54 PM
 #430


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 <destination-backup-wallet-name>
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)
server
Legendary
*
Offline Offline

Activity: 892
Merit: 1002


~\/~


View Profile
September 19, 2012, 03:05:41 PM
 #431

Thanks, no problem, log -> pm

dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
September 21, 2012, 03:19:13 PM
Last edit: September 21, 2012, 03:40:34 PM by dreamwatcher
 #432

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.
Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1003



View Profile WWW
September 21, 2012, 03:47:08 PM
 #433


Sunny,

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



That's one way or you can check the hex block hash doesn't begin with 8 zeroes.
Internally ppcoind doesn't use the above methods to decide. The most safe way is to verify that transaction #1 exists and it's output #0 is empty (amount is 0).
Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1003



View Profile WWW
September 21, 2012, 04:10:14 PM
 #434


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


I've browsed the explorer a bit, all the unknown that I noticed seem to be related to pay-to-public-key payment type.

Not sure how abe handles this but normally you can just extract the public key from script and convert it to address (hash160 + base58 conversion).
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
September 21, 2012, 07:44:45 PM
 #435


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


I've browsed the explorer a bit, all the unknown that I noticed seem to be related to pay-to-public-key payment type.

Not sure how abe handles this but normally you can just extract the public key from script and convert it to address (hash160 + base58 conversion).


Yeah, that was the path I have been working on.

I may have narrowed it down a bit,

It appears that ABE is not processing the OP CODES properly,though the routine that catches the OP CODES is working, the routine that extracts the data is picking up garbage.

For example:scriptpubkey with a CHECKSIG OP CODE "210381f673908e54a91e4324bf55f875ae53cbb1078336c88c15ec2ba75cf50cd74bac"
The routine extracts it as:  \x03\x81\xf6s\x90\x8eT\xa9\x1eC$\xbfU\xf8u\xaeS\xcb\xb1\x07\x836\xc8\x8c\x15\xec+\xa7\\\xf5\x0c\xd7K


Has there been any change from the bitcoin daemon that would effect how a program would have to extract a key from the surrounding OP CODE? Are there added codes or removed codes?
If I can rule out a change in the daemon, it will allow me to center my attention on other possible causes.

Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1003



View Profile WWW
September 21, 2012, 07:57:10 PM
 #436


Yeah, that was the path I have been working on.

I may have narrowed it down a bit,

It appears that ABE is not processing the OP CODES properly,though the routine that catches the OP CODES is working, the routine that extracts the data is picking up garbage.

For example:scriptpubkey with a CHECKSIG OP CODE "210381f673908e54a91e4324bf55f875ae53cbb1078336c88c15ec2ba75cf50cd74bac"
The routine extracts it as:  \x03\x81\xf6s\x90\x8eT\xa9\x1eC$\xbfU\xf8u\xaeS\xcb\xb1\x07\x836\xc8\x8c\x15\xec+\xa7\\\xf5\x0c\xd7K


Has there been any change from the bitcoin daemon that would effect how a program would have to extract a key from the surrounding OP CODE? Are there added codes or removed codes?
If I can rule out a change in the daemon, it will allow me to center my attention on other possible causes.


There is no change to the script format and engine. The only thing I can think of is that the conversion from public key to address is slightly different as the version has been changed. Presumably abe handles the version change already so I am not sure why it doesn't work if it works for Bitcoin.
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
September 22, 2012, 01:51:26 AM
 #437

Just a small update to the server uploaded.

The explorer will now recognize Proof of Stake blocks and label them as such. A Future update will place a flag in the database and will have a function just to list those blocks.

Unknown address continues to be a issue:

I have found there is a difference between PPC and BTC raw transaction output. Hopefully it is a simple fix that is just escaping me right now, or maybe it is nothing at all and the BTC or PPC script is just further along the decoding before being displayed.

Example:

BTC : "040ebf936eae88bf59f619d32dc1d7630b222d3374678ba7b4333f2954ac5b0341f55b282fd7c6c c7ff866a4ed66cf301c9db063ca8bfe924f6c728f05d1560f61"

PPC:  "2102a9b038cd9042a50919055eaa9380fb2ef4c3f7516c21e3bd0e029e0218db0939ac"

Abe's decoding engine continues to throw what appears to be random characters into the Hex output during OP CODE and Key separation. The database has clean versions of the scripts and if I place a small three line hex formatter to parse a script, it comes out neat and clean, but without OP CODES or in the "\xx" format the rest of the routines want.
FuzzyBear
Legendary
*
Offline Offline

Activity: 1414
Merit: 1007



View Profile WWW
September 22, 2012, 09:30:12 AM
 #438

Hello all,

I just encrypted my wallet with a passphrase.. but now it shows the following error in the getinfo result?? any ideas?? will this affect proof of stake minted blocks??

{
    "difficulty" : 10670.85500473,
    "testnet" : false,
    "keypoololdest" : 1348302135,
    "keypoolsize" : 100,
    "paytxfee" : 0.01000000,
    "unlocked_until" : 0,
    "errors" : "Info: Minting suspended due to locked wallet."
}

Many thanks


***** Earn DEV at http://devtome.com *****
Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1003



View Profile WWW
September 22, 2012, 02:14:52 PM
 #439

Hello all,

I just encrypted my wallet with a passphrase.. but now it shows the following error in the getinfo result?? any ideas?? will this affect proof of stake minted blocks??

{
    "difficulty" : 10670.85500473,
    "testnet" : false,
    "keypoololdest" : 1348302135,
    "keypoolsize" : 100,
    "paytxfee" : 0.01000000,
    "unlocked_until" : 0,
    "errors" : "Info: Minting suspended due to locked wallet."
}

Many thanks


It affects both proof-of-stake blocks and proof-of-work blocks. You need to unlock the wallet to mine/mint blocks. What I do is
ppcoind walletpassphrase "your_super_passphrase" 100000000 true
where the 'true' is a new option to unlock the wallet for minting only.
See our wiki FAQ for more explanations.
FuzzyBear
Legendary
*
Offline Offline

Activity: 1414
Merit: 1007



View Profile WWW
September 22, 2012, 05:19:38 PM
 #440

Hello all,

I just encrypted my wallet with a passphrase.. but now it shows the following error in the getinfo result?? any ideas?? will this affect proof of stake minted blocks??

{
    "difficulty" : 10670.85500473,
    "testnet" : false,
    "keypoololdest" : 1348302135,
    "keypoolsize" : 100,
    "paytxfee" : 0.01000000,
    "unlocked_until" : 0,
    "errors" : "Info: Minting suspended due to locked wallet."
}

Many thanks


It affects both proof-of-stake blocks and proof-of-work blocks. You need to unlock the wallet to mine/mint blocks. What I do is
ppcoind walletpassphrase "your_super_passphrase" 100000000 true
where the 'true' is a new option to unlock the wallet for minting only.
See our wiki FAQ for more explanations.

Brilliant that sorted it thank you Sunny King Smiley

am working on a PPCoin Auction site at the moment.... http://ltcmusic.com/ppcauction/index.php still work in progress.. but let me know what u think Smiley

***** Earn DEV at http://devtome.com *****
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 [22] 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 ... 139 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!