Asli ini program gw gabut doank, bikin blockchain :V (this is my free time project :V )
nah dari program ini output akan seperti ini (the output will be like this)
Blockchain: [
{
'index':1,
'timestamp': 1613379386.7627656,
'transactions': [],
'proof':100,
'previous_hash': Pesan pertama digunakan untuk menghasilkan hash pertama'},
{
'index': 2,
'timestamp': 1613379386.7627656,
'transactions':
[
{
'sender': 'Satoshi',
'recipient': 'xnuvers',
'amount': '5 BTC'
},
{
'sender': 'xnuvers',
'recipient': 'Satoshi',
'amount': '1 BTC'
}
],
'proof': 1928,
'previous_hash': 'f408315ab7b74d56941540cbb5d5ca2cb895dad2a92xxxxxxxxxxxxx'
}
]