mirror of
https://github.com/Qortal/AT.git
synced 2025-01-30 19:02:14 +00:00
00fd8b040d
API: Added sample AT-emitted transaction types (payment/message). Maximum number of steps per execution round no longer hard-coded. API.putTransactionAfterTimestampInA() sets A to zero if no more transactions. API.putMessageFromTransactionInAIntoB sets B to zero if not a message transaction. Added some convenience methods. MachineState: Added support for minimum activation amount. Added static method for packing AT into "creation bytes". No need to store unchanging code in per-height AT state data. Added support for multiple blockchains to "Timestamp". General improvements based on Sonarlint suggestions. General improvements to comments. Replaced deprecated Byte/Short/Integer/Long constructor call with corresponding .valueOf() call. Replaced some string concatenations with StringBuilder. Moved Java-related .gitignore from root to /Java/ Removed .classpath and .project, and added same to .gitignore Added info on how to add CIYAM AT JAR to other projects. Updated pom.xml: Bumped version to 1.2 Bumped Java version from 1.8 to 11 Bumped BouncyCastle from 1.60 to 1.64 Added more tests.
12 lines
453 B
Plaintext
12 lines
453 B
Plaintext
# How to import CIYAM AT JAR into your project
|
|
|
|
# Assumes:
|
|
# your project is called MY-PROJECT
|
|
# your project has local repository in MY-PROJECT/lib/
|
|
# CIYAM AT JAR pathname is in ${CIYAM_AT_JAR}
|
|
|
|
CIYAM_AT_VERSION=1.2
|
|
CIYAM_AT_JAR=../CIYAM-AT/Java/target/AT-${CIYAM_AT_VERSION}.jar
|
|
cd MY-PROJECT
|
|
mvn install:install-file -DlocalRepositoryPath=lib/ -Dfile=${CIYAM_AT_JAR} -DgroupId=org.ciyam -DartifactId=at -Dpackaging=jar -Dversion=${CIYAM_AT_VERSION}
|