rpc: minConfs and spendUnconfirmed for EstimateFee
This commit is contained in:
8 files changed
+855
-738
No files matched your search
+726
-707
File diff suppressed because it is too large.
Load diff
@@ -899,6 +899,13 @@ message EstimateFeeRequest {
|
||||
// The target number of blocks that this transaction should be confirmed
|
||||
// by.
|
||||
int32 target_conf = 2;
|
||||
|
||||
// The minimum number of confirmations each one of your outputs used for
|
||||
// the transaction must satisfy.
|
||||
int32 min_confs = 3;
|
||||
|
||||
// Whether unconfirmed outputs should be used as inputs for the transaction.
|
||||
bool spend_unconfirmed = 4;
|
||||
}
|
||||
|
||||
message EstimateFeeResponse {
|
||||
|
||||
@@ -2034,6 +2034,22 @@
|
||||
"required": false,
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
{
|
||||
"name": "min_confs",
|
||||
"description": "The minimum number of confirmations each one of your outputs used for\nthe transaction must satisfy.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
{
|
||||
"name": "spend_unconfirmed",
|
||||
"description": "Whether unconfirmed outputs should be used as inputs for the transaction.",
|
||||
"in": "query",
|
||||
"required": false,
|
||||
"type": "boolean",
|
||||
"format": "boolean"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
|
||||
Reference in new issue
Block a user