mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-11 17:55:50 +00:00
Added get namecheck height
This commit is contained in:
parent
cf591bea4c
commit
c58d2b5813
@ -7,7 +7,6 @@ import org.eclipse.persistence.jaxb.JAXBContextFactory;
|
|||||||
import org.eclipse.persistence.jaxb.UnmarshallerProperties;
|
import org.eclipse.persistence.jaxb.UnmarshallerProperties;
|
||||||
import org.qortal.controller.Controller;
|
import org.qortal.controller.Controller;
|
||||||
import org.qortal.data.block.BlockData;
|
import org.qortal.data.block.BlockData;
|
||||||
import org.qortal.data.network.PeerData;
|
|
||||||
import org.qortal.network.Network;
|
import org.qortal.network.Network;
|
||||||
import org.qortal.repository.*;
|
import org.qortal.repository.*;
|
||||||
import org.qortal.settings.Settings;
|
import org.qortal.settings.Settings;
|
||||||
@ -25,7 +24,6 @@ import javax.xml.transform.stream.StreamSource;
|
|||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.security.SecureRandom;
|
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.concurrent.locks.ReentrantLock;
|
import java.util.concurrent.locks.ReentrantLock;
|
||||||
@ -84,7 +82,8 @@ public class BlockChain {
|
|||||||
disableTransferPrivsTimestamp,
|
disableTransferPrivsTimestamp,
|
||||||
enableTransferPrivsTimestamp,
|
enableTransferPrivsTimestamp,
|
||||||
cancelSellNameValidationTimestamp,
|
cancelSellNameValidationTimestamp,
|
||||||
disableRewardshareHeight
|
disableRewardshareHeight,
|
||||||
|
onlyMintWithNameHeight
|
||||||
}
|
}
|
||||||
|
|
||||||
// Custom transaction fees
|
// Custom transaction fees
|
||||||
@ -620,6 +619,11 @@ public class BlockChain {
|
|||||||
public int getDisableRewardshareHeight() {
|
public int getDisableRewardshareHeight() {
|
||||||
return this.featureTriggers.get(FeatureTrigger.disableRewardshareHeight.name()).intValue();
|
return this.featureTriggers.get(FeatureTrigger.disableRewardshareHeight.name()).intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getOnlyMintWithNameHeight() {
|
||||||
|
return this.featureTriggers.get(FeatureTrigger.onlyMintWithNameHeight.name()).intValue();
|
||||||
|
}
|
||||||
|
|
||||||
// More complex getters for aspects that change by height or timestamp
|
// More complex getters for aspects that change by height or timestamp
|
||||||
|
|
||||||
public long getRewardAtHeight(int ourHeight) {
|
public long getRewardAtHeight(int ourHeight) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user