Commit Graph

7 Commits

Author SHA1 Message Date
TomZ 0293890e80 Add optional async job to Hub API
The current design of the API is that all questions are answered in-
order. This implies that handling of one connection will also just use
one thread.

If we want to improve performance of things like "sendTransaction" we
want an async option, which runs the action and generates the answer
when its done in a separate thread (a new one for each async-request).

This breaks the in-order reply sequence for clients and as such it
requires them to set a new header-option to enable this.
2020-09-29 17:34:06 +02:00
TomZ 5e28bc14b2 Fix return-type 2020-07-17 22:07:15 +02:00
TomZ aa15896386 Fix constness and use nullptr 2019-09-12 15:22:34 +02:00
TomZ d2cf95d540 Add helper methods Message::matches(...) 2019-08-16 23:40:23 +02:00
TomZ b8d329ef9f Further moves; NetworkEnums and netbase.{cpp|h}
NetworkEnums.h moves from utils to interfaces.
netbase moves from server to utils/
2019-03-29 21:39:08 +01:00
TomZ 95325d5cdb Be consistent; lowercase the networkmanager dir. 2018-02-16 12:36:51 +01:00
TomZ b76ca3a97e Start libs/utils 2018-02-13 13:27:58 +01:00