imw
e6a2926a37
chain implementation working for basic transactions
5 years ago
imw
d7307a5ab2
non-functioning initial implementation, fails w/ exceeds block gas limit
5 years ago
p4u
5603b7b5b9
Change references to go-dvote
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
7ab2ffd191
Update census code URLs and modules
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
5187c1af1d
Merge remote-tracking branch 'census/master'
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
imw
b0333c86aa
Merge pull request #19 from vocdoni/feature_modular_transports
Modular transports
5 years ago
p4u
7fb1d51fab
Merge branch 'feature/new_merkletree'
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
3e2b4d1cfa
Adapt documentation to new merkle tree
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
b8dccadfaa
Fix getRoot
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
6d3bf7c18d
Fix dump function
5 years ago
p4u
c258a9ad9c
Using camelCase on censusID
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
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>
5 years ago
imw
7128e24db3
working implementation of modular transports, generator still pubsub only
5 years ago
imw
5ce8bb33ee
initial attempt at modular transports, fails with segfault
5 years ago
Pau
167c8858fe
Merge pull request #5 from vocdoni/cors-reorder
Handling CORS headers as soon as possible and returning 404 on unkown…
5 years ago
Jordi
d267116782
Handling CORS headers as soon as possible and returning 404 on unkown requests
5 years ago
Jordi
144221908b
Adding CORS headers
5 years ago
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>
5 years ago
p4u
abb712d2b6
Adapt merkletree to new go-iden3 implementation
First iteration, more work needs to be done.
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
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>
5 years ago
p4u
04dd103bb1
Add censushttp cmd. Rename processHttp to censusmanager
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
p4u
408457d65b
Fix auth error return
Signed-off-by: p4u <p4u@dabax.net>
5 years ago
Pau
0e4c0cb8db
Merge pull request #18 from vocdoni/hotfix/data-record-type
Create new data type for exporting PubSub types
6 years ago
p4u
8bd2b1acea
Create new data type for exporting PubSub types
Signed-off-by: p4u <p4u@dabax.net>
6 years ago
imw
6c1305115e
Merge pull request #17 from vocdoni/pubsub_testing
explicitly import ipfs-api, declare msg before listen loop
6 years ago
imw
435359e233
explicitly import ipfs-api, declare msg before listen loop
6 years ago
imw
9bdc8536fc
Merge pull request #16 from vocdoni/pubsub_testing
Pubsub testing
6 years ago
imw
b88d88e931
removed remnant of http listener
6 years ago
imw
90de87f243
pubsub messagaing working w/ generator
6 years ago
p4u
4f72b43600
Add snapshot and dump methods
Signed-off-by: p4u <p4u@dabax.net>
6 years ago
imw
fda66aa1af
move generator to cmd
6 years ago
p4u
c150bf570e
Implement authentication method
First version, partially tested
Signed-off-by: p4u <p4u@dabax.net>
6 years ago
Pau
7025725fb2
Merge pull request #4 from vocdoni/f/treeIdNameChange
ProcessID => CensusID
6 years ago
Aleix
1922d46dc9
ProcessID => CensusID
6 years ago
p4u
e499f49c26
Use go modules and move main to cmd subdir
Signed-off-by: p4u <p4u@dabax.net>
6 years ago
p4u
15069df984
Introduce crypto library
Add signature package based on nancl
Signed-off-by: p4u <p4u@dabax.net>
6 years ago
p4u
6fd9aea6c8
Add getRoot method
6 years ago
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.
6 years ago
imw
7731d06ce6
Updated README to show generator usage
6 years ago
imw
d8e9ade40a
Merge pull request #15 from vocdoni/batching_initial_approach
All work so far
6 years ago
imw
d09af85502
Publishes batches to ipfs and pins them. Assumes running ipfs daemon on 8080. Moved relay listener to 8090
6 years ago
imw
6ad2f16c24
add ipfs pubsub methods
6 years ago
imw
b4b687eeda
changed serialization logic to json strings, added batch compaction
6 years ago
imw
6cce8cb242
added primitive ballot/envelope generator, changed type naming
6 years ago
imw
ddfc8e1187
reworked db logic based on iden3 pattern - allows for single storage location with prefixing
6 years ago
imw
af81f8825e
added curl request to README
6 years ago
imw
88122f053f
removed some debug statements
6 years ago
imw
dadc5e3291
main loop signaling working, db setup in batch functions :-(
6 years ago
p4u
4bd4f33f43
Update README
6 years ago
p4u
a504f46141
Fix names and update README
6 years ago