catbref
f1efae79c8
Speed-ups for some AT-related SQL queries
2020-08-14 11:54:33 +01:00
catbref
1cd4bbc078
Refactored various websockets to event bus from old BlockNotifier/StatusNotifier
2020-08-14 10:03:51 +01:00
catbref
0b5e5832c4
Added another repository deadlock test while investigating a deadlock case
2020-08-14 09:57:08 +01:00
catbref
7db96c672f
Bump to v1.3.3
2020-08-13 14:16:50 +01:00
catbref
f8725d6313
Modify ApplyUpdate to pass JVM options to Windows launcher EXE
...
ApplyUpdate is the 2nd-stage of the auto-update system, called
after core has downloaded the update.
As old versions of the Windows launcher EXE selects a 'client'
JVM mode, heap memory could be limited to only 256MB.
Until users upgrade via Windows installer, which replaces the EXE
with 'server' JVM mode baked-in, then a work-around is to
pass -XX:MaxRAMFraction=4 to the new JVM in order to emulate
heap size in 'server' JVM mode.
2020-08-13 14:08:47 +01:00
catbref
2165c87b9d
Fix race condition between Network.start() and Controller calling Network.prunePeers()
...
Modified synchronized Lists to be final.
Moved some initializers out of constructor.
2020-08-13 13:45:06 +01:00
catbref
f61e320230
Fix API call GET /crosschain/trades (get completed trades) due to poorly performing SQL query.
...
Added "minimumTimestamp" param to same API call to allow fetching results for scenarios like:
* completed trades since midnight
* completed trades within last 24 hours
Added corresponding tests for above API call, including checking call response times.
2020-08-13 11:56:08 +01:00
catbref
6c1b21da22
Bump to v1.3.2
2020-08-12 17:30:37 +01:00
catbref
f6216b9745
Respect repositoryBackupInterval when deciding whether to perform backup during auto-update. Issue #10
2020-08-12 14:22:36 +01:00
catbref
91e82d1e3c
Add HSQLDB CHECKPOINT statements between database reshaping statements to reduce failures
2020-08-12 14:20:23 +01:00
catbref
50e2bda020
Quicken blockchain validity check at start-up by only checking most recent 1440 blocks
2020-08-12 14:19:14 +01:00
catbref
ab1de1aafa
Improve HSQLDB query for finding latest AT state data
2020-08-12 14:18:05 +01:00
catbref
d4ac87f91d
Update to more efficient CIYAM AT v1.3.7
2020-08-12 14:17:09 +01:00
catbref
52f4008725
Bump version to v1.3.1
2020-08-10 15:24:37 +01:00
catbref
d8dd71ff50
Fix off-by-one in some sync cases
2020-08-10 15:22:01 +01:00
catbref
02966bf39a
Update CIYAM-AT to v1.3.6 to make use of lambda-based logging
2020-08-10 14:05:42 +01:00
catbref
a83d8bf1d5
Split Synchronizer into two strategies depending on whether swapping chains or simply adding new blocks
2020-08-10 14:00:45 +01:00
catbref
1e4432b1f3
Convert LOBs to VARBINARY in DB, reducing sizes at the same time
2020-08-10 13:59:56 +01:00
catbref
d50c979d9f
Tighten limit on AT sizes
2020-08-10 13:59:20 +01:00
catbref
4e60ec5192
Disable peer buffer dealloc for now to reduce GC pressure
2020-08-10 13:58:12 +01:00
catbref
31c4e3b1be
Reduce memory PoW during network handshake
2020-08-10 13:57:16 +01:00
catbref
b97fbd3171
Bug-fix for cached online accounts
2020-08-07 16:19:32 +01:00
catbref
43fb5d9332
Cache top 2 blocks' worth of online account data to avoid unnecessary Ed25519 verifications
2020-08-07 13:33:31 +01:00
catbref
ea3f1a8eff
Actually respond to peers requesting unknown block instead of letting them timeout on their side
2020-08-07 13:32:19 +01:00
catbref
7bb060781e
Bump to v1.3.0 - including new trade-portal feature
2020-08-06 15:40:11 +01:00
catbref
a1ab0b7c31
Added more nodes to initial list
2020-08-06 15:38:52 +01:00
catbref
fae2afd010
Remove obsolete github repo from potential auto-update sites
2020-08-06 15:23:13 +01:00
catbref
76c0a5a4fa
Increase default Bitcoin transaction fee to 5000 sats
2020-08-06 13:12:54 +01:00
catbref
cdb65657b6
Added qortal.ru nodes to initial nodes list used when creating DB
2020-08-06 09:51:14 +01:00
catbref
9007dfe779
Added API call POST /crosschain/btc/send for sending Bitcoin
2020-08-06 09:46:08 +01:00
catbref
99d09a9877
Change HTTP response codes for BTC_BALANCE_ISSUE and BTC_TOO_SOON from 422 to 402 & 408
2020-08-06 09:45:38 +01:00
catbref
afcf51399e
Minor post-merge fix-up
2020-08-06 09:18:08 +01:00
catbref
47679b7f6c
Merge branch 'trade-bot'
2020-08-06 09:00:45 +01:00
catbref
8f2985862d
Update BTC-ACCT 'cancel' API call to expect AT creator's as sender
2020-08-06 08:52:51 +01:00
catbref
23a524b464
BTC-ACCT: change AT so 'cancel' MESSAGE needs to come from AT creator's address (not trade address) so fee can be used instead of PoW for faster cancels
2020-08-06 08:23:49 +01:00
catbref
ce8992867d
Include last 24 hours of CANCELLED & REFUNDED trade offers in first message
2020-08-05 20:58:25 +01:00
catbref
c89de7adfb
Add creatorAddress, qortAmount and (last updated) timestamp to trade-bot entries
2020-08-05 16:00:40 +01:00
catbref
cac68ccc14
Added trade-bot websocket
2020-08-05 13:23:24 +01:00
catbref
d507383487
Rework ApiWebSocket so it can manage sessions and in readiness to conversion from "notifiers" to event-bus
2020-08-05 13:23:07 +01:00
catbref
ce5cf87094
Added unified, simple event bus to eventually replace controller "notifiers"
2020-08-05 13:20:19 +01:00
catbref
ec2c9d2a44
Improve /crosschain/tradebot/respond with varied API errors such as BTC_BALANCE_ISSUE, BTC_NETWORK_ISSUE, etc. instead of just "false"
2020-08-05 10:05:09 +01:00
catbref
36d0abe635
WIP: trade-bot: log warning when we can't fund P2SH-B for some reason
2020-08-05 10:04:25 +01:00
catbref
615381ca5a
Fix BTC spend txn building to be less aggressive about caching/checking spent keys
2020-08-05 10:03:08 +01:00
catbref
6b83499216
WIP: trade-bot: add support for showing trade partner's Qortal receiving address in trade offer summaries
2020-08-04 20:35:22 +01:00
catbref
faa2e9502b
WIP: trade-bot: include creation/latest timestamp (as appropriate) in trade offer summaries via websocket
2020-08-04 17:00:36 +01:00
catbref
cd07240ce7
Add BTC.getWalletBalance(xprv) and add API call to access that.
...
Also improved BTC.WalletAwareUTXOProvider to derive more keys itself
instead of throwing and relying on caller to do the work.
Added benefit of cleaning up caller code and being more efficient.
Needed because not all receiving/change addresses were being picked up.
2020-08-04 16:37:44 +01:00
catbref
91518464c2
WIP: trade-bot: fix empty bitcoin wallet edge case when finding UTXOs
2020-08-04 12:26:09 +01:00
catbref
25bf315e23
WIP: trade-bot: tradeoffers websocket initial message with OFFERING/REDEEMED and fixed subsequent messages
2020-08-04 11:21:57 +01:00
catbref
a8743b1bd3
ElectrumX network main-net servers
2020-08-03 19:28:55 +01:00
catbref
f90bd6ee45
WIP: trade-bot: added WS for streaming existing/new trades in OFFERING state
2020-08-03 17:57:22 +01:00