Nodari Chkuaselidze
e13f180c96
types: update blockstore.
2024-09-30 14:29:03 +04:00
Nodari Chkuaselidze
685a2202ad
types: update net packets.
2024-09-28 18:44:27 +04:00
Nodari Chkuaselidze
8fcfa1a591
types: update primitives, coins, script and covenants.
2024-09-28 18:24:51 +04:00
Nodari Chkuaselidze
ecac387777
types: update misc types in utils, ui and address.
2024-09-24 23:20:07 +04:00
Nodari Chkuaselidze
9f2e062a33
types: update protocol types.
2024-09-24 21:25:43 +04:00
Nodari Chkuaselidze
fd2e57a761
test: fix wallet test case for bidreveal.
2024-08-28 15:46:35 +04:00
Nodari Chkuaselidze
fb7ae46cfe
wdb: Migrate bid-reveals.
...
- Recover bid heights from the TXRecords. Historical not-owned bids will
have them default (-1) for the migration, as TXRecords for them are not
recorded.
- Link owned bid <-> reveals. Historical not-owned bids will have them
default (null outpoint) for the migration, as TXRecords for them are
not recorded.
2024-08-28 13:27:43 +04:00
Nodari Chkuaselidze
1109b627b6
txdb: Add bid and reveal mapping.
...
bid: Add height to the bid entries.
2024-08-28 13:23:27 +04:00
Nodari Chkuaselidze
e88734fb75
Merge PR #901 from 'nodech/mtx-fund-2'
2024-08-27 23:28:43 +04:00
Nodari Chkuaselidze
b010abce51
wallet-client: rename createAuctionTxs to createAuctionTXs.
...
Make style consistent for methods and variables.
2024-08-27 17:32:12 +04:00
Nodari Chkuaselidze
6cf9817fb1
wdb: use encoding functions in migrations, when original encoder also uses them.
2024-08-27 17:20:51 +04:00
Nodari Chkuaselidze
1cebcd3b08
chain-test: update migrate tree state migration.
2024-08-26 18:50:36 +04:00
Nodari Chkuaselidze
e9a52896be
chain-test: update blockstore migration.
2024-08-26 18:50:35 +04:00
Nodari Chkuaselidze
bdb2464773
chain-test: update chainstate migration and remove chaindb methods.
2024-08-26 18:50:34 +04:00
Nodari Chkuaselidze
34f2949050
chaindb: move chaindb records to records file.
2024-08-26 18:50:33 +04:00
Nodari Chkuaselidze
ebe648f6d9
chain-test: change initial change migration to be selfcontained.
2024-08-26 18:50:32 +04:00
Nodari Chkuaselidze
006aa97888
wdb: make recalculateTXDB post migration work.
2024-08-26 18:50:30 +04:00
Nodari Chkuaselidze
f263a4dfe8
wdb: use layout back up instead of wdb layout. Generate migration data.
2024-08-26 18:50:29 +04:00
Nodari Chkuaselidze
aa4a1f84b6
wdb: fix change address migration for hsd v2.1.3 and before nodes.
2024-08-26 18:50:27 +04:00
Nodari Chkuaselidze
ce7dc581b1
wdb: fix initial migrations.
2024-08-26 18:28:35 +04:00
Nodari Chkuaselidze
15e9b8ff31
mtx: coinselection - try to resolve input coins from coinview first.
2024-08-26 17:14:58 +04:00
Nodari Chkuaselidze
38efb06904
wallet: Use interactive scan on initial sync and rescan.
...
Check issue #872
2024-08-20 15:36:30 +04:00
Nodari Chkuaselidze
57194f4cd6
http: interactive rescan will now throw on socket.call similar to rescan.
2024-08-20 15:33:49 +04:00
Nodari Chkuaselidze
c8592d121d
wallet: Fix node client interface for hooks.
...
bsock hooks that nodeclient tries to imitate, are handlers set on
specific event. They are expected to return results to the caller.
2024-08-20 15:33:48 +04:00
Nodari Chkuaselidze
81821ff17a
wallet: add filterUpdated to wallet.add, wdb.addTX and wdb.addBlock.
2024-08-20 15:33:47 +04:00
Nodari Chkuaselidze
a405ea9009
wdb: Add sanity checks to the wdb.addBlock.
...
wdb/client: fix standalone ChainEntry deserialization and add prevBlock.
2024-08-20 15:33:45 +04:00
Nodari Chkuaselidze
0632bb5027
wdb: add reorg guard in disconnect.
2024-08-20 15:33:43 +04:00
Nodari Chkuaselidze
8affe9570d
node: add fullLock option to the interactive rescan.
...
Interactive rescan by default does per block scan lock. This enables
parallel rescans, as well as chain sync while rescan is in progress. But
in specific cases, it may be more beneficial to stop the node from
syncing while the rescan is in progress.
2024-08-20 15:33:42 +04:00
Nodari Chkuaselidze
dcafb2046b
wallet: WalletNode now emits 'open' and 'close' events.
...
wallet-node: fix standalone wallet get entry requests when entry is not found on
chain.
client: expose Wallet class.
2024-08-20 15:33:41 +04:00
Nodari Chkuaselidze
106fbfaacf
wdb: rename timeFn to nowFn.
2024-06-26 17:26:55 +04:00
Nodari Chkuaselidze
5c63ffa1d7
txdb: add and pass nowFn from wdb.
2024-06-26 16:19:21 +04:00
Nodari Chkuaselidze
501f529504
wallet-client: add options to the getNames.
2024-05-31 13:38:19 +04:00
Nodari Chkuaselidze
9fd8fa0500
node-client: Add methods for the HTTP endpoints.
...
Add getMempoolRejectionFilter and checkMempoolRejectionFilter methods to client.
Add getFee, alternative to websocket estimateFee call.
2024-05-31 13:38:17 +04:00
Nodari Chkuaselidze
4fa9c79ebf
wallet: set icannlockup to true for wallets.
2024-01-16 15:41:21 +04:00
Nodari Chkuaselidze
6102ad5200
test: refactor http-test to relevant files.
2023-12-15 18:20:37 +04:00
Nodari Chkuaselidze
f835fd0257
chaindb: scan block check for null instead of falsy.
...
0 is falsy, so this would fail for the value of 0.
2023-12-13 12:32:43 +04:00
Nodari Chkuaselidze
a694ad759a
chain: rename scanAction to scanActions.
2023-12-13 12:32:42 +04:00
Nodari Chkuaselidze
37d52feadd
node: match the scan signatures.
2023-12-13 12:32:41 +04:00
Nodari Chkuaselidze
64c12dbc31
node-http: implement interactive rescan for http.
2023-12-13 12:32:38 +04:00
Nodari Chkuaselidze
27ec4bfa51
chain: add interactive scan.
2023-12-13 12:29:35 +04:00
Nodari Chkuaselidze
9659699d51
tx: rename test to testAndMaybeUpdate.
...
tx: Add .test method that does not update the filter.
2023-12-13 12:29:33 +04:00
Nodari Chkuaselidze
349d203b58
Merge PR #875 from 'nodech/txdb-reorg-open'
2023-12-11 17:50:42 +04:00
Nodari Chkuaselidze
5955e9132d
Merge PR #870 from 'nodech/wallet-test-chainstate'
2023-12-04 14:58:10 +04:00
Nodari Chkuaselidze
79994774de
Merge PR #803 from 'nodech/preload-wallets'
2023-12-04 14:56:11 +04:00
Nodari Chkuaselidze
3b03d7e2e3
wallet: properly resolve wallet ids.
2023-12-04 13:03:58 +04:00
Nodari Chkuaselidze
aac7fa7b3d
Merge PR #869 from 'nodech/chain-info'
2023-12-04 12:58:02 +04:00
Nodari Chkuaselidze
96820a03a5
lint: update to es2020. Use latest bslint
2023-11-28 15:18:14 +04:00
Nodari Chkuaselidze
a1c72c2d68
wallet: watch open earlier.
...
This allows to track double OPEN issue from the outside of the wallet.
Should reduce number of stale OPEN txs.
2023-11-24 15:32:06 +04:00
Nodari Chkuaselidze
c74d528f3a
txdb: avoid migration and remove tx after checking height.
2023-11-24 09:27:55 +04:00
Nodari Chkuaselidze
c00e365a0e
txdb: cover open reorg.
2023-11-23 14:23:24 +04:00