Commit Graph

19 Commits

Author SHA1 Message Date
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
7fb1d51fab Merge branch 'feature/new_merkletree'
Signed-off-by: p4u <p4u@dabax.net>
2019-02-12 11:38:56 +01:00
p4u
6d3bf7c18d Fix dump function 2019-02-11 18:17:00 +01:00
p4u
c258a9ad9c Using camelCase on censusID
Signed-off-by: p4u <p4u@dabax.net>
2019-02-11 10:36:33 +01:00
p4u
0c3587bb9c Keep adapting code to new merkletree
Add RootHash JSON parameter.
Remove Spanshopt API method.
Add support on genProof/checkProof/dump to specify the RootHash
Refactory of some code

Signed-off-by: p4u <p4u@dabax.net>
2019-02-07 17:16:28 +01:00
Jordi
d267116782 Handling CORS headers as soon as possible and returning 404 on unkown requests 2019-02-05 14:26:46 +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
p4u
408457d65b Fix auth error return
Signed-off-by: p4u <p4u@dabax.net>
2019-01-24 14:40:13 +01:00
p4u
4f72b43600 Add snapshot and dump methods
Signed-off-by: p4u <p4u@dabax.net>
2019-01-22 16:41:46 +01:00
p4u
c150bf570e Implement authentication method
First version, partially tested

Signed-off-by: p4u <p4u@dabax.net>
2019-01-18 13:36:59 +01:00
Aleix
1922d46dc9 ProcessID => CensusID 2019-01-17 17:00:10 +01:00
p4u
6fd9aea6c8 Add getRoot method 2019-01-11 17:59:38 +01:00
p4u
a503c6555e Change go-iden3 dependencies to vocdoni/go-iden3
New iden3 merkleTree implementation is not longer compatible. Until new
documentation is availabl and vocdoni code is adapted, use frozen
version of go-iden3 implementation.
2018-12-28 14:52:55 +01:00
p4u
4bd4f33f43 Update README 2018-12-14 14:17:17 +01:00
p4u
5fd182549f Add processHttp implementation
Exposes a HTTP API to manage merkle trees

Signed-off-by: p4u <p4u@dabax.net>
2018-12-14 14:11:28 +01:00