Search in sources :

Example 1 with BftsmartClientIncomingSettings

use of com.jd.blockchain.consensus.bftsmart.BftsmartClientIncomingSettings in project jdchain-core by blockchain-jd-com.

the class BftsmartConsensusClientFactory method buildClientSettings.

@Override
public ClientSettings buildClientSettings(ClientIncomingSettings incomingSettings, SSLSecurity sslSecurity) {
    BftsmartClientIncomingSettings clientIncomingSettings = (BftsmartClientIncomingSettings) incomingSettings;
    BftsmartClientSettings clientSettings = new BftsmartClientConfig(clientIncomingSettings, sslSecurity);
    return clientSettings;
}
Also used : BftsmartClientIncomingSettings(com.jd.blockchain.consensus.bftsmart.BftsmartClientIncomingSettings)

Example 2 with BftsmartClientIncomingSettings

use of com.jd.blockchain.consensus.bftsmart.BftsmartClientIncomingSettings in project jdchain-core by blockchain-jd-com.

the class BftsmartConsensusClientFactory method buildClientSettings.

@Override
public ClientSettings buildClientSettings(ClientIncomingSettings incomingSettings) {
    BftsmartClientIncomingSettings clientIncomingSettings = (BftsmartClientIncomingSettings) incomingSettings;
    BftsmartClientSettings clientSettings = new BftsmartClientConfig(clientIncomingSettings);
    return clientSettings;
}
Also used : BftsmartClientIncomingSettings(com.jd.blockchain.consensus.bftsmart.BftsmartClientIncomingSettings)

Aggregations

BftsmartClientIncomingSettings (com.jd.blockchain.consensus.bftsmart.BftsmartClientIncomingSettings)2