Class ConsensusService
java.lang.Object
org.fisco.bcos.sdk.contract.precompiled.consensus.ConsensusService
public class ConsensusService
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ConsensusService(Client client, CryptoKeyPair credential)
-
Method Summary
Modifier and Type Method Description RetCode
addObserver(java.lang.String nodeId)
RetCode
addSealer(java.lang.String nodeId)
RetCode
removeNode(java.lang.String nodeId)
-
Constructor Details
-
Method Details
-
addSealer
- Throws:
ContractException
-
addObserver
- Throws:
ContractException
-
removeNode
- Throws:
ContractException
-