| Package | Description |
|---|---|
| ch.epfl.dedis.byzgen | |
| ch.epfl.dedis.lib | |
| ch.epfl.dedis.lib.omniledger | |
| ch.epfl.dedis.lib.skipchain | |
| ch.epfl.dedis.ocs |
| Modifier and Type | Method and Description |
|---|---|
SkipblockId |
OcsFactory.initialiseNewSkipchain(Signer admin)
Create a new skipchain.
|
| Modifier and Type | Method and Description |
|---|---|
OcsFactory |
OcsFactory.setGenesis(SkipblockId genesis)
Set chain genesis (getId/hash of the fist block in the chain)
|
| Constructor and Description |
|---|
OnchainSecrets(Roster roster,
SkipblockId ocsID)
Creates a new OnchainSecrets class that attaches to an existing skipchain.
|
| Modifier and Type | Method and Description |
|---|---|
SkipblockId |
SkipBlock.getId() |
SkipblockId |
SkipBlock.getSkipchainId() |
| Constructor and Description |
|---|
OmniledgerRPC(Roster roster,
SkipblockId skipchainId)
Constructs an OmniLedgerRPC from known configuration.
|
| Modifier and Type | Field and Description |
|---|---|
protected SkipblockId |
SkipchainRPC.scID |
| Modifier and Type | Method and Description |
|---|---|
SkipblockId |
SkipchainRPC.getID() |
| Modifier and Type | Method and Description |
|---|---|
SkipBlock |
SkipchainRPC.getSkipblock(SkipblockId id)
Returns the skipblock from the skipchain, given its id.
|
| Constructor and Description |
|---|
SkipchainRPC(Roster roster,
SkipblockId scID)
If the skipchain is already initialised, this constructor will only
initialise the class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReadRequestId
This class represents a ReadRequestId, which is a skipblockId.
|
class |
WriteRequestId
This class represents a WriteRequestId, which is a skipblockId.
|
| Modifier and Type | Field and Description |
|---|---|
protected SkipblockId |
OnchainSecretsRPC.ocsID |
| Modifier and Type | Method and Description |
|---|---|
SkipblockId |
OnchainSecretsRPC.getGenesis() |
SkipblockId |
OnchainSecretsRPC.getID() |
| Modifier and Type | Method and Description |
|---|---|
SkipchainProto.SkipBlock |
OnchainSecretsRPC.getSkipblock(SkipblockId id)
Returns the skipblock from the skipchain, given its id.
|
OCSProto.Transaction |
OnchainSecretsRPC.getTransaction(SkipblockId id)
Returns the transaction of a given skipblock, given the id of the block.
|
OCSProto.Write |
WriteRequest.toProto(Point X,
SkipblockId scid)
Returns a protobuf-formatted block that can be sent to the cothority
for storage on the skipchain.
|
| Constructor and Description |
|---|
OnchainSecrets(Roster roster,
SkipblockId ocsID)
Creates a new OnchainSecrets class that attaches to an existing skipchain.
|
Copyright © 2018. All rights reserved.