Support for main/testnet config.

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>
Support sending of colored coins.

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>
* More wallet refactoring per killerstorm's comments
* unspentOuts coloring for every incoming txAdd is prone to races, we'd better do it here

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>
First workable prototype of colored coins.

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>
Fix colored coin selection race

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>
A few hacks to get it running.

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>
Some guesswork to exclude fees from impact (it destroys colored coins txView).

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>
Better color support in txView

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>