io.horizen.AccountModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sidechains-sdk-account_sctools Show documentation
Show all versions of sidechains-sdk-account_sctools Show documentation
This module offers a way to create a sidechain's configuration file and some utilities (account model).
package io.horizen;
import io.horizen.account.state.MessageProcessor;
import io.horizen.fork.ForkConfigurator;
import io.horizen.params.NetworkParams;
import java.util.ArrayList;
import java.util.List;
public class AccountModel extends AbstractAccountModel {
@Override
protected List getCustomMessageProcessors(NetworkParams params) {
List customMessageProcessors = new ArrayList<>();
return customMessageProcessors;
}
@Override
public ForkConfigurator getForkConfigurator() {
return new AppForkConfigurator();
}
}