forked from Qortal/qortal
Qortal Core - Main Code Repository
Decentralized Data Network - Blockchain - TRUE Cross-Chain Trading - Application and Website Hosting - Much More - Qortal is the future internet infrastructure for the global digital world.
f179139967
Qortal AT now includes suggested tradeTimeout again as a constant so trade partner/recipient can use that to calculate a suitable lockTimeA. CODE_HASH changed! Renamed some secret_hash to hash_of_secret. Changed TradeBotStates.trade_state back to TINYINT and adjusted values in TradeBotData.State enum to suit. Added lockTimeA to TradeBotData & repository. Added JAXB-only extra representations of Bitcoin PKHs as addresses. Fixed incorrect expected length in BTCACCT.extractOfferMessageData(). CrossChainTradeData.refundTimeout now only present in TRADE mode. Added BTC.pkhToAddress(). Added initial TradeBot.handleAliceWaitingForP2shA(). Enforce only one TradeBot thread running using 'activeFlag' atomic boolean. Replace incorrect SHA256 with HASH160 for hashOfSecretA in TradeBot.startResponse(). |
||
---|---|---|
lib/org | ||
src | ||
tools | ||
.gitignore | ||
AutoUpdates.md | ||
DATABASE.md | ||
log4j2.properties | ||
pom.xml | ||
README.md | ||
run.sh | ||
stop.sh |
Qortal Project - Official Repo
Build / run
- Requires Java 11. OpenJDK 11 recommended over Java SE.
- Install Maven
- Use Maven to fetch dependencies and build:
mvn clean package
- Built JAR should be something like
target/qortal-1.0.jar
- Create basic settings.json file:
echo '{}' > settings.json
- Run JAR in same working directory as settings.json:
java -jar target/qortal-1.0.jar
- Wrap in shell script, add JVM flags, redirection, backgrounding, etc. as necessary.
- Or use supplied example shell script: run.sh