aboutsummaryrefslogtreecommitdiff
path: root/contrib/spendfrom
diff options
context:
space:
mode:
authorsuper3 <me@super3.org>2013-10-21 20:00:10 -0400
committersuper3 <me@super3.org>2013-10-21 20:07:31 -0400
commit14f870cee50f791bfa9c08bf1d60f8a3b9aeab23 (patch)
tree758e9890482dd80e953481092d1bada304bd24a7 /contrib/spendfrom
parentdb0e8ccd90c741ee52726db90845aaaebe370f24 (diff)
downloadbitcoin-14f870cee50f791bfa9c08bf1d60f8a3b9aeab23.tar.xz
Prettify some /Contrib READMEs
SYN Remove Dead Readme-Qt Links.
Diffstat (limited to 'contrib/spendfrom')
-rw-r--r--contrib/spendfrom/README.md21
1 files changed, 11 insertions, 10 deletions
diff --git a/contrib/spendfrom/README.md b/contrib/spendfrom/README.md
index bc4def5f74..809540b7b1 100644
--- a/contrib/spendfrom/README.md
+++ b/contrib/spendfrom/README.md
@@ -1,11 +1,10 @@
### SpendFrom ###
Use the raw transactions API to send coins received on a particular
-address (or addresses).
+address (or addresses).
-Depends on `jsonrpc`
-
-Usage:
+### Usage: ###
+Depends on [jsonrpc](http://json-rpc.org/).
spendfrom.py --from=FROMADDRESS1[,FROMADDRESS2] --to=TOADDRESS --amount=amount \
--fee=fee --datadir=/path/to/.bitcoin --testnet --dry_run
@@ -14,21 +13,23 @@ With no arguments, outputs a list of amounts associated with addresses.
With arguments, sends coins received by the `FROMADDRESS` addresses to the `TOADDRESS`.
-You may explictly specify how much fee to pay (a fee more than 1% of the amount
+### Notes ###
+
+- You may explictly specify how much fee to pay (a fee more than 1% of the amount
will fail, though, to prevent bitcoin-losing accidents). Spendfrom may fail if
it thinks the transaction would never be confirmed (if the amount being sent is
too small, or if the transaction is too many bytes for the fee).
-If a change output needs to be created, the change will be sent to the last
+- If a change output needs to be created, the change will be sent to the last
`FROMADDRESS` (if you specify just one `FROMADDRESS`, change will go back to it).
-If `--datadir` is not specified, the default datadir is used.
+- If `--datadir` is not specified, the default datadir is used.
-The `--dry_run` option will just create and sign the the transaction and print
+- The `--dry_run` option will just create and sign the the transaction and print
the transaction data (as hexadecimal), instead of broadcasting it.
-If the transaction is created and broadcast successfully, a transaction id
+- If the transaction is created and broadcast successfully, a transaction id
is printed.
-If this was a tool for end-users and not programmers, it would have much friendlier
+- If this was a tool for end-users and not programmers, it would have much friendlier
error-handling.