Pages:
Author

Topic: BBQCoin, the coin you want to eat. - page 55. (Read 143109 times)

legendary
Activity: 2940
Merit: 1090
February 23, 2013, 08:50:26 AM
It is good to get it down pat, I was worried I really had messed up before, now I think the one I put before was fine too.

This means we can trade IOUs on RIpple until some day when we want final settlement, on that day we settle on the blockchain, wait ten blocks or so to make sure our settlement is not orphaned, then can update checkpoint so we know our final settlement is really and truly final. Smiley

-MarkM-
legendary
Activity: 1792
Merit: 1008
/dev/null
February 23, 2013, 08:45:21 AM
my fault then, did look at the bitcoin checkpoints.cpp.
thougd there has to be the hash of the block.
let me compile it and try to sync, will see if it works Smiley
legendary
Activity: 2940
Merit: 1090
February 23, 2013, 08:41:32 AM
Yes but look at the checkpoints.cpp for actual bitcoin for example. You will see the proof of work hash is what goes into the checkpoint, thus there are more and more zeros at the left as time goes on in the checkpoints list.

-MarkM-
legendary
Activity: 1792
Merit: 1008
/dev/null
February 23, 2013, 08:36:07 AM
sry, was kinda stressed because the hashes where still wrong.
why scrolling trough debug.log? use grep for it, saves time.
the hash in the debug.log u mention is not a block, its the PoW (proof of work) which was below the target, out of this a new block has been made.
legendary
Activity: 2940
Merit: 1090
February 23, 2013, 08:30:47 AM
There must be more than one chain maybe, and I am on one, you on the other?

I wanted to try to figure out what had gone wrong before, so I scrolled back in my debug.log to see if I had managed to find a block (on some chains I often do not find a block in the timespan between cleaning away all the debug.log files of the various blockchains so wasn't even sure I would find what I was looking for at all).

I found this in my debug.log:

Code:
BitcoinMiner:
proof-of-work found  
  hash: 000000055630929f820ae426788290a5c0235c1f6d7d2d6675865ad757d342c2  
target: 0000005441cf0000000000000000000000000000000000000000000000000000
CBlock(hash=6d7493ffc82a9553cf20, PoW=000000055630929f820a, ver=1, hashPrevBlock=09846e10a0b699bc95ea, hashMerkleRoot=9fbb3e71cf, nTime=1361624074, nBits=1d5441cf, nNonce=2147484914, vtx=1)
  CTransaction(hash=9fbb3e71cf, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, -1), coinbase 040abc28510175062f503253482f)
    CTxOut(nValue=42.00000000, scriptPubKey=03f08a64e5b6b78eb63d94081aca98)
  vMerkleTree: 9fbb3e71cf
generated 42.00
keypool keep 262248
AddToWallet 9fbb3e71cf  new
SetBestChain: new best=6d7493ffc82a9553cf20  height=303403  work=918117143380
ProcessBlock: ACCEPTED

That is what I grabbed the numbers from tohave another try at making a checkpoint.

Maybe I am simply getting so many orphans that both times I tried to find a hash of a block in my debug.log I happened to be finding an orphan?

-MarkM-

EDIT: Whoa! getblockhash!! I never even knew there was such a command! All these years I have always gone scrolling through debug.log to find a block to get its height and hash!

EDIT2: No! getblockhash is returning a different hash than the one that is used for proof of work; the hash used in the checkpoints is the work proof hash, that is why you see they have more and more zeroes at the left as difficulty goes up.

legendary
Activity: 1792
Merit: 1008
/dev/null
February 23, 2013, 08:26:29 AM
Okay, I managed to push it to https://github.com/knotwork/bbqcoin

-MarkM-

its STILL wrong! seriously, how hard is it to use the hashes of the actual chain? i did it for u!
Code:
k1773r@AltcoinVM:~$ bbqcoind getblockhash 86425
5bb676c3ea2d9cdc2589e7fa53874c425317aa9dadf0ae503fb7cf804cab9762
k1773r@AltcoinVM:~$ bbqcoind getblock 5bb676c3ea2d9cdc2589e7fa53874c425317aa9dadf0ae503fb7cf804cab9762
{
    "hash" : "5bb676c3ea2d9cdc2589e7fa53874c425317aa9dadf0ae503fb7cf804cab9762",
    "confirmations" : 217002,
    "size" : 190,
    "height" : 86425,
    "version" : 1,
    "merkleroot" : "a0df5ebb02972257912d5528777df379ca052110f8c078ad5ad176cdef7e3dea",
    "time" : 1347952774,
    "nonce" : 3554,
    "bits" : "1e3d14e2",
    "difficulty" : 0.00006395,
    "tx" : [
        "a0df5ebb02972257912d5528777df379ca052110f8c078ad5ad176cdef7e3dea"
    ],
    "previousblockhash" : "48aa019d01345dc5e8e6c188d419497de6a1b53df1ac9fe84cfedfc98d77b5a1",
    "nextblockhash" : "5c5db91066822f2c20682320c19cbbac74e37f38a0d40a01cc6a20f99d736807"
}
the newer checkpoint u set is again wrong (there is no such block in our actual chain, same as the one before u made)
Code:
k1773r@AltcoinVM:~$ bbqcoind getblockhash 303403
6d7493ffc82a9553cf20ffca41ace762c3e4e7db4fe6f820675cdf387116342f
k1773r@AltcoinVM:~$ bbqcoind getblock 6d7493ffc82a9553cf20ffca41ace762c3e4e7db4fe6f820675cdf387116342f
{
    "hash" : "6d7493ffc82a9553cf20ffca41ace762c3e4e7db4fe6f820675cdf387116342f",
    "confirmations" : 25,
    "size" : 190,
    "height" : 303403,
    "version" : 1,
    "merkleroot" : "9fbb3e71cf0666bbd06cb84640afa0ef49ee072dda8d4c41106d52b50e27e150",
    "time" : 1361624074,
    "nonce" : 2147484914,
    "bits" : "1d5441cf",
    "difficulty" : 0.01186826,
    "tx" : [
        "9fbb3e71cf0666bbd06cb84640afa0ef49ee072dda8d4c41106d52b50e27e150"
    ],
    "previousblockhash" : "09846e10a0b699bc95ea14730f56ded61f4f13602d357b9f3ec35920e79a24c5",
    "nextblockhash" : "71bb287ea8dd40d5537dd422fc97899ad3711ab0f3434c41e9de81438cfc8648"
}
legendary
Activity: 2940
Merit: 1090
February 23, 2013, 08:03:05 AM
Just wondering how this ripple will help BBQcoin and protect it?

Hmm I don't know that it would protect BBQcoin.

It would let us trade off the chain though, using IOUs, until some day when the chain is secure enough by enough hashing that people feel confident transactions they do on the chain will not be reversed by a 51% attack.

Mostly it just seemed a convenient coin to use for playing with Ripple and testing the IOUs-to-blockchains code.

-MarkM-
legendary
Activity: 2940
Merit: 1090
February 23, 2013, 07:59:10 AM
Okay, I managed to push it to https://github.com/knotwork/bbqcoin

-MarkM-
hero member
Activity: 924
Merit: 1005
Product Marketing & Promotion / Software Developer
February 23, 2013, 07:58:17 AM
We can use them "by proxy" as it were in Ripple.

Basically if you trust my claim that I have mined some blocks of the coin way long time ago, long enough ago that there is more then one hard-coded checkpoint in the code now, so that even a 51%-plus attacker cannot undo those coins, you could consider trusting me for some number of IOUs, denominated in what I guess I will be listing as BBQ not as BQC since I think ordinary folk are far more likely to figure out at a glance the name of the coin if they see BBQ than they are likely to "intuitively know" what "BQC" stands for.

If you have told Ripple you trust me for X number of BBQ IOUs, presto I will be able to send you up to that many such IOUs, and presto BBQ will be useable in Ripple by proxy of these IOUs.

Once I get hold of source code for the Ripple server, I plan to get a Ripple server running so I can flag a Ripple account as the type of account used by Ripple gateways, which will let me start trying to get their example web-based app for transfers between blockchains and IOUs adapted to work with the BBQ blockchain; until then there is no automated way to turn the IOUs back into actual coins on the blockchain.

We'd be playing with our fun coin in Ripple as a fun way to check out Ripple, basically.

I also would prefer not to actually dig out those virgin coins because once moved there would be no hardcoded checkpoints protecting them. So I would not be redeeming IOUs with ancient coins, unless of course I had no more-recently-moved coins to redeem them with.

Thus I will be operating at at least 100% reserve and usually more than 100% reserve.

-MarkM-


Just wondering how this ripple will help BBQcoin and protect it?
newbie
Activity: 12
Merit: 10
February 23, 2013, 07:20:16 AM
Hi,

I am really happy of how this is going.
I made the #bbqcoin IRC channel up. It's on freenode.
I don't have any sources here. I can rebuild the repo on GitHub if someone have them and can maintain it. (I don't know coding.)

And, I am really happy that Greedi have left crypto coins. Please, tell me that Luke-Jr did this too. (He killed BBQCoin.)

Thanks for your support, and see you soon on the IRC channel!

Andy "Cubox" Pilate.
legendary
Activity: 2940
Merit: 1090
February 23, 2013, 07:05:01 AM
We can use them "by proxy" as it were in Ripple.

Basically if you trust my claim that I have mined some blocks of the coin way long time ago, long enough ago that there is more then one hard-coded checkpoint in the code now, so that even a 51%-plus attacker cannot undo those coins, you could consider trusting me for some number of IOUs, denominated in what I guess I will be listing as BBQ not as BQC since I think ordinary folk are far more likely to figure out at a glance the name of the coin if they see BBQ than they are likely to "intuitively know" what "BQC" stands for.

If you have told Ripple you trust me for X number of BBQ IOUs, presto I will be able to send you up to that many such IOUs, and presto BBQ will be useable in Ripple by proxy of these IOUs.

Once I get hold of source code for the Ripple server, I plan to get a Ripple server running so I can flag a Ripple account as the type of account used by Ripple gateways, which will let me start trying to get their example web-based app for transfers between blockchains and IOUs adapted to work with the BBQ blockchain; until then there is no automated way to turn the IOUs back into actual coins on the blockchain.

We'd be playing with our fun coin in Ripple as a fun way to check out Ripple, basically.

I also would prefer not to actually dig out those virgin coins because once moved there would be no hardcoded checkpoints protecting them. So I would not be redeeming IOUs with ancient coins, unless of course I had no more-recently-moved coins to redeem them with.

Thus I will be operating at at least 100% reserve and usually more than 100% reserve.

-MarkM-
hero member
Activity: 924
Merit: 1005
Product Marketing & Promotion / Software Developer
February 23, 2013, 06:36:50 AM
I am really liking this coin so much and I like the fact that the vast majority of people have ignored it and think it is dead.

Can you explain what this ripple thing is please? I guess I have been out of the loop.

I do get scared about exchanged, as that can turn into a pump and dump.

I have alot of BBQcoin's but they are not for dumping but to increase transactions.

When I mine the only transaction free that I see are my own ones that I sent to my GF and another friend, is nobody else adding transaction fees?
legendary
Activity: 2940
Merit: 1090
February 23, 2013, 03:24:09 AM
Well you'd have to throw away the checkpoints list, too, of course.

And maybe it might be a bit rude to fight for the same port number people are already using for the current chain.

I'm not sure who would compensate all the players who parted with "valuable" game items for this game currency you now propose to pull out from under them. You? Or is all the "fun" of this "fun" coin to be taken away from them now?

The players who spent their CPU cycles on GRouPcoin instead will be relieved it isn't the coin they chose to play with that vanished, but if they have any wars of feuds going with characters or clans who chose to go with this coin instead that could end up changing the whole battlefield considerably.

I expect therefore that it would end up with two coins trying to use the same port number and from the sound of it you don't even plan to change the handshaking "magic bytes" so they'll know not to connect to the other coin's nodes?

-MarkM-
sr. member
Activity: 476
Merit: 253
February 23, 2013, 12:36:23 AM
what would happen if we started a new genesis block now ant try to reclaim the chain ?
what would win? 51% clients or client with the highest block ?

if 51% clients would force the new clean blockchain , than we can try it, and than the bbq would be truly reborn. 
legendary
Activity: 2940
Merit: 1090
February 23, 2013, 12:06:53 AM
Congratulations!

Now I know that once an exchange opens for a coin, it can really spoil things, for example start jumping on the coin just to mine-and-dump it.

So don't get all worried when I start getting set up in Ripple to enable trade on the Ripple network; this just seems a fun coin for people to play with on Ripple, I might even be able to set up a web-app that automatically accepts Ripple IOUs and sends out real coins on the blockchain and vice-versa.

Since that is a risky thing to do - opening a web-protocol port to all the hxors on the internetz - it will be good that it is just a fun coin we are doing it with.

At the same time though, it might make it easier for game players to be able to make use of these coins in games.

-MarkM-

P.S. When people go out back to grill sausages/steak etc they do use BBQ as short form of the name of the thing they do it on. I think using BCQ instead is just arbitrary obfuscation/confusing, BBQ is simply more natural/normal/recognisable.
hero member
Activity: 686
Merit: 500
Whoa, there are a lot of cats in this wall.
February 22, 2013, 09:29:41 PM
Nice. Finally got around to getting this setup.  Just mined my first block. 
hero member
Activity: 924
Merit: 1005
Product Marketing & Promotion / Software Developer
February 22, 2013, 07:55:51 PM
In BBQcoin client goto help, debug window.

The go to the console and type in getmininginfo

And it will tell you all you need to know.

Hope this helps.
sr. member
Activity: 302
Merit: 252
February 22, 2013, 04:14:01 PM
would be interesting to know how much Hashrate at a moment exists. Is there an easy way to get these? How is this done for the Bitcoin Network?
hero member
Activity: 924
Merit: 1005
Product Marketing & Promotion / Software Developer
February 22, 2013, 03:57:11 PM
I can be corrected if I am wrong but I don't think that anything like that has been developed right now.

Back on to BBQcoin, the client, Blockchain and transactions all look totally fine and solo mining is working perfectly.
sr. member
Activity: 302
Merit: 252
February 22, 2013, 02:44:25 PM
I thought there would maybe be some kind of client software, maybee a qt-client which can be compiled with parameters like max number of coins, difficulty adjust after x,  and so on..
Then after starting it on 2 computers there is the network with 0 Blocks and you can begin to mine  Grin
Pages:
Jump to: