0ccee4326d
Added French translations
...
credit: stchoupi
2021-12-18 15:57:49 -05:00
CalDescent
391c3fe4c9
Added same functionality to GET /blocks/signature/{signature}
...
Also renamed query string parameter to "includeOnlineSignatures" to make it clearer.
2021-12-15 16:37:59 +00:00
CalDescent
3a7da9f13b
Don't return online accounts signatures from GET /blocks/byheight/{height} unless requested using the includesignatures=true query string parameter.
...
This should fix issue where it would take up to 30 seconds to return for a recent block, and would consume masses of CPU due to having to base58 encode the online accounts signatures. Base58 is very slow and made this API endpoint almost unusable for recent blocks, due to them having untrimmed online accounts signatures.
2021-12-15 16:33:08 +00:00
CalDescent
e7fd803d19
Updated AdvancedInstaller project for v2.1.2
2021-12-11 22:16:43 +00:00
CalDescent
3b96747871
Bump version to 2.1.2
2021-12-11 21:50:54 +00:00
CalDescent
33088df07d
Revert "Bump log4j-api version to 2.15.0"
...
This reverts commit 6a9904fd43
.
2021-12-11 19:40:44 +00:00
CalDescent
a215714b6b
Set log4j2.formatMsgNoLookups to true
2021-12-11 19:09:25 +00:00
CalDescent
6a9904fd43
Bump log4j-api version to 2.15.0
...
The main log4j version cannot be increased yet due to some incompatibilities with the Qortal code.
2021-12-10 17:54:11 +00:00
CalDescent
391d31759a
Fixed small issue in GET /crosschain/trades and GET /crosschain/tradeoffers APIs where 0 was being treated as zero instead of unlimited.
...
In 2.1.1, unlimited results can be requested by removing the `limit` query string parameter completely, e.g:
http://127.0.0.1:12391/crosschain/trades?foreignBlockchain=LITECOIN&minimumTimestamp=1638835200000&reverse=false
2021-12-08 20:22:02 +00:00
CalDescent
ed2f2435d2
Updated AdvancedInstaller project for v2.1.1
2021-12-08 19:32:36 +00:00
CalDescent
6e6b2ccfa0
Bump version to 2.1.1
2021-12-08 18:39:30 +00:00
CalDescent
be9a73560d
Added one more node
2021-12-08 17:23:42 +00:00
CalDescent
e82b5a4ecf
Added 7 qortalnodes.live nodes to the default list.
2021-12-08 16:10:50 +00:00
CalDescent
a27d8ac828
Connect ACCTv3 trade bots to the ACCTv3 smart contracts
2021-12-08 12:52:22 +00:00
CalDescent
6267258189
Switch over to ACCTv3 for new listings
2021-12-08 12:22:26 +00:00
CalDescent
e7527f532e
Added LitecoinACCTv3 and DogecoinACCTv3 to SupportedBlockchain
2021-12-08 12:21:52 +00:00
CalDescent
8b6e74d505
Added ACCTv3 trade bots. Identical to v1 and v2.
2021-12-08 12:18:22 +00:00
CalDescent
e6106c0c4e
Added ACCTv3 tests, based on the same criteria as ACCTv1. Refunds are working as intended.
2021-12-08 12:10:36 +00:00
CalDescent
f52bafc014
Removed second "SLEEP_UNTIL_MESSAGE" function code call in LitecoinACCTv3 and DogecoinACCTv3.
...
It turns out that when you call SLEEP_UNTIL_MESSAGE, the AT resumes from that very same line on the next execution. The original code incorrectly assumed that it would execute from the restart position (SET_PCS).
So sleeping can be thought of as pausing one execution half way through, rather than ending it.
This caused a bug, because once the AT receives a transaction it wakes up and resumes from the SLEEP_UNTIL_MESSAGE line, which is after the refund check. Even when it loops back around again it lands on labelRedeemTxnLoop = codeByteBuffer.position(); which is again after the refund check.
For now, the simplest fix is to only sleep when listed. We could have alternatively moved the SLEEP_UNTIL_MESSAGE above GET_BLOCK_TIMESTAMP, but this would still require users to send a random transaction to the AT to trigger the refund. Given that the ATs are only "alive" for 30 minutes once the trade begins, it's simpler to just execute every block and therefore allow the refunds to happen automatically.
2021-12-08 12:08:06 +00:00
CalDescent
9e0630ea79
Added LitecoinACCTv3 and DogecoinACCTv3 - at the moment identical to ACCTv2
2021-12-08 11:55:25 +00:00
CalDescent
968bfb92d0
Fixed bugs in the GET /crosschain/tradeoffers API endpoint caused by the introduction of ACCTv2
2021-12-07 22:32:46 +00:00
CalDescent
284c9fcee2
Fixed bugs in the GET /crosschain/price API endpoint caused by the introduction of ACCTv2
2021-12-07 21:20:08 +00:00
CalDescent
5b0b939531
Fixed bugs in the GET /crosschain/trades API endpoint caused by the introduction of ACCTv2
2021-12-06 20:14:08 +00:00
CalDescent
dc52fd1dcf
Only return OFFERING trades in GET /crosschain/tradeoffers
2021-12-06 19:37:30 +00:00
CalDescent
13f3aca838
Added GET /addresses/online/levels API endpoint to return the number of minters at each level
2021-12-04 19:28:28 +00:00
CalDescent
d9de27e6f2
Updated AdvancedInstaller project for v2.1.0
2021-11-24 19:39:37 +00:00
CalDescent
6930bf0200
Bump version to 2.1.0
2021-11-24 18:36:40 +00:00
CalDescent
199833bdd4
Fixed issue with GET /crosschain/trades API endpoint where the minimumTimestamp parameter returned inconsistent results.
2021-11-24 15:21:08 +00:00
CalDescent
0dcd2e6e93
Fixed bug in GET /crosschain/price/{blockchain} inverse price API endpoint when the "inverse" parameter is null.
2021-11-24 15:09:45 +00:00
CalDescent
098d7baa4d
Bump version to 2.1.0-prerelease.0
2021-11-23 19:03:27 +00:00
CalDescent
59a57d3d28
Increased frequency of automatic repository maintenance attempts
...
repositoryMaintenanceMinInterval reduced from 7 to 3 days
repositoryMaintenanceMaxInterval reduced from 30 to 14 days
2021-11-23 18:47:27 +00:00
CalDescent
cce95e09de
Default min level for block submissions increased to 3
...
This doesn't affect minting rewards; it is simply a means of reducing block candidates. There should be no noticeable difference other than hopefully less re-orgs. We can ultimately do a hard fork and increase Blockchain.minAccountLevelToMint but this allows us to test the approach in a lower risk way.
2021-11-23 18:45:35 +00:00
CalDescent
d018f11877
Log the initial height of the block archiver on startup
2021-11-21 09:12:32 +00:00
CalDescent
9502444bbc
Prevent any kind of trading unless the blockchain is fully synced
2021-11-05 16:31:54 +00:00
CalDescent
3b914d4a7f
Improved trade bot backups so that the current order being bought is included.
...
This should fix any key recovery issues if the node crashes or otherwise fails when buying an offer.
2021-11-03 19:27:56 +00:00
Scare Crowe
319d96f94e
Add CWD bootstrap node
2021-11-03 11:45:47 +05:00
CalDescent
394ced9fb9
"Lists" feature is now generic.
...
This means that no additional structural code is required to add new lists. The only non-generic aspect are the API endpoints - it's best to keep these specific until we have a need for user-created lists.
2021-10-31 18:45:40 +00:00
CalDescent
314b6fc2f8
Include the initial peers when creating bootstraps
2021-10-27 08:46:52 +01:00
CalDescent
974df031a0
Added another bootstrap host
2021-10-26 21:41:22 +01:00
CalDescent
36d0292c6b
Added "sleep until message" functionality to LTC ACCTv2.
2021-10-26 20:10:05 +01:00
CalDescent
7c16952c92
Added LitecoinACCTv2 and LitecoinACCTv2TradeBot
2021-10-26 19:56:33 +01:00
CalDescent
557807e3ba
Initial attempt at adding "sleep until message" functionality to DOGE ACCTv2.
2021-10-26 10:59:23 +01:00
CalDescent
c1d5b2df29
Added DogecoinACCTv2 and DogecoinACCTv2TradeBot
2021-10-26 10:59:16 +01:00
CalDescent
3e0574e563
Added another missing block archive lookup relating to trade timestamps.
...
Note that this is unlikely to be the cause of some of the zero timestamps issue seen on a subset of nodes - there is still likely to be another problem that needs fixing.
2021-10-25 18:21:40 +01:00
CalDescent
69e557e70d
Delete .sha256 file which was left lying around after running the bootstrap unit tests.
2021-10-25 18:20:58 +01:00
49dd63af1e
updated BTC electrum servers
2021-10-23 00:46:02 -04:00
CalDescent
18c6f0ccc3
Merge pull request #60 from Tocoolmh58/master
2021-10-22 18:05:38 +01:00
55c50a4b5b
add API option to return inverse price ( #61 )
2021-10-22 18:04:53 +01:00
CalDescent
1fbd5f7922
Fix for issue causing tradeTimestamp to report as 0 for trades in archived blocks.
2021-10-17 09:52:59 +01:00
CalDescent
bbb71083ef
Updated AdvancedInstaller project for v2.0.0
2021-10-13 19:11:42 +01:00