Exception
KernelException
ProcessBlockException
Bases: KernelException
Raised when ChainstateManager fails to process a block.
Source code in pbk/util/exc.py
__init__
Create a block processing exception.
| PARAMETER | DESCRIPTION |
|---|---|
code
|
The error code returned by the C API.
TYPE:
|
ScriptVerifyException
Bases: KernelException
Exception raised when script verification fails.
This exception is raised by the ScriptPubkey.verify function when a script does not pass validation. The exception includes a status code that provides details about why verification failed.
| ATTRIBUTE | DESCRIPTION |
|---|---|
status |
The status code indicating the failure reason.
TYPE:
|
Source code in pbk/script.py
__init__
Create a script verification exception.
| PARAMETER | DESCRIPTION |
|---|---|
status
|
The verification status code indicating the failure reason.
TYPE:
|