mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
API, switchable MD160,
Now uses working RIPE-MD160 by default but can be switched to broken MD160 using flag in blockchain config, e.g. for Qora v1 blockchain. Replaced API signature/reference examples with descriptive text as they weren't very useful. Replaced API address examples with ones generated using working MD160. Added GET /transactions/signature/{signature}/raw that returns raw transaction in base58 encoding. Added "ignoreValidityChecks" query param to POST /transactions/decode to bypass INVALID_REFERENCE errors if supplying an old/speculative transaction that can't be added to unconfirmed transaction pile. Finally fixed creating inital assets in BlockChain. Controller now inserts BouncyCastle as highest priority Security Provider. TransactionData & transaction repository now tries to return transaction's block height in data when possible.
This commit is contained in:
@@ -6,9 +6,10 @@
|
||||
"blockTimestampMargin": 500,
|
||||
"maxBytesPerUnitFee": 1024,
|
||||
"unitFee": "1.0",
|
||||
"useBrokenMD160ForAddresses": true,
|
||||
"genesis": {
|
||||
"assets": [
|
||||
{ "name": "QORA", "description": "QORA coin" }
|
||||
{ "name": "QORA", "description": "QORA coin", "quantity": 10000000000, "isDivisible": true, "reference": "28u54WRcMfGujtQMZ9dNKFXVqucY7XfPihXAqPFsnx853NPUwfDJy1sMH5boCkahFgjUNYqc5fkduxdBhQTKgUsC" }
|
||||
]
|
||||
"timestamp": "1400247274336",
|
||||
"generatingBalance": "10000000",
|
||||
|
Reference in New Issue
Block a user