Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
Package crypto contains cryptographic interfaces used in the vocdoni project.
|
Package crypto contains cryptographic interfaces used in the vocdoni project. |
ethereum
Package ethereum provides cryptographic operations used in go-dvote related to ethereum.
|
Package ethereum provides cryptographic operations used in go-dvote related to ethereum. |
nacl
Package nacl implements encryption and decryption using anonymous sealed boxes, depending on golang.org/x/crypto/nacl/box.
|
Package nacl implements encryption and decryption using anonymous sealed boxes, depending on golang.org/x/crypto/nacl/box. |
zk
Package zk provides utilities around the zkSNARK (Groth16) tooling.
|
Package zk provides utilities around the zkSNARK (Groth16) tooling. |
zk/prover
prover package abstracts the logic and types of go-rapidsnark (https://github.com/iden3/go-rapidsnark) to support basic operations for the rest of vocdoni-node project.
|
prover package abstracts the logic and types of go-rapidsnark (https://github.com/iden3/go-rapidsnark) to support basic operations for the rest of vocdoni-node project. |
Package data provides an abstraction layer for distributed data storage providers (currently only IPFS)
|
Package data provides an abstraction layer for distributed data storage providers (currently only IPFS) |
ipfs/ipfsconnect
Package ipfsconnect provides a service to maintain persistent connections (PersistPeers) between two or more IPFS nodes
|
Package ipfsconnect provides a service to maintain persistent connections (PersistPeers) between two or more IPFS nodes |
Package statedb contains the implementation of StateDB, a database backed structure that holds the state of the blockchain indexed by version (each version corresponding to the state at each block).
|
Package statedb contains the implementation of StateDB, a database backed structure that holds the state of the blockchain indexed by version (each version corresponding to the state at each block). |
test
|
|
arbo
Package arbo implements a Merkle Tree compatible with the circomlib implementation of the MerkleTree, following the specification from https://docs.iden3.io/publications/pdfs/Merkle-Tree.pdf and https://eprint.iacr.org/2018/955.
|
Package arbo implements a Merkle Tree compatible with the circomlib implementation of the MerkleTree, following the specification from https://docs.iden3.io/publications/pdfs/Merkle-Tree.pdf and https://eprint.iacr.org/2018/955. |
Package vochain provides all the functions for creating and managing a vocdoni voting blockchain
|
Package vochain provides all the functions for creating and managing a vocdoni voting blockchain |
ist
Package ist provides the Internal State Transition (IST) mechanism for Vochain.
|
Package ist provides the Internal State Transition (IST) mechanism for Vochain. |
state/electionprice
Package electionprice provides a mechanism for calculating the price of an election based on its characteristics.
|
Package electionprice provides a mechanism for calculating the price of an election based on its characteristics. |
Click to show internal directories.
Click to hide internal directories.