Added support for testnet, enable when running configure.
network::connect() timeout.
stop channel if connection times out.
logic error in timeout stuff.
cancel disconnect timer when connected.
stylistic changes:
- unindent macros so they are on the same column always.
- clip long lines to 80 char max horizontal limit.
- comments always on their own line.
- refactored work_required() to look nicer.
- { and } always on a separate line.
Merge branch 'spesmilo' into testnet
logic error in testnet work_required() calculation.
updated AUTHORS file.
pblaa -> previous_blaa.
comment for last_non_special_bits() [testnet func] in work_required()
tidied up the repo.
satoshi_to_btc
mpk copy unit test.
decode_hex_digest was using hash_digest_size. make it use actual HashType size.
Added tools folder, tools Makefile and bootstrap.cpp for importing blocks from a bootstrap.dat file.

usage: bootstrap <blockchain directory> <bootstrap.dat file>

bootstrap.cpp will check block chain directory and init the chain with the genesis block if it has not already been initiated. Then it will begin importing all blocks from the bootstrap.dat file. First block in the bootstrap.dat file is checked to ensure it matches the block hash of genesis_block().

Sometimes the loop stalls waiting for a future to be fulfilled (line 183 & 184), not sure why, but this needs investigating.
Merge branch 'master' of https://github.com/spesmilo/libbitcoin
Added: (outputs, change) = select_outputs(unspent, min_value)
not a fan of inheritance. prefer composition always.
replace main std promise with a spinlock.