Commit Graph

  • 8c9cf4a02d Add API support for listing Bitcoin/Litecoin wallet transactions catbref 2020-12-07 16:40:12 +00:00
  • 23f0969b2d Requesting BTC/LTC wallet balance now accepts public key xpub/tpub too catbref 2020-12-07 15:40:05 +00:00
  • cf82813280 Report foreignBlockchain and acctName in results for API call GET /crosschain/tradeoffers catbref 2020-12-02 14:37:50 +00:00
  • 753fa4dfa9 Remove extraneous boxing/unboxing from PresenceWebSocket catbref 2020-12-02 13:20:37 +00:00
  • 58ff338ab3 Now Transaction.importAsConfirmed() calls Controller.onNewTransaction(), removing call from API POST /transactions/process and Controller.onNetworkTransactionMessage() catbref 2020-12-02 13:19:53 +00:00
  • 064e12a57b Improve documentation regarding deadlock in EventBus catbref 2020-12-02 13:16:18 +00:00
  • 54bb8ed817 New PRESENCE-related API websocket at /websockets/presence catbref 2020-12-01 17:24:02 +00:00
  • b651eae258 Notify EventBus with NewTransactionEvent in Controller.onNewTransaction catbref 2020-12-01 17:23:10 +00:00
  • 7562d9bbf8 Fix potential NPE when closing a websocket that failed to open properly catbref 2020-12-01 17:22:40 +00:00
  • 1b50dd5adf Modify API TransactionsResource to notify Controller after closing repository handle/session catbref 2020-12-01 17:22:03 +00:00
  • c10a5db280 Fix PresenceTransaction to work with any ACCT, not only BitcoinACCTv1 catbref 2020-12-01 15:06:07 +00:00
  • 500690be49 Add ATRepository.getAllATsByFunctionality() to fetch ATs matching selection of code hashes catbref 2020-12-01 15:05:40 +00:00
  • 778ac35ee6 Improve HSQLDBRepository.temporaryValuesTableSql to work with Collection, not just List catbref 2020-12-01 15:04:50 +00:00
  • c16a664a78 Add toString() to ByteArray catbref 2020-12-01 15:03:23 +00:00
  • 75a265f89a Improve SupportedBlockchain enum catbref 2020-12-01 15:02:58 +00:00
  • ddb55210b4 Merge branch 'presence-txn' into LTCv3-with-presence catbref 2020-11-30 14:40:56 +00:00
  • e093520696 WIP: PRESENCE - TradeBot support, moved PresenceType enum, added Presence-only transaction deadline override catbref 2020-11-27 18:06:24 +00:00
  • cfacddcb36 Change Controller.deleteExpiredTransactions to use Transaction-subclass .getDeadline() instance method call instead of static Transaction.getDeadline(transactionData) which allows Transaction subclasses to override with custom deadlines/expiry periods catbref 2020-11-27 18:05:03 +00:00
  • d2dea3ff35 BlockMinter now notifies Controller of new block while still holding blockchain lock, bringing it in line with Synchronizer catbref 2020-11-27 18:02:05 +00:00
  • 865fcb95bf In pom.xml, have Maven surefire plugin skip tests by default catbref 2020-11-27 14:26:01 +00:00
  • a52c089728 WIP: PRESENCE transactions - support only TRADE_BOT type and restrict to known trades catbref 2020-11-26 16:33:21 +00:00
  • 15d25649b2 WIP: PRESENCE transactions - repository support, removing older versions, tests catbref 2020-11-26 16:11:11 +00:00
  • e0210635e3 Add repository support for fetching subset of unconfirmed transactions by type and/or creator catbref 2020-11-26 16:10:13 +00:00
  • 90b993e234 Refactor post-importAsUnconfirmed as method to be overridden by Transaction subclasses, e.g. CHAT catbref 2020-11-26 16:08:56 +00:00
  • 9b7c2c50fb Initial commit with PRESENCE transaction type -- untested catbref 2020-11-24 17:02:05 +00:00
  • fc7a7a1549 Bump Maven surefire plugin to v2.22.2 for better test/CI support catbref 2020-11-24 15:11:39 +00:00
  • a12045c19e Fix repository race condition from using wrong synchronization object catbref 2020-11-17 14:53:39 +00:00
  • fccb3a3f0c Merge branch 'master' into LTCv3-merge-test catbref 2020-11-13 10:46:45 +00:00
  • 62ae49b639 ApiError_de.properties & SysTray_zh.properties also converted to UTF8 catbref 2020-11-12 12:18:26 +00:00
  • 2e8f58bb2f ApiError_ru.properties & TransactionValidity_ru.properties converted to UTF8 for easier management catbref 2020-11-12 11:34:25 +00:00
  • 9e98ce220f Revert SysTray_ru.properties back to UTF8 form catbref 2020-11-12 11:28:01 +00:00
  • 10c3a0c056 Update AdvancedInstaller config file with v1.3.7 values catbref 2020-11-12 11:27:36 +00:00
  • 69ec654e4a Bump to version 1.3.7 v1.3.7 catbref 2020-11-11 09:27:25 +00:00
  • a310e751bb Fix slow SQL query in HSQLDBATRepository.getBlockATStatesAtHeight() - mostly used during orphaning catbref 2020-11-10 16:58:24 +00:00
  • a9c7142d7b Speed up AT states reshape catbref 2020-11-10 16:46:07 +00:00
  • 7a40c3526f Bugfixes and tests for SLEEP_UNTIL_MESSAGE catbref 2020-11-10 15:30:54 +00:00
  • 3253d9d3fb WIP: initial implementation of AT sleep-until-message (untested) catbref 2020-09-30 15:07:53 +01:00
  • 3ef8b81e51 Fix incorrect column indexes when fetching frozen AT data catbref 2020-11-10 15:38:15 +00:00
  • 1f409235e4 Don't rebuild repository or export node-local data during repository build if repository was 'pristine'. catbref 2020-11-09 10:16:37 +00:00
  • 806baa6ae4 Fix API call referenced in DB reshape catbref 2020-11-06 11:23:35 +00:00
  • 58ed72058f Another attempt to prevent "serialization failure" during trimming catbref 2020-11-05 14:36:14 +00:00
  • 253a994438 Add API POST /repository/checkpoint call. Renamed GET/POST /admin/repository calls to /admin/repository/data catbref 2020-11-05 11:08:54 +00:00
  • 5549eded38 Improve/fix use of latest block cache, for more cache hits, faster chain-tip response, etc. catbref 2020-11-05 09:34:57 +00:00
  • 20777363cf Split AT state storage into two HSQLDB table for better management catbref 2020-11-04 20:07:30 +00:00
  • b3f859f290 Don't use WITH COLUMN NAMES when exporting data from repository into local file catbref 2020-11-04 15:48:52 +00:00
  • 8c9f68a9c3 Add API calls for exporting node-local repository data & corresponding import to/from local files catbref 2020-11-04 15:35:42 +00:00
  • 41f178bf59 Add support for API key security, where X-API-KEY header must match apiKey from settings catbref 2020-11-04 15:35:20 +00:00
  • ad5050f92e Add support for exporting node-local repository data to .script files and corresponding import function catbref 2020-11-04 15:29:10 +00:00
  • 16397852ae Add synchronization around updating trim heights to prevent deadlock/rollback catbref 2020-11-04 10:01:20 +00:00
  • c125a53655 More (optionally) logging when comparing chains with peers. Support for potential future minor consensus change. catbref 2020-11-02 11:52:06 +00:00
  • 7b056a832f Turn off HSQLDB redo-log "blockchain.log" and periodically call "CHECKPOINT" instead. catbref 2020-11-02 11:49:21 +00:00
  • 6c40727027 More reporting for slow HSQLDB queries/commits catbref 2020-11-02 11:16:40 +00:00
  • 8f06765caf Networking performance improvements and message sending bugfix catbref 2020-11-02 11:15:53 +00:00
  • de2fc78ad1 Add support for SHA256 digest of ByteBuffer in Crypto class catbref 2020-11-02 10:47:27 +00:00
  • ee08410260 More trace-level debugging in Synchronizer to help diagnose chain reorg issues catbref 2020-11-02 10:46:51 +00:00
  • 88da8d949f Don't allow latest blocks cache to be empty catbref 2020-11-02 10:45:21 +00:00
  • d2a92db921 More caching for GetBlockMessage. Added API call GET /admin/enginestats to monitor cache usage catbref 2020-10-29 11:02:02 +00:00
  • 9c18a33d7f Improve tools/build-auto-update.sh when working on detached HEAD catbref 2020-10-28 09:08:16 +00:00
  • f3b8258067 Add more latest block caching to reduce repository accesses, especially for requests from remote peers catbref 2020-10-28 08:46:30 +00:00
  • da78c73485 Remove extraneous call to Controller.onNewBlock() after synchronization, as this call is performed per-block inside Synchronizer catbref 2020-10-28 08:42:59 +00:00
  • cec25ce279 Add API call POST /peers/commonblock <connected-peer> as debugging aid catbref 2020-10-28 08:41:23 +00:00
  • 0389007491 Skip trimming while performing synchronization catbref 2020-10-28 08:38:11 +00:00
  • 38a64bdd9e Prevent HSQLDB prepared statement cache invalidation when rebuilding latest AT states cache catbref 2020-10-12 14:35:10 +01:00
  • 6a24f787c4 Bump to v1.3.6 v1.3.6 catbref 2020-10-07 14:56:58 +01:00
  • 98564aa8bf Fix SQL logic error when fetching trade offers catbref 2020-10-07 14:56:05 +01:00
  • 9ceff90f42 Upgrade to CIYAM-AT v1.3.8 with slight performance improvements catbref 2020-10-07 10:31:18 +01:00
  • 6a4388fecc Use cached PreparedStatement for HSQLDB.assertEmptyTransaction + other minor HSQLDB fixes catbref 2020-10-07 09:45:44 +01:00
  • e93b262049 WIP: starting to split into two DBs split-DB catbref 2020-10-06 16:38:22 +01:00
  • 1958444bc4 Add recipient indexes for payment/AT transactions to speed up AT processing catbref 2020-10-06 14:09:42 +01:00
  • a2038274e1 Keep latest AT state, even if "finished", so we can produce historical trade data catbref 2020-10-05 15:18:41 +01:00
  • 532c697026 Moved AT State & online signatures trimming intervals, batch sizes, limits, etc. to Settings catbref 2020-10-02 12:58:23 +01:00
  • 5cf5c1e1f7 Take pressure off GC by not creating/destroying HSQLDB sub-repositories all the time catbref 2020-10-01 13:18:24 +01:00
  • 60621e8b81 Reworked AT-states and online signatures trimming catbref 2020-10-01 12:47:52 +01:00
  • a6a1f65d3e Reduce block search size in AT state trimmer to reduce load catbref 2020-09-29 11:41:30 +01:00
  • a681f741dd Add initial delay before trimming online accounts signatures catbref 2020-09-29 11:40:41 +01:00
  • bed9837967 Added settings entry "localeLang" for controlling core language (not-API) catbref 2020-09-29 10:56:27 +01:00
  • 855cb2226a Aggressively trim old AT state data and online accounts signatures. catbref 2020-09-28 14:34:00 +01:00
  • d85a3d17c8 Fix for HSQLDB deadlock during CHECKPOINT. catbref 2020-09-28 14:22:18 +01:00
  • 81a5b154c2 Add API call DELETE /admin/repository which actually performs repository maintenance (takes several minutes) catbref 2020-09-25 17:06:06 +01:00
  • a6f42df9d6 Add isTestNet to API call GET /admin/info catbref 2020-09-25 16:35:53 +01:00
  • 17ae7acc6d Reduce DB storage of AT states catbref 2020-09-25 15:25:57 +01:00
  • 3d5fec3c30 Bump to HSQLDB v2.5.1 as we seem clear of OOM issue catbref 2020-09-25 15:25:15 +01:00
  • 21f48fba5f HSQLDB PreparedStatement caching improvements catbref 2020-09-24 12:45:37 +01:00
  • d0da5d7c48 ATs: only call MachineState.getCodeBytes() once in preparation for using newer AT lib catbref 2020-09-24 12:42:44 +01:00
  • 4209cc6ee4 Improve SQL prepared statement caching in HSQLDBATRepository, plus missing space in SQL in getMatchingFinalATStates catbref 2020-09-21 16:42:43 +01:00
  • f3e1092dd5 Improve SQL prepared statement caching in HSQLDBBlockRepository.getBlockInfos & test to cover catbref 2020-09-21 16:38:45 +01:00
  • 43055b666f Improve SQL prepared statement caching in HSQLDBAccountRepository.getEligibleLegacyQoraHolders() catbref 2020-09-21 16:29:34 +01:00
  • 7cd8ed6e23 HTLC secret and status caching to reduce repeated calls to ElectrumX network catbref 2020-09-22 12:13:22 +01:00
  • 4bc0edeeca Litecoin trade-bot added! catbref 2020-09-21 16:54:43 +01:00
  • 7a06df6ccd Improve SQL prepared statement caching in HSQLDBATRepository, plus missing space in SQL in getMatchingFinalATStates catbref 2020-09-21 16:42:43 +01:00
  • d9164a32e5 Improve SQL prepared statement caching in HSQLDBBlockRepository.getBlockInfos & test to cover catbref 2020-09-21 16:38:45 +01:00
  • a8fbf32a88 Improve SQL prepared statement caching in HSQLDBAccountRepository.getEligibleLegacyQoraHolders() catbref 2020-09-21 16:29:34 +01:00
  • 514689d2f4 WIP: refactoring to support multiple foreign blockchains catbref 2020-09-18 17:07:49 +01:00
  • 76a15bb026 Initial implementation of Litecoin ACCT catbref 2020-09-17 11:07:07 +01:00
  • b061f188f9 Update Bitcoinv1 DeployAT test app catbref 2020-09-16 11:11:18 +01:00
  • af7d7d0966 Unified Bitcoin/Litecoin test apps catbref 2020-09-16 10:57:45 +01:00
  • 2ffd0770c6 Initial Litecoin support catbref 2020-09-15 17:53:54 +01:00
  • e3abeafc6b Refactoring to allow many foreign blockchains and multiple ACCTs catbref 2020-09-15 14:56:43 +01:00
  • 1720582f33 Remove obsolete NextBlockHeight table and corresponding triggers catbref 2020-09-11 16:06:53 +01:00
  • d93e9d570f Trimming old block online accounts signatures catbref 2020-09-11 15:57:12 +01:00