mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Use RPC calls to check bitcoin blocks are valid and confirmed
This commit is contained in:
parent
7c9a06de5a
commit
c94ee2b4e0
12 changed files with 122 additions and 13 deletions
|
|
@ -95,6 +95,8 @@ const char* ScriptErrorString(const ScriptError serror)
|
|||
return "Withdraw proof validation failed - locking transaction misformatted";
|
||||
case SCRIPT_ERR_WITHDRAW_VERIFY_OUTPUT:
|
||||
return "Withdraw proof validation failed - output does not match expected";
|
||||
case SCRIPT_ERR_WITHDRAW_VERIFY_BLOCKCONFIRMED:
|
||||
return "Withdraw proof validation failed - lock block was not sufficiently confirmed on sending chain";
|
||||
case SCRIPT_ERR_UNKNOWN_ERROR:
|
||||
case SCRIPT_ERR_ERROR_COUNT:
|
||||
default: break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue