Commit Graph

284 Commits

Author SHA1 Message Date
Hanh c2093bbe12 Multi receivers note selection 2022-11-02 12:43:54 +08:00
Hanh 544fb25f9a Unified address encode/decode & accounts 2022-10-30 18:03:38 +08:00
Hanh f8a692e3e5 Orchard accounts 2022-10-29 14:40:05 +08:00
Hanh 088a4d1ef5 Orchard warp sync 2022-10-28 21:02:34 +08:00
Hanh cbe4737439 Batch pedersen hash 2022-10-27 20:59:04 +08:00
Hanh 81836eae13 Sapling decryption and warp sync 2022-10-27 18:10:51 +08:00
Hanh 3539c45771 wip 2022-10-23 18:29:07 +08:00
Hanh b49210849e wip - remove usage of old warp code
- does not build yet
2022-10-23 10:35:39 +08:00
Hanh 4094c5d25b Fix build after integration of librustzcash 2022-10-22 12:01:29 +08:00
Hanh d5f06cc7eb Squashed commit of the following:
commit 3dca82d62e10252555fcfe498e63c41a5ca967af
Author: Hanh <hanh425@gmail.com>
Date:   Sun Sep 18 01:30:56 2022 +0800

    WIP

commit 32013d4eea0bff3321e4bb82a4c878aa4feaea7b
Author: Hanh <hanh425@gmail.com>
Date:   Sat Sep 17 19:48:32 2022 +0800

    WIP

commit 0f4b16d1b3874f9377b7144591a602aa97e6747d
Author: Hanh <hanh425@gmail.com>
Date:   Sat Sep 17 12:45:41 2022 +0800

    WIP

commit 90cf116c230b2845d43bdc9b81057f8b761b6773
Author: Hanh <hanh425@gmail.com>
Date:   Fri Sep 16 21:05:52 2022 +0800

    WIP

commit d8a8db0a29564c98b3f7dc331d5d37f4b7a87c18
Author: Hanh <hanh425@gmail.com>
Date:   Fri Sep 16 18:03:56 2022 +0800

    WIP

commit cb467ea2cd7bada9a9cbf9fbc59b265bb3be4968
Author: Hanh <hanh425@gmail.com>
Date:   Fri Sep 16 17:17:51 2022 +0800

    WIP

commit ba3b4de96e19329a317cc4164cf69442e9b1aa8a
Author: Hanh <hanh425@gmail.com>
Date:   Fri Sep 16 14:41:07 2022 +0800

    Sapling Pedersen hash

commit 3e9be116a68342c22da147dba011e2d6a9e68cbc
Author: Hanh <hanh425@gmail.com>
Date:   Thu Sep 15 10:16:54 2022 +0800

    WIP

commit 94e0e8b0d5601ed48227bae89ea3a6c1bb093abc
Author: Hanh <hanh425@gmail.com>
Date:   Wed Sep 14 01:22:22 2022 +0800

    WIP

commit 95708029ab4b94d85f9d565a16505d767bb4598b
Author: Hanh <hanh425@gmail.com>
Date:   Tue Sep 13 21:27:51 2022 +0800

    Db API for Orchard

commit 170a31fd7cf79fba74f710fcd1bf7404235c8e51
Author: Hanh <hanh425@gmail.com>
Date:   Tue Sep 13 20:57:38 2022 +0800

    Add support for orchard to db schema
2022-10-20 14:48:08 +08:00
Hanh 267192c42c Documentation 2022-10-20 14:24:36 +08:00
Hanh 36e654c131 Add fetch-params 2022-10-17 23:33:00 +08:00
Hanh 152fe56a1e Bump version # 2022-10-11 21:45:54 +08:00
Hanh bba488a501 Fix progress indicator 2022-10-06 22:35:03 +08:00
Hanh fe6fc6d924 Reformatting 2022-09-28 13:13:35 +08:00
Hanh 1d6307de76 Add support for spam filter to CUDA processor 2022-09-27 22:58:46 +08:00
Hanh f62a3f3031 GPU bug fix 2022-09-27 20:48:48 +08:00
Hanh c6f17da93f Minor bug fixes to wallet extract tool 2022-09-26 19:17:59 +08:00
Hanh 2451d6b29f Add tool to extract zkeys from wallet.dat (need db_dump 6.2) 2022-09-24 12:21:47 +08:00
Hanh 3d5becd20e Error handling 2022-09-22 18:06:25 +08:00
Hanh 259efc0526 Monkey patch accounts table aindex is missing 2022-09-21 16:20:07 +08:00
Hanh 4838a6925d Fix dependencies 2022-09-11 09:33:04 +08:00
Hanh 93b768615c Update deps 2022-09-10 10:15:43 +08:00
Hanh a29a4eb0f5 Support for Pirate Coin 2022-09-09 23:08:49 +08:00
Hanh e530ac1104 Separate rewind from rescan 2022-09-07 10:38:27 +08:00
Hanh c30f2bb7f3 Fix rescan from height 2022-09-05 23:05:55 +08:00
Hanh fd47863277 Refactor/Cleanup
Spam filter + GPU
2022-09-04 19:19:49 +08:00
Hanh 48c5f45259 Safe rewind 2022-09-02 23:11:50 +08:00
Hanh c7c1a2e95e Better db error logging 2022-09-02 16:44:31 +08:00
Hanh fa137ffbf4 Support ZWL LWD spam filter 2022-09-01 22:30:42 +08:00
Hanh 35a4c17e8c Add log message 2022-09-01 00:08:53 +08:00
Hanh b0b966bc7d Pass spam filter option upstream 2022-08-31 23:35:21 +08:00
Hanh deb75ba3c7 Bug fix: Perf counters 2022-08-30 22:01:53 +08:00
Hanh 1336839255 Cleanup 2022-08-30 14:36:55 +08:00
Hanh f4c39873bc Retrieve message details after import sync data 2022-08-27 12:43:36 +08:00
Hanh 8e1cacf2fd Import of sync data 2022-08-26 21:04:53 +08:00
Hanh c51cb51818 Shuffle server at same heights 2022-08-22 14:36:29 +08:00
Hanh de506ba074 Use GPU flag 2022-08-22 01:48:34 +08:00
Hanh 4d1d4a9d59 Remove vulkan 2022-08-22 00:43:15 +08:00
Hanh 25a25f01c5 Disable WAL for backup 2022-08-22 00:40:14 +08:00
Hanh d4fc07b2e7 has_cuda/vulkan/metal 2022-08-19 12:07:55 +08:00
Hanh 3c0ae90eb4 Bug fix - buffer size mismatch 2022-08-19 00:11:12 +08:00
Hanh b1542278ff Remove dead code 2022-08-18 18:22:14 +08:00
Hanh ba1283f8ef Metal 2022-08-18 18:13:05 +08:00
Hanh f15e8a73dd Add pipeline stage for trial decryption 2022-08-18 10:33:53 +08:00
Hanh deb7d544d4 Vulkan 2022-08-18 08:48:32 +08:00
Hanh 494c7f2018 Refactor GPU code 2022-08-17 19:23:46 +08:00
Hanh b56d6426f7 Fix logger init 2022-08-17 10:56:10 +08:00
Hanh d2da2b2935 More sync statistics 2022-08-16 22:47:48 +08:00
Hanh 9ef549a232 Code reformatting 2022-08-16 15:57:42 +08:00
Hanh ef91e9d3a9 Detect CUDA 2022-08-14 10:59:15 +08:00
Hanh 9053a4c7c4 Fast filter 2022-08-14 10:59:15 +08:00
Hanh ca20587153 CUDA - multiple account 2022-08-14 10:59:02 +08:00
Hanh e21a04d17a Log CUDA init error 2022-08-02 23:36:05 +08:00
Hanh 979795a82c Cuda hardware acceleration 2022-08-02 23:26:05 +08:00
Hanh 1eadcce883 Spam filter 2022-07-31 07:11:58 +08:00
Hanh 82a1872ccc Derive Zip32 tool 2022-07-27 10:11:36 +08:00
Hanh 880fa1b4cb Import transparent private key 2022-07-23 21:25:08 +08:00
Hanh e28ca7fd68 Cancel sync 2022-07-22 10:30:52 +08:00
Hanh 1eb6b949df Some POC nodejs bindings 2022-07-21 19:22:41 +08:00
Hanh 4fabf69589 Import from ZWL file 2022-07-18 10:55:57 +08:00
Hanh 33d34cbc9e Import t-addr by derivation path 2022-07-17 11:23:56 +08:00
Hanh c72c69d0b5 Create multiple subaccounts at once 2022-07-15 09:12:25 +08:00
Hanh 3aa2a8b542 Fix undesired rollback 2022-07-14 12:21:20 +08:00
Hanh 074c1bad60 Find best server 2022-07-14 11:22:12 +08:00
Hanh 7dfd64502c Handle out of order responses 2022-07-12 15:28:58 +08:00
Hanh de3fc5a189 Improve error messages of parse payment uri 2022-07-11 10:08:16 +08:00
Hanh 559f7b84a1 Variable size chunks 2022-07-10 00:12:34 +08:00
Hanh be5d8a81e9 Resumable scan
Variable size chunks
2022-07-09 16:26:25 +08:00
Hanh dd8a7f5803 skip_to_last_height by coin 2022-07-08 16:27:39 +08:00
Hanh 141f5efff3 Use semaphore to limit 1 sync at a time 2022-06-22 23:11:19 +08:00
Hanh 60b8f0475e Free memory from rust -> dart 2022-06-22 21:03:49 +08:00
Hanh b404497315 Get unsigned tx details 2022-06-22 08:18:47 +08:00
Hanh dc573fc9a2 RaptorQ fountain codes 2022-06-20 17:05:11 +08:00
Hanh ebfb619125 formatting 2022-06-17 16:24:11 +08:00
Hanh e4ad2a036f Expose error flag 2022-06-16 18:14:52 +08:00
Hanh 186b165c30 Bug fix: Switch active coin when setting active account 2022-06-13 13:54:37 +08:00
Hanh 22779ddf02 Integration tests 2022-06-11 20:29:14 +08:00
Hanh e73fa4fca4 Offline signing 2022-06-11 13:44:44 +08:00
Hanh 43d4005dbe More RPC 2022-06-11 02:47:01 +08:00
Hanh 5b7fb1a922 Add logger 2022-06-10 21:01:07 +08:00
Hanh 290715fa33 Use Rocket.toml 2022-06-10 19:14:21 +08:00
Hanh 4f8103e907 Error handling in RPC 2022-06-10 18:41:03 +08:00
Hanh ef97829bf7 rustfmt 2022-06-10 18:09:37 +08:00
Hanh 0a458421e6 RPC 2022-06-10 17:16:00 +08:00
Hanh e8a930c1ef RPC 2022-06-10 01:05:58 +08:00
Hanh 5bf0eabca0 Add proto generated file 2022-06-09 20:16:31 +08:00
Hanh e6a97c93d2 iOS Build 2022-06-09 19:28:37 +08:00
Hanh 7827f21f98 Refactor Dart FFI 2022-06-09 18:39:50 +08:00
Hanh 6c5e8a6da7 t-scan 2022-06-08 00:58:24 +08:00
Hanh 00a1c54046 Ledger build fix 2022-06-07 09:27:50 +08:00
Hanh 62bb8dc2ee Cleanup Cargo.toml 2022-05-20 00:19:04 +08:00
Hanh 87e083058e Info message added 2022-05-13 21:55:49 +08:00
Hanh 7107826cea Use WAL Db 2022-04-20 00:47:08 +08:00
Hanh 542e2f3fb3 Bug fixes 2022-04-17 16:09:25 +08:00
Hanh 5363904a9d Mark all as read 2022-04-17 11:15:59 +08:00
Hanh 5bdc29c262 Configure synchronous mode per connection 2022-04-17 09:54:04 +08:00
Hanh 0e47881091 Remove index on messages 2022-04-16 21:15:05 +08:00
Hanh 0fb07f9ed7 Messages 2022-04-16 17:24:00 +08:00
Hanh 11d2733faf Offline signing 2022-04-13 16:56:48 +08:00
Hanh fef886205b Default for missing aindex column 2022-04-11 22:50:11 +08:00
Hanh a2b63ca25a Determine coin type from address prefix 2022-04-11 22:30:41 +08:00
Hanh 5caecd36a6 Rescan from given height 2022-04-01 13:20:53 +08:00
Hanh 74bc5be12b Cleanup 2022-03-31 13:24:27 +08:00
Hanh d4ba8f7cfc H/W ledger support 2022-03-31 08:40:02 +08:00
Hanh a2607930ac Bug fix for tx address in history tab 2022-03-26 10:39:45 +08:00
Hanh 90760786fd Remove db synchronous off 2022-03-18 12:12:09 +08:00
Hanh abc38f6cae Db migration 2022-03-16 19:51:09 +08:00
Hanh 5e7709f5ff Db Indices 2022-03-16 19:14:08 +08:00
Hanh e836eb5485 Bug fix: transactiond details 2022-03-15 18:36:52 +08:00
Hanh 4d3f8e8574 Batch trial decryption 2022-03-15 13:57:10 +08:00
Hanh f6d35b4d41 Update librustzcash 2022-03-15 10:40:08 +08:00
Hanh f8f9a2bf29 Debug messages 2022-03-14 20:50:56 +08:00
Hanh 42cd0f7a19 Recovery backups 2022-03-12 18:58:39 +08:00
Hanh 63bf8e0374 Account index for t-addr 2022-03-11 18:11:44 +08:00
Hanh 71d1ce2891 Bug fix: address of coinbase 2022-03-08 13:12:34 +08:00
Hanh 056ffa454a Unified Y/Zcash 2022-03-07 22:48:47 +08:00
Hanh 766748ccfb Save/Restore all accounts 2022-03-01 09:42:34 +08:00
Hanh 67477d1220 Bug fix: handle error in "save contacts" 2022-02-25 22:26:36 +08:00
Hanh 9667abc5bb Bug fix 2021-12-15 19:09:53 +08:00
Hanh 79a4d8ac3b Bug fix: Rewind should unwind spent notes 2021-12-12 14:19:58 +08:00
Hanh d2c3e8e6c6 Add reset db 2021-11-27 11:34:26 +08:00
Hanh 2d9d9baa7f Output at least one output (even if amount = 0) 2021-11-18 12:56:29 +08:00
Hanh 1368ef704e Update librustzcash dependencies 2021-11-17 11:40:05 +08:00
Hanh 1ddd34017e Remove dependency on zcash-multisig 2021-11-12 20:04:51 +08:00
Hanh ccb25c61f9 Multisig stub 2021-11-12 10:43:34 +08:00
Hanh 8f403258e8 Improve reorg handling 2021-10-21 09:42:10 +08:00
Hanh fb37986e12 Spend from transparent addr 2021-10-11 17:13:36 +08:00
Hanh 62910b75f8 Prioritize taddr over change 2021-09-26 08:00:04 +08:00
Hanh 7d37177bec Payment URI 2021-09-25 17:07:30 +08:00
Hanh b8c41fe9b3 Lazy init prover 2021-09-22 09:15:51 +08:00
Hanh ccfd24256a Do not unwrap 2021-09-21 18:32:14 +08:00
Hanh 5252459aeb More robust fix for issue with dup accounts 2021-09-13 12:08:31 +08:00
Hanh b414e015b7 Fix missing tx details when the same tx refers to multiple accounts 2021-09-13 11:27:10 +08:00
Hanh 9e2b97835f Fix some missing transaction addresses 2021-09-12 14:24:38 +08:00
Hanh 09b5269c18 Parse address of transparent outputs 2021-09-12 09:15:22 +08:00
Hanh df14bc2135 Fix missing memo on offline tx 2021-09-11 22:21:00 +08:00
Hanh d056567dc6 Delete account 2021-09-10 17:54:55 +08:00
Hanh 7d1c1912f7 Contacts API 2021-09-08 22:11:58 +08:00
Hanh f9a51b5002 Error handling for fetch_prices 2021-09-07 08:53:54 +08:00
Hanh 77579ebd45 Detect duplicate accounts 2021-09-06 11:07:14 +08:00
Hanh 19900dd8cf Missing mark note spent in UI 2021-09-05 17:42:42 +08:00
Hanh 70ab12b9d1 Database tweaks 2021-09-05 01:45:04 +08:00
Hanh 8f7628e088 Batch Pedersen Hash 2021-08-30 15:59:23 +08:00
Hanh f63c2f8f47 Memo in multipayments 2021-08-27 23:43:39 +08:00
Hanh 1ef47bb3c4 UA 2021-08-27 16:03:45 +08:00
Hanh d78622d6bf zcash/ycash/zcashtest 2021-08-25 19:40:26 +08:00
Hanh 025dd8c9a9 Shield trp balance with tx 2021-08-23 20:42:13 +08:00
Hanh c99794214f price API 2021-08-17 14:50:24 +08:00
Hanh a0104484e1 mempool reset on new accounts 2021-08-14 22:52:58 +08:00