rpc: send: support external signer

This commit is contained in:
Sjors Provoost
2019-08-04 23:26:01 +02:00
parent 245b4457cf
commit d4b0107d68
10 changed files with 180 additions and 5 deletions

View File

@@ -31,6 +31,10 @@ bilingual_str TransactionErrorString(const TransactionError err)
return Untranslated("Specified sighash value does not match value stored in PSBT");
case TransactionError::MAX_FEE_EXCEEDED:
return Untranslated("Fee exceeds maximum configured by user (e.g. -maxtxfee, maxfeerate)");
case TransactionError::EXTERNAL_SIGNER_NOT_FOUND:
return Untranslated("External signer not found");
case TransactionError::EXTERNAL_SIGNER_FAILED:
return Untranslated("External signer failed to sign");
// no default case, so the compiler can warn about missing cases
}
assert(false);