| Package | Description |
|---|---|
| ch.epfl.dedis.byzcoin | |
| ch.epfl.dedis.byzcoin.contracts | |
| ch.epfl.dedis.calypso | |
| ch.epfl.dedis.eventlog |
| Modifier and Type | Method and Description |
|---|---|
static ByzCoinRPC |
ByzCoinRPC.fromByzCoin(Roster roster,
SkipblockId skipchainId)
Constructs a ByzCoinRPC from a known configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ByzCoinEvolve.from20181008(ByzCoinRPC bc,
Signer admin)
Things to evolve since this version:
- update the genesis darc to include a 'invoke:update_config' rule.
|
static Instance |
Instance.fromByzcoin(ByzCoinRPC bc,
InstanceId id)
Creates an instance given an id and a Byzcoin service.
|
| Constructor and Description |
|---|
ByzCoinRPC(ByzCoinRPC bc)
For use by CalypsoRPC
|
Subscription(ByzCoinRPC bc)
Starts a subscription service, but doesn't call the polling yet.
|
| Modifier and Type | Method and Description |
|---|---|
static ChainConfigInstance |
ChainConfigInstance.fromByzcoin(ByzCoinRPC bc)
Instantiates a new ChainConfigInstance given a working byzcoin service.
|
static SecureDarcInstance |
SecureDarcInstance.fromByzCoin(ByzCoinRPC bc,
Darc d)
Instantiates a new DarcInstance given a working ByzCoin service and
an instanceId.
|
static SecureDarcInstance |
SecureDarcInstance.fromByzCoin(ByzCoinRPC bc,
DarcId baseId)
Instantiates a new DarcInstance given a working ByzCoin service and
an instanceId.
|
static ValueInstance |
ValueInstance.fromByzcoin(ByzCoinRPC bc,
InstanceId id)
Instantiates a new ValueInstance given a working byzcoin service and
an instanceId.
|
static SecureDarcInstance |
SecureDarcInstance.fromByzCoin(ByzCoinRPC bc,
InstanceId id)
Instantiates a new DarcInstance given a working ByzCoin service and
an instanceId.
|
static ChainConfigInstance |
ChainConfigInstance.fromByzcoin(ByzCoinRPC bc,
Proof p)
Convenience function to connect to an existing ValueInstance.
|
static ValueInstance |
ValueInstance.fromByzcoin(ByzCoinRPC bc,
Proof p)
Convenience function to connect to an existing ValueInstance.
|
| Constructor and Description |
|---|
SecureDarcInstance(ByzCoinRPC bc,
DarcId spawnerBaseId,
Signer spawnerSigner,
Long signerCtr,
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.
|
ValueInstance(ByzCoinRPC bc,
DarcId spawnerDarcId,
Signer spawnerSigner,
Long signerCtr,
byte[] value)
Instantiates a new value in ByzCoin by sending a spawn instruction to a darc
that has a "spawn:value" rule in it.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CalypsoRPC
CalypsoRPC is the entry point for all the RPC calls to the Calypso service, which acts as the secret-management cothority.
|
| Modifier and Type | Method and Description |
|---|---|
static WriteData |
WriteData.fromByzcoin(ByzCoinRPC bc,
InstanceId id)
Recreates a WriteData from an instanceid.
|
static CalypsoRPC |
CalypsoRPC.fromCalypso(ByzCoinRPC bc,
LTSId ltsId)
Connects to an existing Long Term Secret using a ByzCoinRPC.
|
| Constructor and Description |
|---|
CalypsoRPC(ByzCoinRPC byzcoin,
DarcId darcBaseID,
Roster ltsRoster,
List<Signer> signers,
List<Long> signerCtrs)
Creates a new Long Term Secret on an existing ByzCoin ledger.
|
| Modifier and Type | Method and Description |
|---|---|
static EventLogInstance |
EventLogInstance.fromByzcoin(ByzCoinRPC bc,
InstanceId id)
Constructor for when the caller already knows the eventlog contract.
|
| Constructor and Description |
|---|
EventLogInstance(ByzCoinRPC bc,
DarcId darcBaseID,
List<Signer> signers,
List<Long> signerCtrs)
Constructor for when do you not know the eventlog contract, use this constructor when constructing for the first
time.
|
EventLogInstance(ByzCoinRPC bc,
InstanceId id)
Constructor for when the caller already knows the eventlog contract.
|
Copyright © 2019. All rights reserved.