Merge pull request #556 from emesik/rawtx-relay

Describe "do_not_relay" flag and the strange default
This commit is contained in:
luigi1111 2018-03-05 13:54:37 -05:00 committed by GitHub
commit afb4787680
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 6 deletions

View file

@ -717,6 +717,7 @@ Broadcast a raw transaction to the network.
Inputs: Inputs:
* *tx_as_hex* - string; Full transaction information as hexidecimal string. * *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: 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'
``` ```

View file

@ -718,6 +718,7 @@ Broadcast a raw transaction to the network.
Inputs: Inputs:
* *tx_as_hex* - string; Full transaction information as hexidecimal string. * *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: 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'
``` ```

View file

@ -718,6 +718,7 @@ Broadcast a raw transaction to the network.
Inputs: Inputs:
* *tx_as_hex* - string; Full transaction information as hexidecimal string. * *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: 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'
``` ```