All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jd.blockchain.ledger.ConsensusSettingsUpdateOperation Maven / Gradle / Ivy

There is a newer version: 1.6.5.RELEASE
Show newest version
package com.jd.blockchain.ledger;

import com.jd.binaryproto.DataContract;
import com.jd.binaryproto.DataField;
import com.jd.binaryproto.PrimitiveType;
import com.jd.blockchain.consts.DataCodes;
import utils.Property;

/**
 * @Author: zhangshuang
 * @Date: 2020/7/16 2:17 PM
 * Version 1.0
 */
@DataContract(code = DataCodes.TX_OP_CONSENSUS_SETTINGS_UPDATE)
public interface ConsensusSettingsUpdateOperation extends Operation {

    @DataField(order = 0, primitiveType = PrimitiveType.BYTES, list = true)
    Property[] getProperties();

    @DataField(order = 1, primitiveType = PrimitiveType.TEXT)
    String getProvider();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy