Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: reformed on June 30, 2013, 04:17:04 PM



Title: [BETA] ThreadCoin Version 0 - testnet - BOUNTY: 250 BT3 for next block
Post by: reformed on June 30, 2013, 04:17:04 PM
Code:
THREADCOIN-TESTNET-BLOCK: 0bacc891239d54fce0c8d8a11474148b4471382c19da5f970607bf30dbda7298 [
block: 0
datetime: 2013-07-01 00:00:00 UTC
nonce: 10
prev:
difficulty: 0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
coinbase: 50.00000000 TO 16WdXLdLd8yLquGoeg1RSUaHoavYhT7yMt
]


Title: Re: [BETA] ThreadCoin Version 0 - testnet
Post by: reformed on June 30, 2013, 04:26:57 PM
hint:   to verify a block, take the contents (everything from the starting [ bracket to the ending ] bracket, including the brackets), and do SHA256(contents), and verify it's the same hash as in the message header, and it meets the difficulty.

Inspired by Abstract Coin (https://bitcointalk.org/index.php?topic=224873.0) and FRM-ACCT (https://bitcointalk.org/index.php?topic=246434.0)  ;)


Title: Re: [BETA] ThreadCoin Version 0 - testnet
Post by: reformed on June 30, 2013, 04:30:57 PM
Code:
THREADCOIN-TESTNET-BLOCK: 0a9173bae8f5009ed288216c89696101c57a64216a38eb5942bbc2180ab224e3 [
block: 1
datetime: 2013-07-01 00:10:00 UTC
nonce: 66
prev: 0bacc891239d54fce0c8d8a11474148b4471382c19da5f970607bf30dbda7298
difficulty: 0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
coinbase: 50.00000000 TO 16WdXLdLd8yLquGoeg1RSUaHoavYhT7yMt
]


Title: Re: [BETA] ThreadCoin Version 0 - testnet
Post by: reformed on June 30, 2013, 08:31:37 PM
Code:
THREADCOIN-TESTNET-TX: G+XxYwT/l+9UH2Q7Gem4tAWeA8xEmXS33E1E5ZTQCO+koXMYiPdSRuj7on1iB8FuGc4An4P18eMHZWy5kkOZpho= [
"SEND 24.90000000 FEE 0.10000000 TO 13DJxAFkL9bgDD9aztRGaqazZyiKdaBFi7 FROM 16WdXLdLd8yLquGoeg1RSUaHoavYhT7yMt"
]

hint:  verify by taking the transaction message:  all text in the quotes "", including the quote characters, and verify the message as signed by the FROM address.    tx message format is  THREADCOIN-TESTNET-TX: SIGNATURE [ "transaction" ]


Title: Re: [BETA] ThreadCoin Version 0 - testnet
Post by: reformed on June 30, 2013, 08:34:56 PM
Code:
THREADCOIN-TESTNET-BLOCK: 078dd665027f5c5f19f96ea21848d1827c924d389d26ffba172fb21451e26b44 [
block: 2
datetime: 2013-07-01 00:20:00 UTC
nonce: FOOBAR
prev: 0a9173bae8f5009ed288216c89696101c57a64216a38eb5942bbc2180ab224e3
difficulty: 0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
coinbase: 50.10000000 TO 16WdXLdLd8yLquGoeg1RSUaHoavYhT7yMt
tx0: "SEND 24.90000000 FEE 0.10000000 TO 13DJxAFkL9bgDD9aztRGaqazZyiKdaBFi7 FROM 16WdXLdLd8yLquGoeg1RSUaHoavYhT7yMt"
tx0-sign: G+XxYwT/l+9UH2Q7Gem4tAWeA8xEmXS33E1E5ZTQCO+koXMYiPdSRuj7on1iB8FuGc4An4P18eMHZWy5kkOZpho=
]


Title: Re: [BETA] ThreadCoin Version 0 - testnet
Post by: jackjack on June 30, 2013, 08:55:30 PM
Quote
nonce: FOOBAR
wat


Title: Re: [BETA] ThreadCoin Version 0 - testnet
Post by: reformed on June 30, 2013, 08:58:42 PM
Quote
nonce: FOOBAR
wat

For ThreadCoin, the nonce can be any valid ASCII string.   So anything to make the hash sha256(block) of the required difficulty is OK.

and: 

BOUNTY: 250 Bitcoin-Testnet3 coins to the first forum member who posts a valid block to this thread!





Title: Re: [BETA] ThreadCoin Version 0 - testnet - BOUNTY: 250 BT3 for next block
Post by: jackjack on June 30, 2013, 10:05:03 PM
Code:
THREADCOIN-TESTNET-BLOCK: 02839d43dedd9a4fb314d8c450b01ac7c85c06ea8ae5eb83a1666d659c5a8c3a [
block: 3
datetime: 2013-07-01 00:30:00 UTC
nonce: The Flying Spaghetti Monster inspired Threadcoin.
prev: 078dd665027f5c5f19f96ea21848d1827c924d389d26ffba172fb21451e26b44
difficulty: 0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
coinbase: 50.00000000 TO 13w4tm5Wp9HLt6d9anTixyxXqPXRZhS7S7
]

You should add an upper limit for the nonce and transaction IDs


Title: Re: [BETA] ThreadCoin Version 0 - testnet - BOUNTY: 250 BT3 for next block
Post by: jackjack on June 30, 2013, 10:08:15 PM
What is the retarget time?


Title: Re: [BETA] ThreadCoin Version 0 - testnet - BOUNTY: 250 BT3 for next block
Post by: reformed on June 30, 2013, 10:19:47 PM
What is the retarget time?

Not sure yet.  Any suggestions?   Something that would play well with a forum-thread based blockchain.

and:  your block 3 is valid!  You earned 250 Bitcoin-Testnet3 coins, what address would you like them sent to?


Title: Re: [BETA] ThreadCoin Version 0 - testnet - BOUNTY: 250 BT3 for next block
Post by: reformed on June 30, 2013, 10:24:41 PM
You should add an upper limit for the nonce size

Lets keep it small for now:  64 character length max for nonce

and:

2nd BOUNTY: 250 Bitcoin-Testnet3 coins for the next new poster to this thread to create valid block #4.


Title: Re: [BETA] ThreadCoin Version 0 - testnet
Post by: jackjack on June 30, 2013, 10:37:43 PM
Code:
THREADCOIN-TESTNET-BLOCK: 08ad7b2888486ff645028500ba235fc3d88e7b029c79fff5be2b07c007c090e1 [
block: 4
datetime: 2013-07-01 00:40:00 UTC
nonce: It inspired Bitcoin too.
prev: 02839d43dedd9a4fb314d8c450b01ac7c85c06ea8ae5eb83a1666d659c5a8c3a
difficulty: 0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
coinbase: 50.00000000 TO 13w4tm5Wp9HLt6d9anTixyxXqPXRZhS7S7
]
I'm OK if you prefer giving the second bounty to another person ;D



What is the retarget time?

Not sure yet.  Any suggestions?   Something that would play well with a forum-thread based blockchain.

and:  your block 3 is valid!  You earned 250 Bitcoin-Testnet3 coins, what address would you like them sent to?
I don't know, you must first choose the number of blocks per day.

miT2BpAVdAibfD6mJMS6nuArhP88QsBjsP thanks!




By the way, you missed my edit: you should add transaction IDs


Title: Re: [BETA] ThreadCoin Version 0 - testnet
Post by: fishy on June 30, 2013, 10:51:00 PM
hint:   to verify a block, take the contents (everything from the starting [ bracket to the ending ] bracket, including the brackets), and do SHA256(contents), and verify it's the same hash as in the message header, and it meets the difficulty.

Inspired by Abstract Coin (https://bitcointalk.org/index.php?topic=224873.0) and FRM-ACCT (https://bitcointalk.org/index.php?topic=246434.0)  ;)

I, the creator of FRM-ACCT, inspired somebody?  I am honored!


Title: Re: [BETA] ThreadCoin Version 0 - testnet - BOUNTY: 250 BT3 for next block
Post by: reformed on July 01, 2013, 07:56:54 AM
Hi all,

jackjack: 
Your bounty payout of 250 Bitcoin-Testnet3 coins is now sent.  Tx id: 4efcda5b755b465deeae2feb7d465ba2fbf8b90870ee3ac48c51cff1195a7016
And good idea about adding transaction Ids, that should be part of the protocol. 

fishy:
Please, the honor is mine!  ThreadCoin would not be possible without the previous inspiring work by FRM-ACCT, and Abstract Coin, and of course Bitcoin itself.   We stand on the shoulders of giants.

and:
2nd Bounty still open, 250 Bitcoin-Testnet3 coins to the next forum member who posts a valid ThreadCoin block to this thread  (previous block creators may still participate, but are not eligible for this bounty ;)



Title: Re: [BETA] ThreadCoin Version 0 - testnet - BOUNTY: 250 BT3 for next block
Post by: jackjack on July 01, 2013, 08:14:38 AM
jackjack: 
Your bounty payout of 250 Bitcoin-Testnet3 coins is now sent.  Tx id: 4efcda5b755b465deeae2feb7d465ba2fbf8b90870ee3ac48c51cff1195a7016
And good idea about adding transaction Ids, that should be part of the protocol. 
Thanks
That will be much easier to track the coins this way. Otherwise you will have to sum all the inputs, then substract all the outputs and then check if there is enough money.


Title: Re: [BETA] ThreadCoin Version 0 - testnet - BOUNTY: 250 BT3 for next block
Post by: reformed on July 01, 2013, 08:15:21 AM
Code:
THREADCOIN-TESTNET-TX: 1d1761e298161acf8159470a57788a66a2a806623deb157b1a636b8f0a7a3ff4 [
datetime: 2013-07-01 00:45:00 UTC
tx: "SEND 9.90000000 FEE 0.10000000 TO 13w4tm5Wp9HLt6d9anTixyxXqPXRZhS7S7 FROM 16WdXLdLd8yLquGoeg1RSUaHoavYhT7yMt"
sign: G9aG9oWchrjuhohgVskhub4MC28Pj7cOeNH16j9AWoXfjQxrYOSVrgEeOlg8DQ+hmR6MAsGk6ASwFPb7KNsHNGg=
comment: Testing new transaction format: hash as ID, signed tx in contents, datetime, and comments
]

hints:
- to validate the message, do sha256(contents) where contents is the complete text from the starting bracket [ to the ending bracket ], including the brackets themselves, compare to the hash in the THREADCOIN-TESTNET-TX: header

- to validate the transaction, goto the tx: line, get content from starting quote " to ending quote ", including the quotes themselves.  Then use the signature and FROM address to verify the message, just like you'd verify a message with bitcoin.


Title: Re: [BETA] ThreadCoin Version 0 - testnet - BOUNTY: 250 BT3 for next block
Post by: reformed on July 01, 2013, 08:29:07 AM
Code:
THREADCOIN-TESTNET-BLOCK: 0cfb091e96ba4d2fa0b8d10dfd2c5cce142366f62e082326468ecbc2f713219c [
block: 5
datetime: 2013-07-01 00:50:00 UTC
nonce: Testing new tx format in block, weeee!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
prev: 08ad7b2888486ff645028500ba235fc3d88e7b029c79fff5be2b07c007c090e1
difficulty: 0fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
coinbase: 50.10000000 TO 16WdXLdLd8yLquGoeg1RSUaHoavYhT7yMt
tx0-id: 1d1761e298161acf8159470a57788a66a2a806623deb157b1a636b8f0a7a3ff4
tx0-tx: "SEND 9.90000000 FEE 0.10000000 TO 13w4tm5Wp9HLt6d9anTixyxXqPXRZhS7S7 FROM 16WdXLdLd8yLquGoeg1RSUaHoavYhT7yMt"
tx0-sign: G9aG9oWchrjuhohgVskhub4MC28Pj7cOeNH16j9AWoXfjQxrYOSVrgEeOlg8DQ+hmR6MAsGk6ASwFPb7KNsHNGg=
tx0-comment: Testing new transaction format: hash as ID, signed tx in contents, datetime, and comments
]


Title: Re: [BETA] ThreadCoin Version 0 - testnet - BOUNTY: 250 BT3 for next block
Post by: reformed on July 01, 2013, 09:19:26 PM
Keeping track of balances is not easy with the current protocol.   Abstract Coin has a good idea: each wallet transaction includes the balance of that wallet.   Time to stealborrow that idea.


Title: Re: [BETA] ThreadCoin Version 0 - testnet - BOUNTY: 250 BT3 for next block
Post by: reformed on July 06, 2013, 09:47:14 AM
bump!

Last chance for bounty!   250 BT3 for the next valid block from a new block creator.

I'll keep this thread open for at least 24 hours, then lock it for prosperity.

This testnet has served its purpose.  We've shown it is possible to run a blockchain-based currency on a forum thread, with signed ownership of addresses.

Next up:  finalize the protocol for ThreadCoin Version 0.1  ;)