catbref
3b477ef637
Fix JAXB marshalling error (duplicate tradeAddress) in TradePresenceWebSocket. No need to send signature. Make sure publicKey is sent in Base58, not Base64.
3 years ago
catbref
e2ef5b2ef3
Missed change from last commit: incorrect logic in TradePresenceWebSocket
3 years ago
catbref
1d59feeb72
Created /websockets/crosschain/tradepresence to replace /websockets/presence
3 years ago
catbref
c53dd31765
Tidy up of trade presence timestamp generation & checking. Added tests. Renamed "online trades" to "trade presences"
3 years ago
catbref
4c02081992
Tidy up TradeBot presence logging. Decorate API endpoints /crosschain/tradeoffers and /crosschain/trade with presence expiry timestamps
3 years ago
catbref
cb57af3c53
Bugfixes to online trade sigs + bridging from PRESENCE transactions
3 years ago
catbref
01d810fc00
Initial effort at migrating PRESENCE transactions to dedicated network messages
3 years ago
CalDescent
8c2a9279ee
Return metadata in various /arbitrary APIs if the "includemetadata" parameter is included.
...
This is very inefficient and will soon be replaced with dedicated ArbitraryResources / ArbitraryMetadata tables. But this is acceptable in the short term, especially if limit and offset are used.
3 years ago
CalDescent
0d65448f3d
Request all metadata automatically.
3 years ago
CalDescent
9da2b3c11a
Don't respond to file list requests with just the metadata file.
...
We have the separate metadata protocol for this now.
3 years ago
CalDescent
95400da977
Fixed typo in various tests (copy and paste error)
3 years ago
CalDescent
dc41dc4c69
Tags now use an array of strings, rather than a single string.
3 years ago
CalDescent
a5c11d4c23
Reduced "Ignoring hash list request" logs from DEBUG to TRACE
3 years ago
CalDescent
878394535e
Improvements relating to fetching metadata
...
- Rate limiter is disabled when using the API
- fetchArbitraryMetadata() returns the actual metadata content rather than a boolean
- Exceptions are thrown on certain errors, rather than returning null
3 years ago
CalDescent
35dba27a55
Fixed issue due to not updating arbitraryMetadataRequests when receiving the metadata file.
3 years ago
CalDescent
f22ad13fa9
Merge branch 'master' into qdn-metadata
...
This involved a slight rewrite to remove the "includeMetadataOnly" boolean. Metadata is now always excluded, otherwise it complicates the caching too much.
# Conflicts:
# src/main/java/org/qortal/api/resource/ArbitraryResource.java
# src/main/java/org/qortal/controller/arbitrary/ArbitraryDataStorageManager.java
3 years ago
CalDescent
aa2e5cb87b
Merge branch 'hosted-resources-search'
3 years ago
CalDescent
7740f3da7e
Small formatting tweaks, for consistency with existing code.
3 years ago
CalDescent
badb576991
Fixed exception when identifier is null. Also handling null names as this may be a future scenario.
3 years ago
CalDescent
c65a63fc7e
Fixed "query" parameter error in swagger documentation
3 years ago
CalDescent
0111747016
Added debug logging of new file list stats.
3 years ago
CalDescent
eac4b0d87b
Maintain backwards support for pre-3.2.0 peers by only including new file list message params when sending to newer peers.
...
These params are optional and the process will function without them, just less efficiently.
3 years ago
CalDescent
3dadce4da4
Renamed a reference
3 years ago
CalDescent
1864468818
Prefer the route with the least number of hops when relaying.
3 years ago
CalDescent
1a59379162
Optionally include requestTime, requestHops, peerAddress, and isRelayPossible flag in ArbitraryDataFileListMessage
3 years ago
CalDescent
31d34c3946
Updated testnet documentation
3 years ago
CalDescent
3cc394f02d
Merge pull request #70 from catbref/synchronizer-newchaintipevent
...
Modify TradeBot to trigger when chain tip changes instead of with every new block
3 years ago
CalDescent
53c4fe9e80
Fixed another ElectrumX issue found in unit tests.
...
Peers that were thought to be missing output address data may actually have just been using a different key - "address" instead of "addresses". Now reading the addresses from both keys, which may remove the need for the previously added checks.
3 years ago
CalDescent
d5521068b0
Fixed issue in earlier commit, found in unit tests.
3 years ago
CalDescent
a63ef4010d
Disabled expired transaction data deletion code for now, as this was often causing data to be incorrectly deleted.
...
This will need to be re-enabled at some point, but only after it's modified to be much less aggressive.
3 years ago
CalDescent
cec3e86eef
Merge pull request #71 from catbref/transferprivs-fix
...
Very slightly relax validity checks for TRANSFER_PRIVS…
3 years ago
catbref
8950bb7af9
Very slightly relax validity checks for TRANSFER_PRIVS to allow for skeletal account records, e.g. due to CHAT transactions, but account last reference still needs to be null. Example at block height 736196 / 7
3 years ago
catbref
9e6fe7ceb9
Modify TradeBot, some related websockets, to trigger when chain tip changes instead of with every new block
3 years ago
CalDescent
c333d18cd0
Merge branch 'segwit'
3 years ago
CalDescent
0271ef69c9
When submitting a new transaction, treat the chain as "synced" if the latest block is less than 30 minutes old. Increased from around 7.5 minutes.
3 years ago
CalDescent
2d493a4ea2
Added logging when no addresses are returned for a bitcoiny transaction output.
3 years ago
CalDescent
e339ab856f
Skip over Electrum servers that don't return any output addresses. Hopeful fix for BTC transactions that report a zero value due to incomplete data being returned from certain ElectrumX peers.
3 years ago
proto
782904a971
improvement to the search on hosted resources
...
1) use the cached version instead of rescanning all the files
2) separating the loading (which include files scanning) and listing logic
3 years ago
proto
a3753c01bc
Add search functionality to hosted resources
3 years ago
CalDescent
d5c3921846
Only show the red "synchronizing" systray icon if the latest block isn't recent.
...
This should fix issue where the icon unnecessarily jumps between synced and synchronizing.
3 years ago
CalDescent
a2c462b3da
Add <meta charset="UTF-8"> tag to websites. Fixed issue rendering emojis and other special characters.
3 years ago
CalDescent
8673c7ef6e
Fixed bug in GET /peers/summary API
3 years ago
CalDescent
8d7be7757f
Fixed incorrectly named tag.
3 years ago
proto
6b83927048
Persist MintingAccounts.json on minting accounts add/remove
...
this fix the behavior of the node, After adding or removing a minting account, allowing it to persist it to the backup folder
3 years ago
proto
e07adbd60e
online accounts api call, fix level zero accounts
...
Added online zero level accounts to the response of /addresses/online/levels api endpoints
3 years ago
CalDescent
7798b8dcdc
Keep items in arbitraryDataFileHashResponses if they are currently being requested by another thread. This should help to locate the higher numbered chunks from larger resources.
3 years ago
CalDescent
146e7970bf
Synchronize this.allKnownPeers and this.connectedPeers in Network.requestDataFromPeer(), to make the method thread-safe.
...
This could be further improved by taking an immutable copy, but I'll leave this until the same approach is applied to other Network methods.
3 years ago
CalDescent
f4f7cc58e3
Removed unused import.
3 years ago
CalDescent
21b4b494e7
Renamed method.
3 years ago
CalDescent
7307844bee
If UPnP is disabled in settings, close the existing external listenPort if a UPnP rule exists.
3 years ago