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
Allow attempting to set the full tx for segwit inputs (#266)
* Allow attempting to set the full tx for segwit inputs
An new option to allow *attempting* to set `non_witness_utxo` for segwit inputs on PSBT create/update.
* rename and fix text
Copy file name to clipboardexpand all lines: docs/API.md
+4-1
Original file line number
Diff line number
Diff line change
@@ -953,7 +953,8 @@ Fields:
953
953
"accountKeyPath": "ab5ed9ab/49'/0'/0'"
954
954
}
955
955
],
956
-
"disableFingerprintRandomization": false
956
+
"disableFingerprintRandomization": false,
957
+
"alwaysIncludeNonWitnessUTXO": false
957
958
}
958
959
```
959
960
@@ -982,6 +983,7 @@ Fields:
982
983
*`rebaseKeyPaths[].accountKey`: The account key to rebase
983
984
*`rebaseKeyPaths[].accountKeyPath`: The path from the root to the account key prefixed by the master public key fingerprint.
984
985
*`disableFingerprintRandomization`: Disable the randomization of default parameter's value to match the network's fingerprint distribution. (randomized default values are `version`, `timeLock`, `rbf`, `discourageFeeSniping`)
986
+
*`alwaysIncludeNonWitnessUTXO`: Try to set the full transaction in `non_witness_utxo`, even for segwit inputs (default to `false`)
985
987
986
988
Response:
987
989
@@ -1026,6 +1028,7 @@ NBXplorer will take to complete as much information as it can about this PSBT.
1026
1028
*`rebaseKeyPaths`: Optional. Rebase the hdkey paths (if no rebase, the key paths are relative to the xpub that NBXplorer knows about), a rebase can transform (PubKey0, 0/0, accountFingerprint) by (PubKey0, m/49'/0'/0/0, masterFingerprint)
1027
1029
*`rebaseKeyPaths[].accountKey`: The account key to rebase
1028
1030
*`rebaseKeyPaths[].accountKeyPath`: The path from the root to the account key prefixed by the master public key fingerprint.
1031
+
*`alwaysIncludeNonWitnessUTXO`: Try to set the full transaction in `non_witness_utxo`, even for segwit inputs (default to `false`)
0 commit comments