Commit Graph

363 Commits

Author SHA1 Message Date
Oskar Thoren c0e5c3f1c2
NS service fixup 2019-09-06 09:38:23 +02:00
Oskar Thoren 06490462d9
Sketch out NS service proto 2019-09-04 16:25:40 +02:00
Oskar Thoren 6bf6d38c6d
casserver/client use new interface and bytes 2019-09-04 16:02:34 +02:00
Oskar Thoren 19b06cb1a8
Simplify CAS service definition 2019-09-04 15:47:56 +02:00
Oskar Thoren 2eae42ae20
start remote log spec mock 2019-09-04 14:45:46 +02:00
Oskar Thoren 96a323d730
Basic CASServer and CASClient 2019-09-03 11:47:59 +02:00
Oskar Thoren 92422542c0
add cas data field 2019-09-03 11:12:10 +02:00
Oskar Thoren d124d917a1
protocol -> cas_service 2019-09-03 11:00:08 +02:00
Oskar Thoren 85be50d903
nim twirp service experiment 2019-09-03 10:25:03 +02:00
Oskar Thoren d7ab72bcbd
hello twirp example protobuf 2019-09-03 10:13:53 +02:00
Oskar Thoren 177bef69b1
add commented out service 2019-09-03 10:01:47 +02:00
Oskar Thoren fe09be631e
WIP misc parsing/creation
still some issues with .id field now
2019-08-12 02:18:37 +08:00
Oskar Thoren 8a7042741e
Parse CASResponse and error if wrong type 2019-08-12 01:53:34 +08:00
Oskar Thoren 6552061377
Use CASResponse 2019-08-12 00:44:30 +08:00
Oskar Thoren f9745505f0
Add CASResponse type 2019-08-12 00:44:18 +08:00
Oskar Thoren 66c3cab672
WIP Replace ad hoc API with protobuf and CASRequest 2019-08-09 18:52:28 +08:00
Oskar Thoren 6f607edcf8
protobuf testing 2019-08-09 18:51:59 +08:00
Oskar Thoren 23576e05bb
Remove old file 2019-08-09 14:08:59 +08:00
Oskar Thoren aa909936f7
Protobuf CASRequest and predicate for post/get 2019-08-08 22:44:34 +08:00
Oskar Thoren f38e5f64b1
Include protocol 2019-08-08 20:03:35 +08:00
Oskar Thoren 736078dbf8
WIP sketch protobuf req/resp types 2019-08-07 16:00:57 +08:00
Oskar Thoren de733f2ff6
Basic protobuf example 2019-08-07 15:11:58 +08:00
Oskar Thoren 6955e4c162
Sketch use cas hash for ns wip 2019-08-07 14:51:07 +08:00
Oskar Thoren 2255b78a80
Node works with ad hoc protocol for both CAS and NS naive 2019-08-07 14:05:13 +08:00
Oskar Thoren 812e6e3ec4
Rewrite node to be async and do both send and receive 2019-08-07 13:10:07 +08:00
Oskar Thoren 2cb4338e26
WIP node async 2019-08-06 13:44:53 +08:00
Oskar Thoren fd33915e96
Better dir structure 2019-08-06 13:15:27 +08:00
Oskar Thoren a863e63641
Remote log: Basic CAS mocking behavior 2019-08-06 12:47:00 +08:00
Oskar Thoren de378ae938
Remote log: Use ns as starting point for cas 2019-08-06 12:30:18 +08:00
Oskar Thoren 52305876d8
Remote log: Basic end to end ns post/get
Split node recv/sending due to sync
Send to all clients
2019-08-05 13:12:36 +08:00
Oskar Thoren df63bbb77e
Remote log: ns post/get state and basic types 2019-08-05 12:44:24 +08:00
Oskar Thoren 9341a74858
Remote log: Node and ns mocking start
Ad hoc post/get message handling
2019-08-05 12:19:26 +08:00
Dean Eigenmann 5b581aeeff
Create README.md 2019-08-03 14:16:13 +02:00
Dean Eigenmann 6aad2a035f
Create LICENSE 2019-08-03 14:11:41 +02:00
Oskar Thoren f89f3aa718
Remote log: README, sketch roles and interfaces 2019-08-03 15:58:08 +08:00
Oskar Thoren 798ccafd58
Remote log: make socket server non-blocking, allow multiple clients 2019-08-03 15:20:39 +08:00
Oskar Thoren 2a1516743c
Remote log: basic socket server and client 2019-08-03 15:08:33 +08:00
Oskar Thorén 6ef25d1802
Fix typo 2019-04-19 11:13:34 +08:00
Oskar Thoren ad6a45d94a
github happy 2019-04-18 14:50:13 +08:00
Oskar Thoren 6271e4eef1
Add proposal merkleslash 2019-04-18 13:38:28 +08:00
Oskar Thoren 884565918d
Some comments 2019-04-18 13:23:48 +08:00
Oskar Thoren 9bed6d2beb
Print merkle paths 2019-04-18 11:54:28 +08:00
Oskar Thoren 8dada4b41e
Remove old main code 2019-04-18 11:28:10 +08:00
Oskar Thoren 3c2933f081
Move to tests
Some util functions
2019-04-18 11:26:56 +08:00
Oskar Thoren 84e18c6afd
Add note on partial verification data needed 2019-04-16 17:36:52 +08:00
Oskar Thoren 93071fb68d
Basic pull good and byzantine case 2019-04-16 15:38:08 +08:00
Oskar Thoren 2001faa6d2
Basic pull stub 2019-04-16 14:27:51 +08:00
Oskar Thoren 2f574e0dca
Trusted node hardcoded logic 2019-04-16 14:27:42 +08:00
Oskar Thoren ead298d312
Print merkleroot as hex 2019-04-16 14:27:40 +08:00
Oskar Thoren 78a88b2d7e
Merkletree hello world 2019-04-16 14:27:38 +08:00