Professional Documents
Culture Documents
A Simple Cryptocurrency
A Simple Cryptocurrency
GoofyCoin
Goofy can create new coins
Alice owns it
now.
signed by pkGoofy
Pay to pkAlice : H( )
signed by pkGoofy
CreateCoin [uniqueCoinID]
The recipient can pass on the coin again.
Bob owns it
signed by pkAlice
now.
Pay to pkBob : H( )
signed by pkGoofy
Pay to pkAlice : H( )
signed by pkGoofy
CreateCoin [uniqueCoinID]
double-spending attack
signed by pkGoofy
Pay to pkAlice : H( )
signed by pkGoofy
CreateCoin [uniqueCoinID]
double-spending attack
coins created
num value recipient
transID: 73 type:PayCoins
consumed coinIDs:
68(1), 42(0), 72(3)
Valid if:
coins created -- consumed coins valid,
num value recipient -- not already consumed,
-- total value out = total value
0 3.2 0x... in, and
-- signed by owners of all
1 1.4 0x... consumed coins
2 7.1 0x...
signatures
Immutable coins