Commit graph

12 commits

Author SHA1 Message Date
Calin Culianu
0da480f3c5 Got Controller and EXMgr to use the TimersByNameMixin
This mixin should be useful as we move forward
2019-05-05 01:03:23 +03:00
Calin Culianu
e3471d743d nit 2019-05-04 23:32:10 +03:00
Calin Culianu
a0195a9ae0 Made the round-trip shuffle.spec command work and verify utxos
We are like 50% there to milestone 1. Next, implement shuffle logic,
python test client, and tx building/verification.

Who am I kidding.. we are still pretty far away. :)
2019-05-04 22:53:36 +03:00
Calin Culianu
d87720d110 Hooked Controller into more things from exMgr, etc 2019-05-04 16:54:17 +03:00
Calin Culianu
cb5def88a0 hooked the controller in further to tcpserver .. more to do on that front 2019-05-04 09:37:42 +03:00
Calin Culianu
31b891c006 hooked controller object in to app startup 2019-05-04 06:00:01 +03:00
Calin Culianu
f36d7d00c9 added unconfirmed utxo separation in AddressUnspentEntry 2019-05-04 05:13:35 +03:00
Calin Culianu
631b8d3e80 fixed bug in operator< for BTC::Address and BTC::UTXO 2019-05-03 21:39:25 +03:00
Calin Culianu
113efda25a Added spec rpc command from clients to us.. still need to do listunspent 2019-05-03 17:28:51 +03:00
Calin Culianu
8399ee0052 Added BTC::UTXO with tests
Faster encapsulation of UTXOs .. string based.  Copy-on-write.

interops with bitcoin::COutPoint
2019-05-03 14:37:07 +03:00
Calin Culianu
3f49dce1db Added some small goodies
- Util::RunInThread to run a lambda in a thread
- App exit handling cleanup
- EXMgr uses an id for clients now
- EXMgr keeps track of lagging clients
- EXMgr more aggressive with reconnects if no valid exclients
- Nits and refactorings and misc. cleanup
2019-04-27 12:38:50 +03:00
Calin Culianu
e65bacd7fd Petit refactoring
- Made the stale timeout be 2 mins now
- Check clients runs every 1 minute
- Added 'Controller' ABC which EXMgr is one of and the TcpServer will be
another.
2019-04-26 06:23:49 +03:00