PPCoin: RPC command 'getdifficulty' shows proof-of-stake difficulty as well
[novacoin.git] / bitcointools / README.txt
1 ----- dbdump.py -----
2 Run    dbdump.py --help    for usage.  Database files are opened read-only, but
3 you might want to backup your Bitcoin wallet.dat file just in case.
4
5 You must quit Bitcoin before reading the transactions, blocks, or address database files.
6
7 Requires the pycrypto library from  http://www.dlitz.net/software/pycrypto/
8 to translate public keys into human-friendly Bitcoin addresses.
9
10 Examples:
11
12 Print out  wallet keys and transactions:
13   dbdump.py --wallet --wallet-tx
14
15 Print out the "genesis block" (the very first block in the proof-of-work block chain):
16   dbdump.py --block=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
17
18 Print out one of the transactions from my wallet:
19   dbdump.py --transaction=c6e1bf883bceef0aa05113e189982055d9ba7212ddfc879798616a0d0828c98c
20   dbdump.py --transaction=c6e1...c98c
21
22 Print out all 'received' transactions that aren't yet spent:
23   dbdump.py --wallet-tx-filter='fromMe:False.*spent:False'
24
25 Print out all blocks involving transactions to the Bitcoin Faucet:
26   dbdump.py --search-blocks=15VjRaDX9zpbA8LVnbrCAFzrVzN7ixHNsC
27
28 There's a special search term to look for non-standard transactions:
29   dbdump.py --search-blocks=NONSTANDARD_CSCRIPTS
30
31 ----- statistics.py -----
32 Scan all the transactions in the block chain and dump out a .csv file that shows transaction volume per month.
33
34 ----- fixwallet.py -----
35 Half-baked utility that reads a wallet.dat and writes out a new wallet.dat.
36
37 Only half-baked because to be really useful I'd have to write serialize routines to re-pack data after modifying it...
38
39 ----- jsonToCSV.py -----
40 Read JSON list-of-objects from standard input, writes CSV file to standard output.
41 Useful for converting bitcoind's listtransactions output to CSV that can be
42 imported into a spreadsheet.