Class: Construction

Construction(index, prevHash, transactions, prevProof)

new Construction(index, prevHash, transactions, prevProof)

Parameters:
Name Type Description
index Id of the block
prevHash Hash of the previous block.
transactions Instance of Transaction class.
prevProof Proof number of previous Block
Source:
See:

Construction(sender, receiver, amount)

new Construction(sender, receiver, amount)

Parameters:
Name Type Description
sender Wallet adress of the sender
receiver Wallet adress of the receiver
amount Amount of coins to send
Source: