Commit Graph

931 Commits

Author SHA1 Message Date
TomZ 0d3d9f0efb Add NetworkManager::setAutoApiLogin() method.
Make sure that clients can do login to the API by doing nothing more
than pointing to the filename of the api-cookie.
2018-02-17 23:33:23 +01:00
TomZ 72593ea6a5 Merge branch 'master' into pos 2018-02-17 19:02:18 +01:00
TomZ e610771119 Introduce AddressMonitorService
This service allows one to connect it and register any number of
bitcoin-addresses which will then cause any transaction or block
coming in the future lead the subscriber to get notified about
such events.
2018-02-17 14:47:51 +01:00
TomZ 9590e1b24d Update logging sections
To allow configurability, don't give the whole 1000 sections a
real component, let them be a meta-group.

Also add the upcoming POS (point of sale) component.
2018-02-17 14:47:51 +01:00
TomZ ee38f6ac09 Merge with rename to api server 2018-02-17 14:47:51 +01:00
TomZ 1e66ae1434 More streaming additions 2018-02-17 14:47:51 +01:00
TomZ 5769517646 Make MessageParser use ConstBuffer more. 2018-02-17 14:47:51 +01:00
TomZ 4635c7a7c4 Rename "AdminServer" to "APIServer"
The change signifies that the server is not just for admin purposes it
will become the preferred way for all subnet-local interactions.

Notice that we still have the JSON based RPC protocol as fallback.
2018-02-17 14:47:51 +01:00
TomZ e16353a7cc fix innocent copy/paste bug 2018-02-17 14:45:09 +01:00
TomZ 260a393411 Cleanup interface, remove unused argument. 2018-02-17 14:45:09 +01:00
TomZ 83c25cc2ec Increase number of outgoing connections. 2018-02-16 12:37:29 +01:00
TomZ 33fe0fccb5 Cleanup ValidationInterface
Get rid of the weird boost signals setup
Move it to a new library 'interfaces' which is
for stuff that has no dependencies and can avoid
creating inter-library or cicular dependencies.
2018-02-16 12:37:13 +01:00
TomZ 95325d5cdb Be consistent; lowercase the networkmanager dir. 2018-02-16 12:36:51 +01:00
TomZ ace04a5070 Remove debug sections configuration via commandline. 2018-02-16 12:36:11 +01:00
TomZ c8e401f43a Move worker-threads functionality into the util lib. 2018-02-16 12:36:06 +01:00
TomZ 8cfacf219b Add NetworkService class 2018-02-16 12:32:08 +01:00
TomZ e9b7b00ee9 Add mark_release cmake config option 2018-02-14 14:56:15 +01:00
TomZ 954948246f Make clear this content is under the same license 2018-02-14 14:26:28 +01:00
TomZ 91bd1d137a remove hack 2018-02-14 13:49:54 +01:00
TomZ c335752304 Don't make it client-verion based, just version it normally 2018-02-14 13:49:54 +01:00
TomZ fcee5dd68f Remove duplicate include 2018-02-14 13:49:54 +01:00
TomZ 4ac68439d1 Introduce CMake building 2018-02-14 13:49:54 +01:00
TomZ f5dc657a4b Start new libs/api for the API server 2018-02-14 13:49:53 +01:00
TomZ 7e737c8ea8 Start library/networkmanger 2018-02-14 13:49:53 +01:00
TomZ 5986f46a4c Create libs/console
shared between 'hub-cli' and 'hub-qt'
2018-02-13 13:27:58 +01:00
TomZ ed985bce0e Start libs/crypto 2018-02-13 13:27:58 +01:00
TomZ b76ca3a97e Start libs/utils 2018-02-13 13:27:58 +01:00
TomZ 14bf96aa3c Start libs/server 2018-02-13 13:27:58 +01:00
TomZ 7ca95926c1 Move secp256k1 to 3rdparty libs dir 2018-02-13 13:12:34 +01:00
TomZ de06599dfa move leveldb to 3rdparty libs 2018-02-13 13:12:34 +01:00
TomZ 9e6a93a620 Move univalue to new dir 2018-02-13 13:12:34 +01:00