putBlock
putBlock(
baseChain
): (block
) =>Promise
<void
>
Parameters
• baseChain: BaseChain
Returns
Function
Adds a block to the blockchain.
Parameters
• block: Block
The block to be added to the blockchain.
Returns
Promise
<void
>
putBlock(
baseChain
): (block
) =>Promise
<void
>
• baseChain: BaseChain
Function
Adds a block to the blockchain.
• block: Block
The block to be added to the blockchain.
Promise
<void
>