forked from Qortal/qortal
87bb9090f5
Bump CIYAM AT requirement to v1.3 Remove multi-blockchain AT aspect for now (BlockchainAPI). For PUT_PREVIOUS_BLOCK_HASH_INTO_A we no longer use SHA256 to condense 64-byte block signature into 32 bytes. Now we put block height into A1 and SHA192 of signature into A2 through A4. This allows possible future lookup of block data using "block hash", with verification that it is the same block. Some AT functions use "address in B" but sometimes we populate B with account's public key instead. So the method "getAccountFromB" is smart and checks for an actual, textual address in B starting with 'Q', otherwise assumes B contains public key. The Settings field "useBitcoinTestNet" (boolean) now replaced with "bitcoinNet" (String) with possible values MAIN (default), TEST3, REGTEST. This allows for more varied development/testing scenarios. Use correct Bitcoin nSequence value 0xFFFFFFFE for P2SH, i.e. enable locktime, disable RBF. Roll REGTEST checkpoints file generator into main BTC class. Yet another rewrite of Bitcoin P2SH scripts for BTC-QORT cross-chain trading. Added associated test classes BuildP2SH, CheckP2SH, DeployAT (unfinished). |
||
---|---|---|
.. | ||
ciyam/at | ||
hsqldb/hsqldb |