1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2025-02-02 10:51:24 +00:00

formatting fixes

This commit is contained in:
Andreas M. Antonopoulos 2014-09-25 12:26:52 -04:00
parent b786ce566f
commit a8fafbc6c0

View File

@ -5,127 +5,128 @@
The sx commands are: The sx commands are:
DEPRECATED DEPRECATED
ELECTRUM STYLE DETERMINISTIC KEYS AND ADDRESSES ELECTRUM STYLE DETERMINISTIC KEYS AND ADDRESSES
genaddr Generate a Bitcoin address deterministically from a wallet genaddr Generate a Bitcoin address deterministically from a wallet
seed or master public key. seed or master public key.
genpriv Generate a private key deterministically from a seed. genpriv Generate a private key deterministically from a seed.
genpub Generate a public key deterministically from a wallet genpub Generate a public key deterministically from a wallet
seed or master public key. seed or master public key.
mpk Extract a master public key from a deterministic wallet seed. mpk Extract a master public key from a deterministic wallet seed.
newseed Create a new deterministic wallet seed. newseed Create a new deterministic wallet seed.
EXPERIMENTAL EXPERIMENTAL
APPS APPS
wallet Experimental command line wallet. wallet Experimental command line wallet.
OFFLINE BLOCKCHAIN OFFLINE BLOCKCHAIN
HEADERS HEADERS
showblkhead Show the details of a block header. showblkhead Show the details of a block header.
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.
validaddr Validate an address. validaddr Validate an address.
BRAIN STORAGE BRAIN STORAGE
brainwallet Make 256 bit bitcoin private key from an arbitrary passphrase. brainwallet Make 256 bit bitcoin private key from an arbitrary passphrase.
mnemonic Make 12 word mnemonic out of 128 bit electrum or bip32 seed. mnemonic Make 12 word mnemonic out of 128 bit electrum or bip32 seed.
HD / BIP32 HD / BIP32
hd-priv Create an private HD key from another HD private key. hd-priv Create an private HD key from another HD private key.
hd-pub Create an HD public key from another HD private or public key. hd-pub Create an HD public key from another HD private or public key.
hd-seed Create a random new HD key. hd-seed Create a random new HD key.
hd-to-address Convert an HD public or private key to a Bitcoin address. hd-to-address Convert an HD public or private key to a Bitcoin address.
hd-to-wif Convert an HD private key to a WIF private key. hd-to-wif Convert an HD private key to a WIF private key.
MULTISIG ADDRESSES MULTISIG ADDRESSES
scripthash Create BIP 16 script hash address from raw script hex. scripthash Create BIP 16 script hash address from raw script hex.
STEALTH STEALTH
stealth-addr See a stealth address from given input. stealth-addr See a stealth address from given input.
stealth-initiate Initiate a new stealth payment. stealth-initiate Initiate a new stealth payment.
stealth-newkey Generate new stealth keys and an address. stealth-newkey Generate new stealth keys and an address.
stealth-show-addr Show details for a stealth address. stealth-show-addr Show details for a stealth address.
stealth-uncover Uncover a stealth address. stealth-uncover Uncover a stealth address.
stealth-uncover-secret Uncover a stealth secret. stealth-uncover-secret Uncover a stealth secret.
OFFLINE TRANSACTIONS OFFLINE TRANSACTIONS
SCRIPTING SCRIPTING
mktx Create an unsigned tx. mktx Create an unsigned tx.
rawscript Create the raw hex representation from a script. rawscript Create the raw hex representation from a script.
set-input Set a transaction input. set-input Set a transaction input.
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.
ONLINE (BITCOIN P2P) ONLINE (BITCOIN P2P)
BLOCKCHAIN UPDATES BLOCKCHAIN UPDATES
sendtx-node Send transaction to a single node. sendtx-node Send transaction to a single node.
sendtx-p2p Send tx to bitcoin network. sendtx-p2p Send tx to bitcoin network.
ONLINE (BLOCKCHAIN.INFO) ONLINE (BLOCKCHAIN.INFO)
BLOCKCHAIN QUERIES (blockchain.info) BLOCKCHAIN QUERIES (blockchain.info)
bci-fetch-last-height Fetch the last block height using blockchain.info. bci-fetch-last-height Fetch the last block height using blockchain.info.
bci-history Get list of output points, values, and their spends bci-history Get list of output points, values, and their spends
from blockchain.info from blockchain.info
BLOCKCHAIN UPDATES BLOCKCHAIN UPDATES
sendtx-bci Send tx to blockchain.info/pushtx. sendtx-bci Send tx to blockchain.info/pushtx.
ONLINE (BLOCKEXPLORER.COM) ONLINE (BLOCKEXPLORER.COM)
BLOCKCHAIN QUERIES (blockexplorer.com) BLOCKCHAIN QUERIES (blockexplorer.com)
blke-fetch-transaction Fetches a transaction from blockexplorer.com blke-fetch-transaction Fetches a transaction from blockexplorer.com
ONLINE (OBELISK) ONLINE (OBELISK)
BLOCKCHAIN QUERIES BLOCKCHAIN QUERIES
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 to
make requests against the obelisk load balancer backend. 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 block height and index in block of transaction. fetch-transaction-index
get-utxo Get enough unspent transaction outputs from a given set of Fetch block height and index in block of transaction.
addresses to pay a given number of satoshis get-utxo Get enough unspent transaction outputs from a given set of
history Get list of output points, values, and their spends for an addresses to pay a given number of satoshis
address. grep can filter for just unspent outputs which can history Get list of output points, values, and their spends for an
be fed into mktx. address. grep can filter for just unspent outputs which can
validtx Validate a transaction. be fed into mktx.
BLOCKCHAIN UPDATES validtx Validate a transaction.
sendtx-obelisk Send tx to obelisk server. BLOCKCHAIN UPDATES
BLOCKCHAIN WATCHING sendtx-obelisk Send tx to obelisk server.
monitor Monitor an address. BLOCKCHAIN WATCHING
watchtx Watch transactions from the network searching for a certain hash. monitor Monitor an address.
OBELISK ADMIN watchtx Watch transactions from the network searching for a certain hash.
initchain Initialize a new blockchain. OBELISK ADMIN
initchain Initialize a new blockchain.
UTILITY UTILITY
EC MATH EC MATH
ec-add-modp Calculate the result of INTEGER + INTEGER. ec-add-modp Calculate the result of INTEGER + INTEGER.
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 representation
encode-addr Encode an address from internal RIPEMD representation to base58check form 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.
HASHES HASHES
ripemd-hash RIPEMD hash data from STDIN. ripemd-hash RIPEMD hash data from STDIN.
sha256 Perform SHA256 hash of data. sha256 Perform SHA256 hash of data.
MISC MISC
qrcode Generate Bitcoin QR codes offline. qrcode Generate Bitcoin QR codes offline.
SATOSHI MATH SATOSHI MATH
btc Convert Satoshis into Bitcoins. btc Convert Satoshis into Bitcoins.
satoshi Convert Bitcoins into Satoshis. satoshi Convert Bitcoins into Satoshis.
See 'sx help COMMAND' for more information on a specific command. See 'sx help COMMAND' for more information on a specific command.