Commit Graph

  • d9b330b46a OnlineAccountData no longer uses signature in equals() or hashCode() because newer aggregate signatures use random nonces and OAD class doesn't care about / verify sigs catbref 2022-05-17 21:59:55 +01:00
  • c032b92d0d Logging fix: size() was called on wrong collection, leading to confusing logging output catbref 2022-05-14 17:44:29 +01:00
  • ae92a6eed4 OnlineAccountsV3: slightly rework Block.mint() so it doesn't need to filter so many online accounts Slight optimization to BlockMinter by adding OnlineAccountsManager.hasOnlineAccounts():boolean instead of returning actual data, only to call isEmpty()! catbref 2022-05-02 15:38:15 +01:00
  • 712c4463f7 OnlineAccountsV3: catbref 2022-05-01 14:41:22 +01:00
  • fbdc1e1cdb OnlineAccountsV3: Adding support for GET_ONLINE_ACCOUNTS_V3 to Controller, which calls OnlineAccountsManager. catbref 2022-04-30 17:17:55 +01:00
  • f2060fe7a1 Initial work on online-accounts-v3 network messages to drastically reduce network load. Lots of TODOs to action. catbref 2022-04-23 16:04:35 +01:00
  • 6950c6bf69 Initial work on reducing network load for transferring blocks. catbref 2022-04-17 19:22:29 +01:00
  • 8a76c6c0de Sync behaviour changes: catbref 2022-05-28 14:57:57 +01:00
  • ef51cf5702 Added defensiveness in getOnlineTimestampModulus(), just in case NTP.getTime() returns null CalDescent 2022-06-02 12:46:11 +01:00
  • 0c3988202e Merge branch 'master' into increase-online-timestamp-modulus CalDescent 2022-06-02 12:38:05 +01:00
  • 987446cf7f Updated AdvancedInstaller project for v3.3.2 CalDescent 2022-06-02 11:31:56 +01:00
  • 6dd44317c4 Sync pirate wallet every 30 seconds instead of 60, to match behaviour of official wallet. CalDescent 2022-05-31 10:09:37 +02:00
  • d2fc705846 Merge remote-tracking branch 'catbref/UnsupportedMessage' CalDescent 2022-05-31 09:09:08 +02:00
  • e393150e9c Require references to be the correct length post feature-trigger disable-reference CalDescent 2022-05-30 22:40:39 +02:00
  • 43bfd28bcd Revert "Discard unsupported messages instead of disconnecting the peer." CalDescent 2022-05-30 21:46:16 +02:00
  • ca8f8a59f4 Better forwards compatibility with newer message types so we don't disconnect newer peers catbref 2022-05-30 20:41:45 +01:00
  • 85a26ae052 Another rework of null seed wallets, to allow them to be saved and loaded. CalDescent 2022-05-30 19:31:55 +02:00
  • c30b1145a1 Improved ensureSynchronized() as it would often not notice an unsynced wallet. CalDescent 2022-05-30 18:14:26 +02:00
  • d086ade91f Discard unsupported messages instead of disconnecting the peer. CalDescent 2022-05-30 15:27:42 +02:00
  • 64d4c458ec Fixed logging error CalDescent 2022-05-30 15:16:44 +02:00
  • 958fb299b2 Simplified buildHeightMessage() height-v3 CalDescent 2022-05-30 14:38:05 +02:00
  • 16ba426932 Added HEIGHT_V3 message with the following additions: CalDescent 2022-05-30 14:36:42 +02:00
  • 2478450694 Revert "Removed "consecutive blocks" limitation in block minter." CalDescent 2022-05-30 13:49:15 +02:00
  • 9f19a042e6 Added test to ensure short (1 byte) references can be imported. CalDescent 2022-05-30 13:46:00 +02:00
  • 922ffcc0be Modified post-trigger last reference checking, to now require a non-null value CalDescent 2022-05-30 13:22:15 +02:00
  • f887fcafe3 Disable last reference validation after feature trigger timestamp (not yet set). CalDescent 2022-05-30 13:06:55 +02:00
  • 48b562f71b Auto update check interval slowed from 10s to 30s, to hopefully reduce the chance of encountering "repository in use by another process?" error. CalDescent 2022-05-28 14:33:37 +02:00
  • 5203742b05 Started work on architecture-specific lite wallet library loading. Paths are not yet correct. CalDescent 2022-05-28 14:31:38 +02:00
  • f14b494bfc "Disposable" wallets renamed to "null seed" wallets, as this is a better description of what they are. CalDescent 2022-05-28 14:28:42 +02:00
  • 9a4ce57001 Increase blockchain lock wait time from 30 to 60 seconds in /transactions/process. CalDescent 2022-05-28 13:33:09 +02:00
  • 10af961fdf Consider a node with a block in the last 30 mins to be "up to date" when trading. CalDescent 2022-05-27 22:31:21 +02:00
  • 33cffe45fd Bump version to 3.3.2 v3.3.2 CalDescent 2022-05-27 17:23:53 +02:00
  • a0ce75a978 Minimum BTC order amount set to 0.001 BTC. Anything lower than that will result in greater than 10% fees. CalDescent 2022-05-27 16:59:34 +02:00
  • 8d168f6ad4 Override default Bitcoin trade fee QuickMythril 2022-05-27 06:57:38 -04:00
  • 0875c5bf3b Fix ConcurrentModificationException in getCachedSigValidTransactions() CalDescent 2022-05-27 10:15:41 +02:00
  • b17b28d9d6 Catch NoSuchMethodError in ElectrumX, and log it, just in case we ever reencounter a dependency issue. CalDescent 2022-05-27 10:33:37 +02:00
  • e95249dc1b Reduced bouncycastle version to 1.69, as 1.70 was having compatibility issues with the ElectrumX code. CalDescent 2022-05-27 10:30:28 +02:00
  • bb4bdfede5 Added concept of a "disposable" pirate chain wallet. CalDescent 2022-05-27 10:29:24 +02:00
  • e2b241d416 Fix ConcurrentModificationException in getCachedSigValidTransactions() CalDescent 2022-05-27 10:15:41 +02:00
  • aeb94fb879 Merge branch 'master' into pirate-chain CalDescent 2022-05-27 09:16:38 +02:00
  • 8e71cbd822 Reduce static Bitcoin trade fee QuickMythril 2022-05-26 16:25:07 -04:00
  • 9896ec2ba6 Fix typo QuickMythril 2022-05-26 15:37:38 -04:00
  • 9f9a74809e Add Bitcoin ACCTv3 QuickMythril 2022-05-26 15:34:51 -04:00
  • acce81cdcd Add tray menu item to show Build Version QuickMythril 2022-05-26 15:10:04 -04:00
  • d72953ae78 Drop expired transactions from the import queue before they are considered "sig valid". CalDescent 2022-05-25 19:06:08 +01:00
  • 32213b1236 Catch all exceptions in PirateLightClient CalDescent 2022-05-24 20:48:57 +01:00
  • 761d461bad Bump bouncycastle version to 1.70, necessary for ALPN support in some JDKs. CalDescent 2022-05-24 20:35:19 +01:00
  • 774a3b3dcd Catch RuntimeException, so that the gRPC client is shutdown. CalDescent 2022-05-24 19:52:23 +01:00
  • 30567d0e87 Correctly handle shutdown of gRPC managed channel on error. CalDescent 2022-05-24 19:32:41 +01:00
  • 6b53eb5384 Pirate Chain uses the 'b' prefix for P2SH addresses, but the light wallet library is configured to use 't3' (from Zcash), so it's easiest to just derive a different prefix for each destination. CalDescent 2022-05-23 23:14:54 +01:00
  • 767ef62b64 Added PirateChain.isValidWalletKey() CalDescent 2022-05-23 22:11:23 +01:00
  • f7e6d1e5c8 Merge branch 'master' into pirate-chain CalDescent 2022-05-23 21:55:49 +01:00
  • 551686c2de Updated AdvancedInstaller project for v3.3.1 CalDescent 2022-05-23 21:54:25 +01:00
  • b73c041cc3 Bump version to 3.3.1 v3.3.1 CalDescent 2022-05-23 20:31:36 +01:00
  • 9e8d85285f Removed extra unnecessary digest after writing new data. CalDescent 2022-05-20 13:36:56 +01:00
  • f41fbb3b3d Removed "consecutive blocks" limitation in block minter. CalDescent 2022-05-20 13:38:56 +01:00
  • 3f5240157e Return more detailed errors in trade portal APIs. CalDescent 2022-05-22 16:11:20 +01:00
  • 7c807f754e First draft of Pirate Chain trade bot. Not tested yet. CalDescent 2022-05-22 16:07:48 +01:00
  • 9e1b23caf6 Removed unused constants. CalDescent 2022-05-22 16:01:12 +01:00
  • c2bad62d36 Updated status text when not initialized. CalDescent 2022-05-22 16:00:37 +01:00
  • 4516d44cc0 UnspentOutput additions to support latest PirateChainHTLC methods CalDescent 2022-05-22 15:55:40 +01:00
  • 9c02b01318 Added PirateChainHTLC.getUnspentFundingTxid(), allowing a minimum amount to be specified. CalDescent 2022-05-22 15:55:01 +01:00
  • 08fab451d2 Added PirateChainHTLC.getFundingTxid(), to lookup the txid that funded a P2SH. CalDescent 2022-05-22 15:49:14 +01:00
  • d47570c642 First draft of Pirate Chain ACCT, with modifications to allow for 33 byte public keys instead of 20 byte PKH. Pirate Chain HTLCs are required to use full public keys rather than hashes. CalDescent 2022-05-22 12:23:01 +01:00
  • 4547386b1f Increase receiving_account_info column size from 32 to 128 bytes, to allow for Pirate Chain sapling shielded addresses, which are much longer. CalDescent 2022-05-21 15:24:37 +01:00
  • ab01dc5e54 Implemented address validation for Pirate Chain CalDescent 2022-05-21 09:22:49 +01:00
  • 380c742aad Pirate chain minimum order size temporarily decreased to 0.0001, for testing only. CalDescent 2022-05-21 09:11:24 +01:00
  • 368359917b Use LegacyZcashAddress (copied and modified from bitcoinj) to derive and encode Pirate Chain P2SH addresses. CalDescent 2022-05-20 21:27:38 +01:00
  • 1c1b570cb3 Added Pirate TLC and raw transaction tests CalDescent 2022-05-20 21:22:18 +01:00
  • 3fe43372a7 Added PirateChainHTLC - uses a different HTLC format suitable for Pirate Chain. CalDescent 2022-05-20 21:21:51 +01:00
  • c7bc1d7dcd Hardcode fee to MAINNET_FEE when sending coins. CalDescent 2022-05-20 21:16:12 +01:00
  • a7ea6ec80d Added wrapper methods for Pirate LiteWalletJni P2SH funding/redeeming/refunding. CalDescent 2022-05-20 21:14:50 +01:00
  • 9cf574b9e5 Added support for Pirate Chain transaction lookups and deserialization, necessary for HTLC status checks. CalDescent 2022-05-20 21:07:54 +01:00
  • 20e63a1190 Removed "consecutive blocks" limitation in block minter. CalDescent 2022-05-20 13:38:56 +01:00
  • f6fc5de520 Removed extra unnecessary digest after writing new data. CalDescent 2022-05-20 13:36:56 +01:00
  • 0b89118cd1 Fixed bug in Pirate wallet transaction parsing. CalDescent 2022-05-20 13:35:52 +01:00
  • fa3a81575a Reduce wasted time that could otherwise be spent validating queued transaction signatures. CalDescent 2022-05-14 12:53:36 +01:00
  • 6990766f75 Speed up unconfirmed transaction propagation. CalDescent 2022-05-14 12:43:54 +01:00
  • e1e1a66a0b Improvements and fixes to PirateWallet CalDescent 2022-05-14 12:10:35 +01:00
  • e552994f68 Merge branch 'master' into pirate-chain CalDescent 2022-05-13 13:23:26 +01:00
  • b33afd99a5 Bump invalid transaction import logging from trace to debug. CalDescent 2022-05-13 13:22:58 +01:00
  • 3c2ba4a0ea Improved logging when importing transactions. CalDescent 2022-05-13 12:31:48 +01:00
  • ab0fc07ee9 Refactored transaction importer, to separate signature validation from importing. CalDescent 2022-05-13 12:31:19 +01:00
  • 001650d48e Fixed typo in currently unused getSignaturesInvolvingAddress() method. CalDescent 2022-05-13 11:28:55 +01:00
  • 659431ebfd Added "txTypes" parameter to GET /transactions/unconfirmed, to allow optional filtering of unconfirmed transactions by one or more types CalDescent 2022-05-13 11:28:21 +01:00
  • 0a419cb105 Added "creator" parameter to GET /transactions/unconfirmed, to allow filtering unconfirmed transactions by creator's public key CalDescent 2022-05-13 11:13:39 +01:00
  • a4d4d17b82 Added /wallets to .gitignore, in preparation for pirate chain support. CalDescent 2022-05-12 19:34:53 +01:00
  • 0829ff6908 Fixed bugs in tooltip, introduced in lite node branch CalDescent 2022-05-12 19:33:12 +01:00
  • 2d1b0fd6d0 Merge branch 'lite-node' CalDescent 2022-05-12 08:51:05 +01:00
  • 122539596d Merge branch 'qdn-direct-connections' CalDescent 2022-05-12 08:45:45 +01:00
  • 86015e59a1 Updated AdvancedInstaller project for v3.3.0 CalDescent 2022-05-10 08:27:17 +01:00
  • 107a23f1ec Switch to PirateChainMainNetParams CalDescent 2022-05-10 08:05:32 +01:00
  • abce068b97 Catch UnsatisfiedLinkError when initializing Pirate Chain library CalDescent 2022-05-10 08:05:06 +01:00
  • 28fd9241d4 Fixed issues with merge CalDescent 2022-05-10 08:01:07 +01:00
  • 3fc4746a52 Merge branch 'master' into pirate-chain CalDescent 2022-05-10 07:54:47 +01:00
  • 1ea1e00344 Bump version to 3.3.0 v3.3.0 CalDescent 2022-05-09 18:47:19 +01:00
  • 598f219105 Don't require a full synchronization in order to return the ARRR wallet address. CalDescent 2022-05-08 08:26:00 +01:00
  • bbf7193c51 Fixed bugs in wallet initialization CalDescent 2022-05-08 08:24:54 +01:00
  • adecb21ada Added mainnet xpub addresses for DGB and RVN tests, as testnet support isn't fully implemented yet. CalDescent 2022-05-07 17:40:36 +01:00
  • fa4679dcc4 Updated DGB and RVN tests due to conflict. CalDescent 2022-05-07 17:05:10 +01:00