Documentation ¶
Index ¶
- func LoadEthClient(ks *ethkeystore.KeyStore, acc *accounts.Account, web3Url string) (*eth.Client, error)
- func LoadIdenPubOffChainWriteHttp(storage db.Storage, id *core.ID, url string) (*idenpuboffchainwriterhttp.IdenPubOffChainWriteHttp, error)
- func LoadIssuer(id *core.ID, storage db.Storage, keyStore *babykeystore.KeyStore, ...) (*issuer.Issuer, error)
- func LoadKeyStore(cfgKeyStore *config.KeyStore, accountAddr *common.Address) (*ethkeystore.KeyStore, *accounts.Account, error)
- func LoadKeyStoreBabyJub(cfgKeyStore *config.KeyStore, kOp *babyjub.PublicKey) (*babykeystore.KeyStore, error)
- func LoadStorage(storagePath string) (db.Storage, error)
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadEthClient ¶
func LoadIdenPubOffChainWriteHttp ¶
func LoadIdenPubOffChainWriteHttp(storage db.Storage, id *core.ID, url string) (*idenpuboffchainwriterhttp.IdenPubOffChainWriteHttp, error)
func LoadIssuer ¶
func LoadIssuer(id *core.ID, storage db.Storage, keyStore *babykeystore.KeyStore, idenPubOnChain idenpubonchain.IdenPubOnChainer, idenStateZkProofConf *issuer.IdenStateZkProofConf, idenPubOffChainWrite idenpuboffchain.IdenPubOffChainWriter) (*issuer.Issuer, error)
func LoadKeyStore ¶
func LoadKeyStoreBabyJub ¶
Types ¶
type Server ¶
type Server struct { Cfg *config.Config Id core.ID Mt *merkletree.MerkleTree Issuer *issuer.Issuer IdenPubOnChain idenpubonchain.IdenPubOnChainer IdenPubOffChainWriteHttp *idenpuboffchainwriterhttp.IdenPubOffChainWriteHttp KeyStore *ethkeystore.KeyStore KeyStoreBaby *babykeystore.KeyStore EthClient *eth.Client KOp *babyjub.PublicKey // contains filtered or unexported fields }
func (*Server) StopAndJoin ¶
func (s *Server) StopAndJoin()
Click to show internal directories.
Click to hide internal directories.