| Package | Description |
|---|---|
| ch.epfl.dedis.byzcoin | |
| ch.epfl.dedis.byzcoin.contracts | |
| ch.epfl.dedis.calypso | |
| ch.epfl.dedis.lib.darc |
| Modifier and Type | Method and Description |
|---|---|
Darc |
ByzCoinRPC.getGenesisDarc() |
static Darc |
ByzCoinRPC.makeGenesisDarc(Signer admin,
Roster roster)
Creates a genesis darc to use for the initialisation of Byzcoin.
|
| Constructor and Description |
|---|
ByzCoinRPC(Roster r,
Darc d,
java.time.Duration blockInterval)
This instantiates a new byzcoin object by asking the cothority to set up a new byzcoin.
|
| Modifier and Type | Method and Description |
|---|---|
Darc |
DarcInstance.getDarc() |
| Modifier and Type | Method and Description |
|---|---|
void |
DarcInstance.evolveDarc(Darc newDarc,
Signer owner)
Takes a new darc, increases its version, creates an instruction and sends it to ByzCoin, without
waiting an acknowledgement.
|
ClientTransactionId |
DarcInstance.evolveDarcAndWait(Darc newDarc,
Signer owner,
int wait)
Asks byzcoin to evolve the darc and waits until the new darc has
been stored in the global state.
|
Instruction |
DarcInstance.evolveDarcInstruction(Darc newDarc,
Signer owner,
int pos,
int len)
Creates an instruction to evolve the darc in byzcoin.
|
static DarcInstance |
DarcInstance.fromByzCoin(ByzCoinRPC bc,
Darc d)
Instantiates a new DarcInstance given a working ByzCoin service and
an instanceId.
|
DarcInstance |
DarcInstance.spawnDarcAndWait(Darc d,
Signer s,
int wait)
Spawns a new darc from the given darcInstance.
|
| Constructor and Description |
|---|
DarcInstance(ByzCoinRPC bc,
DarcId spawnerDarcId,
Signer spawnerSigner,
Darc newDarc)
Instantiates a new DarcInstance from an existing darc by sending a spawn instruction to
ByzCoin and then creating the instance from the existing darcInstance.
|
| Constructor and Description |
|---|
CalypsoRPC(Roster roster,
Darc genesis,
java.time.Duration blockInterval)
Creates a new ByzCoin ledger and a new Long Term Secret.
|
| Modifier and Type | Method and Description |
|---|---|
Darc |
Darc.copyEvolve() |
Darc |
Darc.copyRulesAndVersion() |
| Modifier and Type | Method and Description |
|---|---|
static Identity |
IdentityFactory.New(Darc darc)
Creates the corresponding identity to a darc.
|
void |
Darc.setPrevId(Darc d) |
| Constructor and Description |
|---|
IdentityDarc(Darc darc)
Instantiates a IdentityDarc given a darc.
|
Copyright © 2018. All rights reserved.