You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the validator is initialized we need to check that the user-supplied method for fetching transactions (i.e., getRawTransaction) will throw when txids that do not exist are requested. This can be done by simply calling getRawTransaction during ValidatorType1 instantiation or first call to isSlpTxidValid.
use some impossible txid like 0000...0000
a short timeout should be used in case the user-suppled method hangs.
regardless of what the user's method throws, we should replace that by throwing the a consistent message of "Transaction data for the provided txid not found"
The text was updated successfully, but these errors were encountered:
When the validator is initialized we need to check that the user-supplied method for fetching transactions (i.e.,
getRawTransaction
) will throw when txids that do not exist are requested. This can be done by simply callinggetRawTransaction
duringValidatorType1
instantiation or first call toisSlpTxidValid
.0000...0000
The text was updated successfully, but these errors were encountered: