Commit Graph

32 Commits

Author SHA1 Message Date
Nikolay Volf 8ab56ea3d1 IPC (feature-gated) (#1654)
* moving ipc deriving to trait

* refactoring of the client

* all compiled

* proved all working

* warnings purged

* allow hypervisor to specify initialization payload in two ways

* using binary initialisation payload for sync

* some docs

* logger to separate crate

* log settings for sync bin

* forwarding logging arguments to the sync
2016-07-20 18:13:56 +02:00
gregg dourgarian d67369a01c fix typos (#1644) 2016-07-19 20:42:23 +02:00
NikVolf c3ef5c10a3 got rid of the generic parameter for ipc interface 2016-07-16 19:24:45 +02:00
NikVolf 77bbab009e got rid of Arc<T> dispatch 2016-07-16 19:09:14 +02:00
NikVolf 507a4ea26c basic layout of sync executable and minor fixes in the api 2016-07-15 15:32:29 +02:00
Nikolay Volf 44bc8a08fb Sync IPC interface (#1584)
* chain notify trait

* replaced network service with io service

* fix ethcore crate warnings

* refactored network service without generic

* ethcore fix

* ethsync refactoring

* proper linking of notify

* manage network interface

* rpc crate rebinding

* full rewire

* sync internal io service

* fix deadlock

* fix warnings and removed async io

* sync imported message propagation

* fix rpc warnings

* binart warnings

* test fixes

* rpc mocks and tests

* fix util doctest

* fix message name and removed empty notifier

* pointers mess & dark mode fixed

* fixed sync doctest

* added few warnings

* fix review

* new convention match

* fix error unwraps

* doctest fix

* basic library re-layout

* missing files to relayout

* duplicating network config on sync level

* binary serializers for config

* ipc endpoint for manage

* ipc endpoint for sync

* handshake sorting out

* sorting out the multi-interface dispatch scenario

* fixing tests

* fix doctest
2016-07-14 12:07:33 +02:00
Nikolay Volf 81d8dafd9e Ipc serialization & protocol fixes (#1188)
* serialization and codegen fixes from branch

* nano lib fixes

* fixes error encoding & comment

* another comment fix

* client timeout -> const
2016-06-02 19:04:42 +02:00
Nikolay Volf dfac17538f ethcore-db crate (#1097)
* trait

* implentated, lifetime issue still

* full api

* test mod

* working open

* get/retrieve

* fix warnings and bug

* working serialization of &[u8] parameters

* client attributes

* fix empty payload ser/de

* [ci skip] debug assert out

* extra deserialization test

* extra serialization test

* extra serialization test

* serialization fixes, nupdate rocksdb

* open test working

* result bug & remove some scaffolds

* fix warnings

* more simple tests

* consistent quotes

* get rid of dedicated is_open flag

* hashmap -> btreemap
2016-05-19 14:36:15 +02:00
Nikolay Volf a86c39f7fa IPC JSON RPC (for external interface) (#1009)
* initial

* rpc file

* compiling nano part

* remove from rpc lib so far

* drop & stop improved

* ok(0)
2016-04-28 15:58:18 +01:00
NikVolf 1b2ef60bbe working tests including warmup 2016-04-14 20:43:14 +03:00
NikVolf 4d527e152c hypervisor-service chain 2016-04-14 18:49:25 +03:00
NikVolf 4931a300f2 first tests 2016-04-14 18:22:31 +03:00
NikVolf 405e3e2e7d initial setup 2016-04-13 19:03:57 +03:00
NikVolf 8af86aae84 some docs 2016-04-12 14:22:47 +03:00
NikVolf 806f5b9064 working client spawn 2016-04-12 14:22:47 +03:00
NikVolf cb1096d1e1 adding init wait 2016-04-12 14:22:47 +03:00
NikVolf 40e0d370c2 client spawner 2016-04-12 14:22:47 +03:00
NikVolf aea185471a using nanomsg polling 2016-04-06 00:10:24 +03:00
NikVolf 47cfab2bbf loop size 2016-04-05 12:37:05 +03:00
NikVolf 201d47a483 fixing url 2016-04-05 12:11:05 +03:00
NikVolf 0d7e52ac6f dispatch buf and proper polling 2016-04-05 12:08:42 +03:00
NikVolf 4cde01d81a guarding endpoints 2016-04-04 20:47:16 +03:00
NikVolf 952a834e43 savework 2016-04-04 10:55:06 +03:00
NikVolf 35465debd6 flush 2016-04-04 01:52:19 +03:00
NikVolf fa63d9e34a non-working test for dispatching 2016-04-04 01:44:30 +03:00
NikVolf 675af841e8 dummy service 2016-04-04 00:54:30 +03:00
NikVolf 1395d58d39 actual test flag 2016-04-04 00:42:00 +03:00
NikVolf 99d127bb34 duplex & tests 2016-04-04 00:33:30 +03:00
NikVolf 5cd6a04082 to pollng also 2016-04-04 00:00:57 +03:00
NikVolf 326855dc3a basic polling 2016-04-03 23:58:18 +03:00
NikVolf b04d8196c7 dispatch_buf 2016-04-03 23:39:49 +03:00
NikVolf 0a60da622f new crate 2016-04-03 21:43:35 +03:00