Function Ledger.validateBlock
Check whether the block is valid.
Parameters
Name | Description |
---|---|
block | the block to check |
Returns
an error message if the block validation failed, otherwise null
Check whether the block is valid.
Name | Description |
---|---|
block | the block to check |
an error message if the block validation failed, otherwise null