Commit Graph

15 Commits

Author SHA1 Message Date
p4u
a4d8b87d93 Census Service refactory
- Add new JSON field `method`, so method is now specified in the JSON
object (not in URL anymore)
- Use Ethereum ECDSA signing library
- Refactor censusmanager code to allow other than HTTP transport layers
- Update documentation

Signed-off-by: p4u <p4u@dabax.net>
2019-02-18 10:43:05 +01:00
p4u
5603b7b5b9 Change references to go-dvote
Signed-off-by: p4u <p4u@dabax.net>
2019-02-12 13:16:47 +01:00
p4u
7ab2ffd191 Update census code URLs and modules
Signed-off-by: p4u <p4u@dabax.net>
2019-02-12 13:12:16 +01:00
p4u
5187c1af1d Merge remote-tracking branch 'census/master'
Signed-off-by: p4u <p4u@dabax.net>
2019-02-12 13:04:54 +01:00
p4u
7fb1d51fab Merge branch 'feature/new_merkletree'
Signed-off-by: p4u <p4u@dabax.net>
2019-02-12 11:38:56 +01:00
p4u
3e2b4d1cfa Adapt documentation to new merkle tree
Signed-off-by: p4u <p4u@dabax.net>
2019-02-12 10:53:01 +01:00
imw
7128e24db3 working implementation of modular transports, generator still pubsub only 2019-02-07 13:32:49 +01:00
imw
5ce8bb33ee initial attempt at modular transports, fails with segfault 2019-02-07 12:06:10 +01:00
Jordi
144221908b Adding CORS headers 2019-02-05 13:42:11 +01:00
p4u
dad369ebff Keep adapting the code to new merkletree implementation
Use different database storages and merkletree for each censusID

Signed-off-by: p4u <p4u@dabax.net>
2019-02-01 20:20:34 +01:00
p4u
6551f598cf Use Root Hash as censusID when creating a snapshot.
Add more authentication control.
Fix snapshot namespace issue.
Improve documentation.

Signed-off-by: p4u <p4u@dabax.net>
2019-01-25 21:21:14 +01:00
p4u
04dd103bb1 Add censushttp cmd. Rename processHttp to censusmanager
Signed-off-by: p4u <p4u@dabax.net>
2019-01-25 19:04:58 +01:00
imw
90de87f243 pubsub messagaing working w/ generator 2019-01-22 16:44:45 +01:00
imw
fda66aa1af move generator to cmd 2019-01-21 14:54:28 +01:00
p4u
e499f49c26 Use go modules and move main to cmd subdir
Signed-off-by: p4u <p4u@dabax.net>
2019-01-16 18:28:36 +01:00