forked from Qortal/qortal
a5e963911d
Orders are back to having "amount" and "price". (No more "unitPrice" or "wantAmount"). Order "amount" is expressed in terms of asset with highest assetID. "price" is expressed in (lowest-assetID)/(highest-assetID). Given an order with two assets, e.g. QORA (0) and GOLD (31), "amount" is in GOLD (31), "price" is in QORA/GOLD (0/31). Order's "fulfilled" is in the same asset as "amount". Yet more tests and debugging. For simplicity's sake, the change to HSQLDB repository is assumed to take place when 'new' pricing switch also occurs. Don't forget to change "newAssetPricingTimestamp" in blockchain config JSON file. |
||
---|---|---|
.. | ||
java/org/qora/test | ||
resources |