Commit dafe162a authored by Michał Sałaban's avatar Michał Sałaban
Browse files

Describe "do_not_relay" flag and the strange default

parent 86428839
......@@ -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"
}
```
\ No newline at end of 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"
}
```
\ No newline at end of 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"
}
```
\ No newline at end of file
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment