Describe "do_not_relay" flag and the strange default

This commit is contained in:
Michał Sałaban 2018-03-03 22:13:00 +01:00
parent 8642883922
commit dafe162aef
3 changed files with 9 additions and 6 deletions

View File

@ -717,6 +717,7 @@ Broadcast a raw transaction to the network.
Inputs:
* *tx_as_hex* - string; Full transaction information as hexidecimal string.
* *do_not_relay* - boolean; Stop relaying transaction to other nodes (default is `false` now; in versions 0.11.1 it was `true`).
Outputs:
@ -737,7 +738,7 @@ Example (No return information included here.):
```
$ curl -X POST http://127.0.0.1:18081/sendrawtransaction -d '{"tx_as_hex":"de6a3..."}' -H 'Content-Type: application/json'
$ curl -X POST http://127.0.0.1:18081/sendrawtransaction -d '{"tx_as_hex":"de6a3...", "do_not_relay":false}' -H 'Content-Type: application/json'
```
@ -828,4 +829,4 @@ $ curl -X POST http://127.0.0.1:18081/stop_daemon -H 'Content-Type: application/
{
"status": "OK"
}
```
```

View File

@ -718,6 +718,7 @@ Broadcast a raw transaction to the network.
Inputs:
* *tx_as_hex* - string; Full transaction information as hexidecimal string.
* *do_not_relay* - boolean; Stop relaying transaction to other nodes (default is `false` now; in versions 0.11.1 it was `true`).
Outputs:
@ -738,7 +739,7 @@ Example (No return information included here.):
```
$ curl -X POST http://127.0.0.1:18081/sendrawtransaction -d '{"tx_as_hex":"de6a3..."}' -H 'Content-Type: application/json'
$ curl -X POST http://127.0.0.1:18081/sendrawtransaction -d '{"tx_as_hex":"de6a3...", "do_not_relay":false}' -H 'Content-Type: application/json'
```
@ -829,4 +830,4 @@ $ curl -X POST http://127.0.0.1:18081/stop_daemon -H 'Content-Type: application/
{
"status": "OK"
}
```
```

View File

@ -718,6 +718,7 @@ Broadcast a raw transaction to the network.
Inputs:
* *tx_as_hex* - string; Full transaction information as hexidecimal string.
* *do_not_relay* - boolean; Stop relaying transaction to other nodes (default is `false` now; in versions 0.11.1 it was `true`).
Outputs:
@ -738,7 +739,7 @@ Example (No return information included here.):
```
$ curl -X POST http://127.0.0.1:18081/sendrawtransaction -d '{"tx_as_hex":"de6a3..."}' -H 'Content-Type: application/json'
$ curl -X POST http://127.0.0.1:18081/sendrawtransaction -d '{"tx_as_hex":"de6a3...", "do_not_relay":false}' -H 'Content-Type: application/json'
```
@ -829,4 +830,4 @@ $ curl -X POST http://127.0.0.1:18081/stop_daemon -H 'Content-Type: application/
{
"status": "OK"
}
```
```