Commit Graph

2287 Commits

Author SHA1 Message Date
moneromooo-monero f626f0a412
wallet2: do not commit transactions more than once
Fixes #8793
2023-05-01 23:09:59 +03:00
moneromooo-monero 2a8a05af56
wallet_rpc_server: allow creating more than 64 addresses at once
it's too low a limit (at least one person mentioned having to
call create_address in a loop due to it)
2023-05-01 23:05:59 +03:00
Crypto City bb88fdfcdd
wallet2: add on_reorg callback 2023-05-01 23:04:08 +03:00
Crypto City ed71a89138
wallet2: fix outdated wallet check
it was mistaking the number of forks in the fork table for
the last fork, and assuming the table was including every
single fork
2023-04-15 12:54:30 +03:00
wowario 215fccb71c
Fix Offline transaction signing 2023-03-17 04:05:55 +03:00
wowario 0a6465ebcc
revert estimate_fee requires new bp+ parameter 2023-03-16 20:32:17 +03:00
wowario a8eb29dbe7
revert sanity check 2023-02-27 13:16:08 +03:00
wowario 6c97d87295
remove warning about background mining 2023-02-25 12:11:17 +03:00
wowario 79a4abdc18
show wallet info 2023-02-25 12:11:17 +03:00
hinto-janaiyo 864255d783
simplewallet/wallet2: set option - show-detailed-prompt 2023-02-25 12:11:16 +03:00
thotbot e84d5ba8c0
Misc. network related
- Add interface for bytes sent/received
- Allow wallet refresh while daemon is not synchronized
- emit success boolean for refreshed()
- don't call refreshThreadFunc (we don't need it)
- lower rpc timeout from 3m30s (?!) to 10 seconds
2023-02-24 11:31:19 +03:00
thotbot 200586592c
Import transaction 2023-02-24 11:31:04 +03:00
dsc b2d752b298
estimate_fee requires new bp+ parameter 2023-02-24 11:30:50 +03:00
thotbot 3d25c90053
Skip unneeded blocks in fast refresh 2023-02-24 11:30:35 +03:00
thotbot fd18ad1e60
subaddressIndex() 2023-02-24 11:30:22 +03:00
thotbot d2a170f6e4
Print wallet cache 2023-02-24 11:30:10 +03:00
thotbot 60ff2f668e
Misc. wallet API and wallet2 changes 2023-02-24 11:29:55 +03:00
thotbot 45a63f10ba
Coins 2023-02-24 11:29:45 +03:00
thotbot a21f06b933
Offline transaction signing 2023-02-24 11:29:34 +03:00
wowario 1080a90d23
uri remainder 2023-02-24 11:29:12 +03:00
wowario dfa32f3330
rename ringdb-dir 2023-02-24 11:28:18 +03:00
wowario a636325df3
support old BP 2023-02-24 11:27:46 +03:00
wowario a2013707e2
bump unlock time to 288 blks 2023-02-24 11:24:20 +03:00
wowario 5c42087ec3
revert Preserve commitment format inside transactions #8277 2023-02-24 11:23:01 +03:00
wowario 773072bcd7
adjust approx_blockchain_height 2023-02-24 11:22:12 +03:00
wowario 540548a0b7
config wallet2 settings 2023-02-24 11:19:09 +03:00
wowario d4675d8527
add forks and checkpoints 2023-02-24 11:12:49 +03:00
wowario 3817d559d6
bump ring size to 22 2023-02-24 11:10:37 +03:00
wowario ddef0b1b8b
wownero skin pack 2023-02-24 11:09:41 +03:00
SChernykh f698f2b708 Refactored rx-slow-hash.c
- Straight-forward call interface: `void rx_slow_hash(const char *seedhash, const void *data, size_t length, char *result_hash)`
- Consensus chain seed hash is now updated by calling `rx_set_main_seedhash` whenever a block is added/removed or a reorg happens
- `rx_slow_hash` will compute correct hash no matter if `rx_set_main_seedhash` was called or not (the only difference is performance)
- New environment variable `MONERO_RANDOMX_FULL_MEM` to force use the full dataset for PoW verification (faster block verification)
- When dataset is used for PoW verification, dataset updates don't stall other threads (verification is done in light mode then)
- When mining is running, PoW checks now also use dataset for faster verification
2022-12-14 07:21:00 +01:00
luigi1111 cce309512c
Merge pull request #8615
85c9fe5 wallet2: fix create view-only wallet from existing wallet (j-berman)
2022-12-01 01:06:16 -06:00
j-berman 85c9fe515d wallet2: fix create view-only wallet from existing wallet 2022-10-18 13:47:50 -05:00
selsta 401dda5f10
wallet_api: take priority into account when estimating fee 2022-10-13 03:36:51 +02:00
luigi1111 0bef4265ac
Merge pull request #8585
5ffa31c wallet2: fail to establish daemon cxn == 'Disconnected' cxn status (j-berman)
2022-09-26 14:57:58 -05:00
luigi1111 a7b0c93c7d
Merge pull request #8582
1cd21bf add an option to force-update multisig key exchange under some circumstances (koe)
2022-09-26 14:55:28 -05:00
j-berman 5ffa31c48e wallet2: fail to establish daemon cxn == "Disconnected" cxn status 2022-09-21 20:12:16 -06:00
koe 1cd21bfba5 add an option to force-update multisig key exchange under some circumstances 2022-09-21 12:51:19 -05:00
SChernykh 6adf03cdc5 Second thread pool for IO 2022-09-20 10:22:12 +02:00
luigi1111 7cbae6ca98
Merge pull request #8545
12e7c41 Merge pull request #5 from j-berman/restore-msig-encrypted-seed (Justin Berman)
848a0c0 Fix segfault restoring encrypted multisig seed (j-berman)
401f5d9 Require user ack multisig is experimental to restore (j-berman)
fc8a5d6 multisig: fix #8537 seed restore (suggestions by @UkoeHB) (j-berman)
2022-09-15 16:25:22 -05:00
j-berman 864a78ee5f wallet2: check wallet compatibility with daemon's hard fork version 2022-09-12 21:23:08 -06:00
luigi1111 af4f97bf66
Merge pull request #8555
e29b2e9 wallet2: ensure imported outputs subaddresses are created (moneromooo-monero)
1d3657a wallet2: better test on whether to allow output import (moneromooo-monero)
0cbf557 allow exporting outputs in chunks (moneromooo-monero)
b03d709 wallet2: fixes for export/import output flow (j-berman)
4b7eb57 wallet2: do not assume imported outputs must be non empty (moneromooo-monero)
5b98beb wallet2: prevent importing outputs in a hot wallet (moneromooo-monero)
0de1571 wallet2: fix missing subaddress indices in 'light' exported outputs (moneromooo-monero)
2022-09-09 12:57:51 -05:00
moneromooo-monero e29b2e9997
wallet2: ensure imported outputs subaddresses are created
reported by j-berman
2022-09-07 06:22:31 +00:00
moneromooo-monero 1d3657afb5
wallet2: better test on whether to allow output import
Being offline is not a good enough heuristic, so we keep track
of whether the wallet ever refreshed from a daemon, which is a
lot better, and probably the best we can do without manual user
designation (which would break existing cold wallet setups till
the user designates those wallets)
2022-09-07 06:22:31 +00:00
moneromooo-monero 0cbf5571d3
allow exporting outputs in chunks
this will make it easier huge wallets to do so without hitting
random limits (eg, max string size in node).
2022-09-07 06:22:07 +00:00
j-berman 625147e577 Fix missing semi-colon in error message
Co-authored-by: woodser <woodser@protonmail.com>
2022-09-06 18:37:25 -06:00
j-berman b03d7091f7
wallet2: fixes for export/import output flow
- only allow offline wallets to import outputs
- don't import empty outputs
- export subaddress indexes when exporting outputs
2022-09-06 17:20:23 -06:00
moneromooo-monero 4b7eb573b2
wallet2: do not assume imported outputs must be non empty 2022-09-06 18:25:48 +00:00
moneromooo-monero 5b98bebad1
wallet2: prevent importing outputs in a hot wallet 2022-09-06 18:25:48 +00:00
moneromooo-monero 0de1571abd
wallet2: fix missing subaddress indices in "light" exported outputs 2022-09-06 18:25:45 +00:00
j-berman fc8a5d68f1 multisig: fix #8537 seed restore (suggestions by @UkoeHB)
- spend secret key is no longer the sum of multisig key shares;
no need to check that is the case upon restore.
- restoring a multisig wallet from multisig info means that the
wallet must have already completed all setup rounds. Upon restore,
set the number of rounds completed accordingly.
2022-09-01 16:25:28 -07:00