CalDescent
d30eb6141a
Default minPeerVersion set to 3.8.7
2023-02-20 18:10:21 +00:00
CalDescent
b2d31a7e02
Rebuild the name's history before processing a CancelSellNameTransaction.
2023-02-19 22:26:22 +00:00
CalDescent
edacce1bac
Improved logging when creating bootstraps, and catch/log all exceptions.
2023-02-19 17:43:13 +00:00
CalDescent
074cba2266
Added QCHAT_AUDIO and QCHAT_VOICE services (limited to 10MB each)
2023-02-19 17:33:17 +00:00
CalDescent
7f23ef64a2
Updated /arbitrary/metadata/* response when not found.
2023-02-17 17:37:30 +00:00
CalDescent
5b7e9666dc
Send URL updates to the UI when pages are loaded.
2023-02-17 15:40:06 +00:00
QuickMythril
eb6d84c04d
Add new ElectrumX servers
2023-02-12 00:10:13 -05:00
AlphaX-Projects
227d93a31e
Merge branch 'Qortal:master' into master
2023-02-11 13:39:26 +01:00
CalDescent
76f17dda53
Merge branch 'master' into rebuild-archive
2023-02-10 17:48:05 +00:00
CalDescent
830bae3dc1
Merge branch 'at-states-fix'
...
# Conflicts:
# src/main/java/org/qortal/controller/repository/AtStatesPruner.java
# src/main/java/org/qortal/controller/repository/AtStatesTrimmer.java
2023-02-10 17:45:22 +00:00
AlphaX-Projects
11654ba9c6
Add Chat Data
2023-02-10 11:05:54 +01:00
AlphaX-Projects
ea356d1026
add signatures to websockt
2023-02-10 10:27:28 +01:00
CalDescent
6fca30ce75
Added GET /admin/summary/alltime endpoint, to view a summary of chain activity since genesis.
2023-02-07 19:56:54 +00:00
CalDescent
e903e59f7f
Merge pull request #107 from QuickMythril/unused-address
...
Add unused foreign address to API calls
2023-02-06 18:43:22 +00:00
CalDescent
bef170df7e
Updated PirateChain lightwallet servers.
2023-02-06 18:42:37 +00:00
AlphaX-Projects
6f867031e2
Add electrum servers and fix java reflect error
2023-02-05 12:53:49 +01:00
QuickMythril
30c9f63cb1
Add unused foreign address to API calls
...
POST /crosschain/{COIN}/unusedaddress
2023-02-04 21:03:55 -05:00
QuickMythril
1f410a503e
Updated ElectrumX servers
2023-02-04 18:30:31 -05:00
CalDescent
ae5b713e58
Rework of AT state trimming and pruning, in order to more reliably track the "latest" AT states.
...
This should fix an edge case where AT states data was pruned/trimmed but it was then later required in consensus. The older state was deleted because it was replaced by a new "latest" state in a brand new block. But once the new "latest" state was orphaned from the block, the old "latest" state was then required again.
This works around the problem by excluding very recent blocks in the latest AT states data, so that it is unaffected by real-time sync activity.
The trade off is that we could end up retaining more AT states than needed, so a secondary cleanup process may need to run at some time in the future to remove these. But it should only be a minimal amount of data, and can be cleaned up with a single query. This would have been happening to a certain degree already.
# Conflicts:
# src/main/java/org/qortal/controller/repository/AtStatesPruner.java
# src/main/java/org/qortal/controller/repository/AtStatesTrimmer.java
2023-02-03 12:39:27 +01:00
CalDescent
257ca2da05
Bumped default block archive serialization version to V2.
2023-02-03 12:36:57 +01:00
CalDescent
d27316eb64
Clear cache after rebuilding.
2023-02-02 18:11:56 +01:00
CalDescent
64d8353629
Added V2 support in the block archive, and added feature to rebuild a V1 block archive using V2 block serialization. Should drastically reduce the archive size once rebuilt.
2023-02-02 15:54:03 +01:00
QuickMythril
21f5d9a3d0
Add foreign chain height to API calls
...
GET /crosschain/{COIN}/height
2023-01-31 17:23:25 -05:00
CalDescent
3077810ea8
Fixed bugs causing websites to report as "Not published" when listed in the UI.
2023-01-29 18:05:04 +00:00
CalDescent
1be3ae267e
Reduce log spam.
2023-01-29 11:45:09 +00:00
CalDescent
ca09dd264f
Merge branch 'master' into q-apps
2023-01-28 20:14:35 +00:00
CalDescent
eea98d0bc7
Fixed bugs.
2023-01-28 18:37:04 +00:00
CalDescent
04f248bcdd
Upgraded gateway to support service and identifier.
...
The URL used to access the gateway is now interpreted, and the most appropriate resource is served. This means it can be used in different ways to retrieve any type of content from QDN. For example:
/QortalDemo
/QortalDemo/minting-leveling/index.html
/WEBSITE/QortalDemo
/WEBSITE/QortalDemo/minting-leveling/index.html
/APP/QortalDemo
/THUMBNAIL/QortalDemo/qortal_avatar
/QCHAT_IMAGE/birtydasterd/qchat_BfBeCz
/ARBITRARY_DATA/PirateChainWallet/LiteWalletJNI/coinparams.json
2023-01-28 17:56:24 +00:00
CalDescent
37b20aac66
Upgraded rendering to support identifiers, as well as single file resources.
...
This allows any QDN resource (e.g. an IMAGE) to be linked to from a website/app and then rendered on screen. It isn't yet supported in gateway or domain map mode, as these need some more thought.
2023-01-28 16:55:04 +00:00
CalDescent
e1e52b3165
RenderResource moved to restricted resources, as /render/* endpoints shouldn't ever need to be served over the gateway.
2023-01-28 15:52:46 +00:00
CalDescent
c5c826453b
Removed unnecessary join when finding MESSAGE transactions, which caused secret to be unavailable when querying pruned blocks.
2023-01-28 15:41:48 +00:00
CalDescent
e86b9b1caf
Added additional Litecoin ElectrumX server.
2023-01-28 15:34:30 +00:00
CalDescent
3b6e1ea27f
Added "qdnContext" variable, with possible values of "render", "gateway", or "domainMap".
...
This is used internally to allow Q-Apps to determine how to handle certain requests.
2023-01-28 14:42:29 +00:00
CalDescent
5a1cc7a0de
Fixed/improved logging when an exception is caught whilst adding statuses to resources.
2023-01-28 14:32:17 +00:00
CalDescent
0ec5e39517
Fixed additional NPE
2023-01-28 14:31:04 +00:00
CalDescent
bede5a71f8
Fixed various NPEs when checking statuses of non-existent resources.
2023-01-28 14:17:23 +00:00
CalDescent
5e750b4283
Added new ArbitraryResourceStatus "NOT_PUBLISHED" - for when a non-existent resource is attempted to be loaded.
2023-01-28 14:15:54 +00:00
CalDescent
4a42dc2d00
Don't require prior authorization of QDN resources if qdnAuthBypassEnabled is true. Necessary for resource linking.
2023-01-28 14:14:44 +00:00
CalDescent
7fc170575c
Merge branch 'cancel-sell-name-fixes'
2023-01-28 12:11:42 +00:00
CalDescent
876658256f
Prevent a P2SH address being funded for a trade if there is an unconfirmed buy or cancel request in progress for it already.
...
This prevents foreign coins from leaving the local wallet when there is a high probability that the trade will fail, and therefore should reduce the chances of losing transaction fees due to refunds.
Whenever this occurs, the UI will show "Trade has an existing buy request or is pending cancellation." after clicking Buy.
2023-01-28 11:57:15 +00:00
CalDescent
a24ba40d5c
Added additional Dogecoin ElectrumX server.
2023-01-28 09:54:15 +00:00
CalDescent
06d8a21714
Added CANCEL_SELL_NAME equivalents to NamesDatabaseIntegrityCheck.java
2023-01-27 19:38:26 +00:00
CalDescent
ae44065d7e
Fixed issue with CancelSellName transactions.
2023-01-27 19:34:23 +00:00
CalDescent
6ad0989ea2
Reduce log spam
2023-01-27 18:35:44 +00:00
CalDescent
5962ebd08a
More logging improvements in ArbitraryDataReader.decrypt()
2023-01-27 16:56:53 +00:00
CalDescent
bf06d47842
Create an ArbitraryDataResource object when building. Eventually this could be passed in to the reader instead of the individual components (service, name, identifier, etc)
...
This is now used to improve logging when extracting.
2023-01-27 16:55:43 +00:00
CalDescent
d7b1615d4f
qdnAuthBypassEnabled defaulted to true, as it is needed for Q-Apps.
2023-01-27 16:26:36 +00:00
CalDescent
8c708558cb
Implemented ElectrumX version negotiation. Fixes issues with DOGE wallet.
2023-01-27 14:33:34 +00:00
CalDescent
6b36d94c6f
Removed searchResultsTransactions cache, to simplify code. The hostedTransactions cache is still in place, which limits disk reads when searching, so this additional cache isn't really needed.
2023-01-27 12:48:42 +00:00
CalDescent
8c41a4a6b3
Moved BootstrapResource to restricted resources
2023-01-22 21:08:42 +00:00