CalDescent
8bb5077e76
Catch occasional NPE when setting tray icon.
2021-08-08 08:29:29 +01:00
CalDescent
5b85f01427
Added defensiveness to list management methods in ResourceList.java
2021-08-08 08:28:34 +01:00
CalDescent
a7d594e566
Log the AT states reshape progress, as it seems to be taking a very long time.
2021-08-07 19:18:20 +01:00
CalDescent
481e6671c2
Added GET /lists/blacklist/addresses API endpoint
...
This returns a JSON array containing the blacklisted addresses.
2021-08-07 16:27:16 +01:00
Scythian
b890e02a6a
Added new TransactionValidity keys
...
Added ADDRESS_ABOVE_RATE_LIMIT and DUPLICATE_MESSAGE ValidationResults to localeLang translation keys
2021-08-07 15:09:48 +01:00
Scythian
4772840b4c
Reorganised translations
...
Updated the "localeLang" files with new keys and removed old unused keys for English, German, Dutch, Italian, Finnish, Hungarian, Russian and Chinese translations
2021-08-07 14:05:10 +01:00
CalDescent
cd7adc997b
Prevent duplicate entries in a list.
2021-08-07 11:32:49 +01:00
CalDescent
9fdc901b7a
Added POST /lists/blacklist/addresses and DELETE /lists/blacklist/addresses API endpoints.
...
These are the same as the /lists/blacklist/address/{address} endpoints but allow a JSON array of addresses to be specified in the request body. They currently return true if
2021-08-07 11:31:45 +01:00
Scythian
76ec3473d6
Updated TransactionValidity keys
...
Added ADDRESS_IN_BLACKLIST ValidationResult to TransactionValidity translation keys
2021-08-07 10:47:48 +01:00
CalDescent
b29ae67501
Apply the address blacklist to chat transactions.
...
This is based on code originally written by @DrewMPeacock
2021-08-07 10:31:56 +01:00
CalDescent
24f1fb566d
Initial implementation of resource lists
...
The ResourceList class creates or updates a list for the purpose of tracking resources on the Qortal network. This can be used for local blocking, or even for curating and sharing content lists. Lists are backed off to JSON files (in the lists folder) to ease sharing between nodes and users.
This first implementation allows access to an address blacklist only, but has been written in such a way that other lists can be easily added. This might be needed in the future, e.g. to blacklist a group, a poll, or some hosted data. It could also be used by community members to curate lists of favourite or problematic content, which could then be shared or even subscribed to on the chain by other users.
2021-08-07 10:20:14 +01:00
CalDescent
a253294890
Ensure frozen ATs are still executed every block.
...
We currently want to execute frozen ATs, to maintain backwards support. We could optionally choose to stop executing them later, via a hard fork.
2021-08-06 20:01:59 +01:00
Scythian
0b53de1bb6
Added Hungarian translations
2021-08-06 19:28:56 +01:00
Scythian
746c68c9f6
Reorganised translations
...
Added new keys and removed old unused keys
Localised the "Build version" string in the SysTray
2021-08-06 19:27:28 +01:00
CalDescent
ec008b4a16
Merge branch 'AT-sleep-until-message'
2021-08-04 19:00:24 +01:00
CalDescent
1d65e34fe5
Revert "Added DogecoinACCTv2 and DogecoinACCTv2TradeBot"
...
This reverts commit 797dff4752
.
2021-08-04 18:59:36 +01:00
CalDescent
8ae78703ca
Revert "Initial attempt at adding "sleep until message" functionality to DOGE ACCTv2."
...
This reverts commit a1c61a1146
.
2021-08-04 18:59:30 +01:00
CalDescent
bd4b9a9fd3
Modified .gitignore to allow multiple testnets to exist by adding a number or other suffix.
2021-08-04 18:56:16 +01:00
CalDescent
f09677d376
Added inputs, outputs and feeAmount to /crosschain//walletbalance endpoints
...
The inputs and outputs contain a simpler version than the ones in the raw transaction, consisting of `address`, `amount`, and `addressInWallet`. The latter of the three is to know whether the address is one that is derived from the supplied xpub master public key.
2021-08-04 18:54:36 +01:00
CalDescent
f669e3f6c4
Fixed Dogecoin tests.
2021-08-04 18:48:59 +01:00
CalDescent
961c5ea962
Treat zero as null in sleepUntilHeight AT data. This is needed because we are unable to call setSleepUntilHeight() with a null value due to the datatype used in the CIYAM AT library. An alternate option would be to fork the AT library and use an Integer or Long rather than an int, but since we don't have a block zero, this is still a valid thing to check even when using that approach.
2021-08-04 09:22:17 +01:00
CalDescent
a1c61a1146
Initial attempt at adding "sleep until message" functionality to DOGE ACCTv2.
2021-08-02 20:08:53 +01:00
CalDescent
797dff4752
Added DogecoinACCTv2 and DogecoinACCTv2TradeBot
2021-08-02 20:07:34 +01:00
CalDescent
711ad638b8
Renamed Chinese translation files.
...
zh_SC renamed to zh_CN, and zh_TC renamed to zh_TW. This is necessary for the localization library to locate the files correctly.
2021-08-02 09:24:38 +01:00
CalDescent
4956c3328c
Updated AdvancedInstaller project for v1.6.0
2021-08-01 19:14:55 +01:00
CalDescent
96a82381d1
Bump version to 1.6.0
2021-08-01 18:19:59 +01:00
CalDescent
68190c8c76
Fixed a build error relating to using an int rather than Integer in the CIYAM AT library. Solved for now by using 0 instead of null, but will review this again before release.
2021-08-01 18:07:19 +01:00
CalDescent
dde47bc1fc
Fixed build errors by adding sleepUntilMessageTimestamp to recent method additions.
2021-08-01 18:05:58 +01:00
CalDescent
744deaed8d
Fixed merge issue due to differing db schemas.
2021-08-01 10:39:34 +01:00
CalDescent
a62910c8b6
Merge branch 'master' into AT-sleep-until-message
2021-08-01 10:30:52 +01:00
CalDescent
e259a09b89
Fixed merge issues.
2021-08-01 09:54:15 +01:00
CalDescent
6472d8438a
Merge remote-tracking branch 'qortal/master'
...
# Conflicts:
# pom.xml
# src/main/java/org/qortal/api/ApiError.java
# src/main/java/org/qortal/settings/Settings.java
# src/main/resources/i18n/ApiError_en.properties
2021-07-31 22:57:07 +01:00
CalDescent
dc8a402a4a
Revert "Removed all cross-chain code. It's not needed for data nodes."
...
This reverts commit cc59510cd0
.
# Conflicts:
# src/main/java/org/qortal/controller/Controller.java
2021-07-31 22:55:27 +01:00
CalDescent
f72374488e
Revert "Removed block 212937"
...
This reverts commit b917da765c
.
2021-07-31 22:54:19 +01:00
CalDescent
3c6d9a4b8e
Merge branch 'new-coins'
2021-07-31 21:27:40 +01:00
CalDescent
3073388403
Fix for missing transactions in getWalletTransactions() response
...
The previous criteria was to stop searching for more leaf keys as soon as we found a batch of keys with no transactions, but it seems that there are occasions when subsequent batches do actually contain transactions. The solution/workaround is to require 5 consecutive empty batches before giving up. There may be ways to improve this further by copying approaches from other BIP32 implementations, but this is a quick fix that should solve the problem for now.
2021-07-31 18:10:24 +01:00
CalDescent
67f856c997
Increased minimum order size to 3 DOGE, as some transactions for 2.1 DOGE were being rejected due to the "dust" error.
2021-07-31 12:20:08 +01:00
CalDescent
742fd0b444
Added /crosschain/htlc/refundAll API endpoint
...
This is the equivalent of the redeemAll API but can be used from the buyer's side to get their LTC or DOGE back in the event of a problem.
2021-07-31 12:19:12 +01:00
CalDescent
e1d69c0eae
Removed /refund/{ataddress}/{receivingAddress} API
...
This was causing confusion and isn't generally needed.
2021-07-31 11:55:48 +01:00
CalDescent
49d4190615
Support multiple blockchains in the /crosschain/htlc APIs.
...
This involved a small refactor of the ACCT code to expose findSecretA() in a more generic way. Bitcoin is disabled for refunding and redeeming as it uses a legacy approach that we no longer support. The {blockchain} URL parameter has also been removed from the redeem and refund APIs, because it can be obtained from the ACCT via the code hash in the AT.
2021-07-31 11:11:30 +01:00
CalDescent
64d39765ca
Merge pull request #56 from DrewMPeacock/update-splash
...
Update task tray icon files. Now with transparency™
2021-07-30 10:51:44 +01:00
Sir.Galahad
aca8f64415
Update task tray icon files. Now with transparency™
2021-07-30 03:43:31 -06:00
CalDescent
855b600268
testBlockHeightSpeed() reduced from 30k to 10k blocks.
...
This was intermittently failing on github and I suspect it may have been hitting memory limits.
2021-07-30 09:02:15 +01:00
CalDescent
476d613e20
Merge branch 'master' of github.com:Qortal/qortal
2021-07-30 09:00:54 +01:00
CalDescent
fb8a4d0a41
Merge pull request #55 from DrewMPeacock/update-splash
...
Update Qortal node graphics.
2021-07-30 08:30:15 +01:00
CalDescent
130f3f6d41
Added code to parse variable length block headers, necessary for DOGE.
2021-07-29 09:00:55 +01:00
CalDescent
ed997af043
Limit order size to a minimum of 2 DOGE.
...
The "dust" threshold is around 1 DOGE - meaning orders below this size cannot be refunded or redeemed. The simplest solution is to prevent orders of this size being placed to begin with.
2021-07-29 08:47:45 +01:00
Sir.Galahad
3c47f6917a
Merge remote-tracking branch 'qm/status-on-icon' into update-splash
2021-07-27 19:46:34 -06:00
Sir.Galahad
e32a486493
Update splash screen image.
2021-07-27 19:42:00 -06:00
208da935a1
updating icons
...
design credit: Haoshiro
2021-07-27 07:20:15 -04:00