1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-12-24 23:48:32 +00:00

Made changes to appdx-sx.asciidoc

This commit is contained in:
drusselloctal@gmail.com 2014-10-31 08:47:06 -07:00
parent ae46bf1ad8
commit 5c02ed6914

View File

@ -1,6 +1,6 @@
[[appdx_sx]] [[appdx_sx]]
[appendix] [appendix]
== Appendix: Available commands with sx tools == Available Commands with sx Tools
---- ----
The sx commands are: The sx commands are:
@ -26,7 +26,8 @@ OFFLINE BLOCKCHAIN
OFFLINE KEYS AND ADDRESSES OFFLINE KEYS AND ADDRESSES
BASIC BASIC
addr See Bitcoin address of a public or private key. addr See Bitcoin address of a public or private key.
embed-addr Generate an address used for embedding record of data into the blockchain embed-addr Generate an address used for embedding record of data into the
blockchain
get-pubkey Get the pubkey of an address if available get-pubkey Get the pubkey of an address if available
newkey Create a new private key. newkey Create a new private key.
pubkey See the public part of a private key. pubkey See the public part of a private key.
@ -58,7 +59,8 @@ OFFLINE TRANSACTIONS
showscript Show the details of a raw script. showscript Show the details of a raw script.
showtx Show the details of a transaction. showtx Show the details of a transaction.
sign-input Sign a transaction input. sign-input Sign a transaction input.
unwrap Validates checksum and recovers version byte and original data from hexstring. unwrap Validates checksum and recovers version byte and original data
from hexstring.
validsig Validate a transaction input's signature. validsig Validate a transaction input's signature.
wrap Adds version byte and checksum to hexstring. wrap Adds version byte and checksum to hexstring.
@ -84,23 +86,24 @@ ONLINE (OBELISK)
balance Show balance of a Bitcoin address in satoshis. balance Show balance of a Bitcoin address in satoshis.
fetch-block-header Fetch raw block header. fetch-block-header Fetch raw block header.
fetch-last-height Fetch the last block height. fetch-last-height Fetch the last block height.
fetch-stealth Fetch a stealth information using a network connection to fetch-stealth Fetch a stealth information using a network connection
make requests against the obelisk load balancer backend. to make requests against the obelisk load balancer backend.
fetch-transaction Fetch a raw transaction using a network connection to fetch-transaction Fetch a raw transaction using a network connection to
make requests against the obelisk load balancer backend. make requests against the obelisk load balancer backend.
fetch-transaction-index fetch-transaction-index
Fetch block height and index in block of transaction. Fetch block height and index in block of transaction.
get-utxo Get enough unspent transaction outputs from a given set of get-utxo Get enough unspent transaction outputs from a given set
addresses to pay a given number of satoshis of addresses to pay a given number of satoshis.
history Get list of output points, values, and their spends for an history Get list of output points, values, and their spends for
address. grep can filter for just unspent outputs which can an address. grep can filter for just unspent outputs which can
be fed into mktx. be fed into mktx.
validtx Validate a transaction. validtx Validate a transaction.
BLOCKCHAIN UPDATES BLOCKCHAIN UPDATES
sendtx-obelisk Send tx to obelisk server. sendtx-obelisk Send tx to obelisk server.
BLOCKCHAIN WATCHING BLOCKCHAIN WATCHING
monitor Monitor an address. monitor Monitor an address.
watchtx Watch transactions from the network searching for a certain hash. watchtx Watch transactions from the network searching for a certain
hash.
OBELISK ADMIN OBELISK ADMIN
initchain Initialize a new blockchain. initchain Initialize a new blockchain.
@ -110,13 +113,15 @@ UTILITY
ec-multiply Multiply an integer and a point together. ec-multiply Multiply an integer and a point together.
ec-tweak-add Calculate the result of POINT + INTEGER * G. ec-tweak-add Calculate the result of POINT + INTEGER * G.
FORMAT (BASE 58) FORMAT (BASE 58)
base58-decode Convert from base58 to hex base58-decode Convert from base58 to hex.
base58-encode Convert from hex to base58 base58-encode Convert from hex to base58.
FORMAT (BASE58CHECK) FORMAT (BASE58CHECK)
base58check-decode Convert from base58check to hex base58check-decode Convert from base58check to hex.
base58check-encode Convert from hex to base58check base58check-encode Convert from hex to base58check.
decode-addr Decode a address from base58check form to internal RIPEMD representation decode-addr Decode a address from base58check form to internal RIPEMD
encode-addr Encode an address from internal RIPEMD representation to base58check form representation.
encode-addr Encode an address from internal RIPEMD representation to
base58check form.
FORMAT (WIF) FORMAT (WIF)
secret-to-wif Convert a secret exponent value to Wallet Import Format secret-to-wif Convert a secret exponent value to Wallet Import Format
wif-to-secret Convert a Wallet Import Format to secret exponent value. wif-to-secret Convert a Wallet Import Format to secret exponent value.