Jason Rhinelander
1f3d50b425
Remove wallet mixin code
...
Since you can't change it there's no point in having a default, or in
worrying about "adjusting" the passed in value.
2020-02-19 12:52:28 -04:00
Doyle
e3a6f20f85
Code review
...
- constexpr functions in common/loki.h for inlining
- move hex functions out from common/loki.h to common/hex.h
- use and apply prev_txid on LNS TX's to all LNS types (for updating in the future)
- add lns burn type, for custom burn amounts
- accept and validate lokinet addresses via base32z
- return lokinet addresses in RPC LNS calls via base32z
- updated Messenger references to Session
- update documentation to note that only Session LNS entries are allowed currently
- remove raw c-string interface from LNS db
- update multi-SQL queries into single SQL queries
- remove tx estimation backlog in anticipation for 2 priorities only, blink + unimportant
2020-02-13 11:07:47 +11:00
Doyle
075c97b27f
Expose the wallet public ed25519 key in on_get_address and address cmd
2020-02-13 11:07:46 +11:00
Doyle
632f6a6e83
Rebase fix, blink_lns -> blink, v15 and reserve types for protocol
2020-02-13 11:07:46 +11:00
Doyle
0b3df6c5ad
Remove owner signature from loki name service tx extra
...
We want to allow people to buy LNS entries on behalf of other users. If
this is the case we don't need signatures to verify that the purchaser
knows the secret key. What we actually want in this scenario is that,
there's a LNS entry, and people can voluntarily pay to renew/buy that.
2020-02-13 11:07:46 +11:00
Doyle
f17ed52182
Add buy lns rpc wallet, and wallet cli commands
2020-02-13 11:07:46 +11:00
Alexander Blair
756f06cd83
Merge pull request #6102
...
b328de6b
wallet_rpc_server: add tx weight in transfer commands responses (moneromooo-monero)
2020-02-06 00:32:47 -08:00
Alexander Blair
3b224bb99d
Merge pull request #6069
...
d64e5aa7
wallet: allow message sign/verify for subaddresses (moneromooo-monero)
2020-02-06 00:29:32 -08:00
moneromooo-monero
dd8c6b1703
wallet: do not split integrated addresses in address book api
2020-01-26 00:03:53 +00:00
Alexander Blair
beb815a81d
Merge pull request #6144
...
0e0351c4
wallet_rpc_server: add count parameter to create_address (Matt Smith)
2020-01-16 17:51:25 -08:00
Doyle
621e1a0824
Update blink priority to 5
2020-01-16 10:29:36 +11:00
Tadeas Moravec
096a9dbdf9
Wallet: Distingush amounts for a single subaddress
...
Adding a new `amounts` field ot the output of `get_transfers` RPC
method. This field specifies individual payments made to a single
subaddress in a single transaction, e.g., made by this command:
transfer <addr1> <amount1> <addr1> <amount2>
2020-01-11 11:48:27 +01:00
moneromooo-monero
d64e5aa719
wallet: allow message sign/verify for subaddresses
2019-12-31 08:44:36 +00:00
Jason Rhinelander
292a3b11d0
Blink RPC updates & fixes
...
Blink txes were not being properly passed in/out of the RPC wallet.
This adds the necessary bits both to submit a blink and to get a blink
submission status back from the daemon.
2019-12-26 12:29:05 -04:00
stoffu
ae84ec90c8
wallet-cli/rpc: allow sweep_all to use outputs in all subaddresses within an account
2019-12-16 21:10:11 +09:00
Matt Smith
0e0351c456
wallet_rpc_server: add count parameter to create_address
2019-11-22 12:00:01 +00:00
moneromooo-monero
0de8a0d37d
wallet_rpc_server: new estimate_tx_size_and_weight RPC
2019-11-06 15:18:21 +00:00
moneromooo-monero
b328de6b7a
wallet_rpc_server: add tx weight in transfer commands responses
2019-11-05 14:25:06 +00:00
Doyle
d1901c1248
Add immutable_height and hash field to get_height/get_info calls ( #917 )
2019-10-30 14:50:27 +11:00
Doyle
7acd639e41
Merge transfer_view and transfer_entry together
2019-10-03 12:12:25 +10:00
Doyle
dded026a3a
Display checkpointedness of transactions in wallet
2019-10-02 17:48:24 +10:00
moneromooo-monero
cc4be4fa15
wallet: add edit_address_book RPC
2019-09-17 11:38:23 +00:00
luigi1111
d00e511cc6
Merge pull request #5871
...
3407743
wallet_rpc_server: add locked field to get_transfers/get_{bulk_,}_payments (moneromooo-monero)
2019-09-14 13:14:22 -05:00
sachaaaaa
b54f492199
New wallet rpc command `get_transfers_csv` ( #749 )
...
* new wallet rpc command `get_transfers_csv`
* Refactor get_transfers: hoist down to wallet2 and use it in simplewallet and wallet_rpc
2019-09-13 12:54:26 +10:00
luigi1111
9325501762
Merge pull request #5855
...
2ec455d
wallet: fix mismatch between two concepts of 'balance' (moneromooo-monero)
2019-09-08 20:04:00 -05:00
moneromooo-monero
2ec455df1f
wallet: fix mismatch between two concepts of "balance"
...
One considers the blockchain, while the other considers the
blockchain and some recent actions, such as a recently created
transaction which spend some outputs, but isn't yet mined.
Typically, the "balance" command wants the latter, to reflect
the recent action, but things like proving ownership wants
the former.
This fixes a crash in get_reserve_proof, where a preliminary
check and the main code used two concepts of "balance".
2019-09-05 11:19:34 +00:00
moneromooo-monero
340774341f
wallet_rpc_server: add locked field to get_transfers/get_{bulk_,}_payments
...
Much easier to work with than the raw unlock_time field
2019-09-05 10:54:57 +00:00
moneromooo-monero
33e91e1a1e
wallet, rpc: add a release field to get_version
...
It does not leak much since you can make a fair guess by RPC
version already, and some people want to avoid non release
clients when using third parties' nodes (because they'd never
lie about it)
2019-08-26 19:28:25 +00:00
Doyle
40be6e58c9
Add missing LOKI_RPC_DOC_INTROSPECT annotations ( #776 )
2019-08-07 10:41:55 +10:00
Doyle
d4bc8106e1
Merge commit '581994b' into LokiMergeUpstream
2019-05-02 14:15:02 +10:00
Doyle
c5ff05728b
Merge commit '9b10072' into LokiMergeUpstream
2019-05-02 13:46:10 +10:00
Doyle
d2d5b74b03
Merge commit '4609b36' into LokiMergeUpstream
2019-05-02 13:22:33 +10:00
Doyle
d1ced241e5
Merge commit '8deee24' into LokiMergeUpstream
2019-05-02 12:12:25 +10:00
Doyle
277586417a
Merge commit '96696d1' into LokiMergeUpstream
2019-05-02 11:13:33 +10:00
moneromooo-monero
31a9aa83af
wallet_rpc_server: add block_height and frozen to incoming_transfers
2019-04-20 08:44:09 +00:00
moneromooo-monero
84047cb729
wallet_rpc_server: add unlocked field to incoming_transfers output
2019-04-17 15:30:49 +00:00
moneromooo-monero
294e858d57
wallet_rpc_server: add set_log_level/set_log_categories
2019-04-16 20:50:15 +00:00
Riccardo Spagni
35b3d754e8
Merge pull request #5429
...
bcb86ae6
wallet_rpc_server: fix inconsistent wallet caches on reload (moneromooo-monero)
2019-04-16 22:39:37 +02:00
Riccardo Spagni
96696d1e75
Merge pull request #5418
...
374f388d
wallet_rpc_server: add a all flag to export_outputs (moneromooo-monero)
2019-04-16 22:37:52 +02:00
moneromooo-monero
bcb86ae651
wallet_rpc_server: fix inconsistent wallet caches on reload
...
Loading the same wallet as the currently loaded one would autosave
the current state after loading it, leading to some kind of rollback
effect. We now save before loading to avoid this. If loading fails,
it means the current wallet will be saved (or maybe not, depending
on where the failure occurs: most of the sanity checks occur before
saving). There is a new autosave_current flag to open/restore calls
so the (enabled by default) autosave can be skipped.
2019-04-12 13:40:42 +00:00
Doyle
721fd318d5
Merge commit '5db72d1' into LokiMergeUpstream
2019-04-12 18:41:07 +10:00
Doyle
e92357478c
Merge commit '7c85f3b' into LokiMergeUpstream
2019-04-12 18:21:56 +10:00
Doyle
ba0cd9afcf
Merge commit '7e5651c' into LokiMergeUpstream
2019-04-12 18:12:04 +10:00
Doyle
6c70b007c9
Merge commit '3b1fa54' into LokiMergeUpstream
2019-04-12 17:47:47 +10:00
Doyle
403b6f6df8
Merge commit '30a3a73' into LokiMergeUpstream
2019-04-12 17:22:42 +10:00
Doyle
9f2e091280
Merge commit 'e4b049d' into LokiMergeUpstream
2019-04-12 16:45:24 +10:00
Doyle
2fe5ddb2ca
Merge commit 'f2f725d8db3535055d1c7e102c0bba75b22a3409' into LokiMergeUpstream
2019-04-12 15:23:01 +10:00
Doyle
5e2022c895
Merge commit '6d5849d9bbb42ff6cedc6d5912d97f531ed3fc5f' into LokiMergeUpstream
2019-04-12 14:49:37 +10:00
Doyle
892469ded1
Update monero copyright to 2019 pre-emptively to make merge simpler
2019-04-12 14:36:43 +10:00
Riccardo Spagni
5c02316598
Merge pull request #5382
...
c12b43cb
wallet: add number of blocks required for the balance to fully unlock (moneromooo-monero)
3f1e9e84
wallet2: set confirmations to 0 for pool txes in proofs (moneromooo-monero)
36c037ec
wallet_rpc_server: error out on getting the spend key from a hot wallet (moneromooo-monero)
cd1eaff2
wallet_rpc_server: always fill out subaddr_indices in get_transfers (moneromooo-monero)
2019-04-11 13:03:55 +02:00
moneromooo-monero
374f388de2
wallet_rpc_server: add a all flag to export_outputs
...
if we don't want to export new outputs only
2019-04-10 10:37:34 +00:00
Doyle
9e03bd668a
Fix incomplete struct zero init merge
2019-04-10 16:17:08 +10:00
Doyle
8130b24e44
Merge commit '5fb4a9719cb799ae59e04cda0a3d760be969d7e8' into LokiMergeUpstream
2019-04-10 16:00:32 +10:00
Doyle
cdd8243d48
Merge commit 'c83e80c2634f2c14fbd9fe4dbfb6a0abc2eb20ea' into LokiMergeUpstream
2019-04-10 15:36:02 +10:00
Sonofotis
6f498bd2cd
Comments for rpc-doc-generator. ( #544 )
...
* Comments for rpc-doc-generator
* Update wallet_rpc_server_commands_defs.h
2019-04-08 13:19:55 +10:00
Lee Clagett
a3b0284837
Change SSL certificate file list to OpenSSL builtin load_verify_location
...
Specifying SSL certificates for peer verification does an exact match,
making it a not-so-obvious alias for the fingerprints option. This
changes the checks to OpenSSL which loads concatenated certificate(s)
from a single file and does a certificate-authority (chain of trust)
check instead. There is no drop in security - a compromised exact match
fingerprint has the same worse case failure. There is increased security
in allowing separate long-term CA key and short-term SSL server keys.
This also removes loading of the system-default CA files if a custom
CA file or certificate fingerprint is specified.
2019-04-06 23:47:06 -04:00
Riccardo Spagni
7e5651c346
Merge pull request #5345
...
678262ab
wallet_rpc_server: allow english/local language names in create_wallet (moneromooo-monero)
2019-04-06 15:59:10 +02:00
moneromooo-monero
c12b43cb5a
wallet: add number of blocks required for the balance to fully unlock
2019-04-01 19:31:19 +00:00
moneromooo-monero
67aa4adcfc
wallet_rpc_server: add a set_daemon RPC
2019-04-01 16:03:25 +00:00
Riccardo Spagni
3b1fa543ca
Merge pull request #5329
...
023f2c77
wallet_rpc_server: remove mixin from transfer RPCs (moneromooo-monero)
2019-04-01 17:32:20 +02:00
Riccardo Spagni
94880540e7
Merge pull request #5302
...
23fb056a
wallet_rpc_server: new auto_refresh RPC (moneromooo-monero)
2019-04-01 17:25:53 +02:00
Doyle
a5a270eed4
Add missing loki.h header for LOKI_RPC_DOC_INTROSPECT define ( #530 )
2019-03-28 17:07:28 +11:00
Sonofotis
1ddd13280d
Add comments and clean code for loki-rpc-doc-generator. ( #499 )
...
* Start adding documentation for auto-generating documentation
* Add annotation for RPC doc generation #define
* Add examples to some service node RPC commands
* Start adding documentation for auto-generating documentation
* Start adding comments for RPC doc generation
* Fin commenting for loki-rpc-docs-generator
* Fix amount typo
2019-03-28 11:51:58 +11:00
moneromooo-monero
678262ab65
wallet_rpc_server: allow english/local language names in create_wallet
...
and return both in get_languages
2019-03-25 12:52:43 +00:00
Riccardo Spagni
4176a399de
Merge pull request #5282
...
f962449d
wallet_rpc_server: include out subaddress indices in get_transfers (moneromooo-monero)
2019-03-24 19:37:07 +02:00
moneromooo-monero
023f2c7747
wallet_rpc_server: remove mixin from transfer RPCs
...
it's been a while, only use ring_size now
2019-03-21 14:47:39 +00:00
Riccardo Spagni
695d51a481
Merge pull request #5203
...
8b514645
add multisig tx sets to describe_transfer rpc endpoint (spoke0)
2019-03-19 10:59:42 +02:00
Riccardo Spagni
6d5849d9bb
Merge pull request #5165
...
36451697
Simplify RPC endpoint, emoving second RPC endpoint generate_from_view_key (Joel)
c17c8188
Remove code duplication (Joel)
acb14c10
Add generate_from_view_key RPC method (Joel)
7dd7a3b7
Add generate_from_keys RPC method (Joel)
2019-03-17 17:51:24 +02:00
moneromooo-monero
23fb056a72
wallet_rpc_server: new auto_refresh RPC
...
It can enable/disable auto refresh, and set auto refresh period
2019-03-17 10:33:51 +00:00
Doyle
0b6a7706ac
Add rpc call for request stake unlock ( #490 )
2019-03-14 07:26:38 +00:00
Doyle
b86e1ca32f
Refactor register service node into wallet2 to facilitate RPC call ( #488 )
...
* Refactor register service node into wallet2 to facilitate RPC call
* Handle command if prefixed with register_service_node
2019-03-14 07:16:32 +00:00
moneromooo-monero
f962449d46
wallet_rpc_server: include out subaddress indices in get_transfers
2019-03-13 14:14:15 +00:00
binaryFate
1f2930ce0b
Update 2019 copyright
2019-03-05 22:05:34 +01:00
spoke0
8b51464516
add multisig tx sets to describe_transfer rpc endpoint
2019-03-05 14:42:43 +01:00
moneromooo-monero
e396146aee
default initialize rpc structures
2019-03-04 22:38:03 +00:00
Riccardo Spagni
2f7108f9d7
Merge pull request #5156
...
3d2772a0
wallet-rpc: get balance for all accounts and subaddresses (stoffu)
2019-03-04 21:33:07 +02:00
Riccardo Spagni
6984a4d69c
Merge pull request #5154
...
8a1ff079
wallet-rpc: get transfers for all accounts and subaddresses (Jethro Grassie)
2019-03-04 21:32:42 +02:00
Joel
c17c81881b
Remove code duplication
2019-02-21 15:49:32 +01:00
Doyle
cf1cb9f124
Fix for non-merged upstream changes
2019-02-21 11:10:09 +11:00
moneromooo-monero
788f8c0650
wallet_rpc_server: add a validate_address RPC
2019-02-21 11:10:09 +11:00
Doyle
a698dec60b
Add staking wallet rpc command ( #429 )
2019-02-21 10:53:25 +11:00
stoffu
3d2772a0d6
wallet-rpc: get balance for all accounts and subaddresses
2019-02-20 14:23:36 +09:00
Joel
acb14c1079
Add generate_from_view_key RPC method
2019-02-19 14:30:35 +01:00
Joel
7dd7a3b791
Add generate_from_keys RPC method
2019-02-19 14:13:01 +01:00
Jethro Grassie
8a1ff079ea
wallet-rpc: get transfers for all accounts and subaddresses
2019-02-17 22:21:45 -05:00
moneromooo-monero
5c81a9f1a1
wallet_rpc_server: add a validate_address RPC
2019-02-14 21:01:11 +00:00
doy-lee
06cbe13f2f
Merge commit 'e59813c' into LokiMergeUpstream
2019-01-18 11:27:03 +11:00
moneromooo-monero
d7354c7864
wallet_rpc_server: add all field to export_key_images
...
To use if you want all key images, not just the ones for
recently imported outputs
2018-12-24 13:00:29 +00:00
doy-lee
e36737a525
Merge commit 'd0c4123' into LokiMergeUpstream
2018-11-22 13:27:45 +11:00
Riccardo Spagni
dd42b642ee
Merge pull request #4746
...
f3019efe
wallet-rpc: add on_restore_deterministic RPC call. (Hasan Pekdemir)
2018-11-14 21:31:08 +02:00
doy-lee
8f03bb3fd7
Merge commit '8534f71' into LokiMergeUpstream
2018-11-12 14:55:42 +11:00
Riccardo Spagni
164ba3ef1c
Merge pull request #4731
...
f26ce08c
wallet: add a non destructive blockchain rescan (moneromooo-monero)
2018-11-06 21:30:12 +02:00
moneromooo-monero
8d71b2b1b3
wallet2: only export necessary outputs and key images
...
and disable annoying test that requires ridiculous amounts
of skullduggery every time some format changes
2018-11-04 22:27:01 +00:00
moneromooo-monero
f26ce08c8a
wallet: add a non destructive blockchain rescan
2018-11-03 15:04:37 +00:00
doy-lee
997c0a9991
Merge commit '8f9c381' into LokiMergeUpstream
2018-10-31 17:26:00 +11:00
Hasan Pekdemir
f3019efe1b
wallet-rpc: add on_restore_deterministic RPC call.
2018-10-29 18:19:42 +01:00
Riccardo Spagni
169e6e9074
Merge pull request #4552
...
67e76aa0
wallet_rpc_server: optionally return tx keys in sign_transfer (moneromooo-monero)
2018-10-26 22:32:34 +02:00
moneromooo-monero
67e76aa06c
wallet_rpc_server: optionally return tx keys in sign_transfer
2018-10-10 15:55:35 +00:00
doy-lee
339f96b0cc
Merge commit 'c23b6f8' into LokiMergeUpstreamUntil_20181010_77e1ebf
2018-10-10 15:07:16 +11:00
doy-lee
cf32598ec5
Merge commit 'cd8c7f6' into LokiMergeUpstreamUntil_20181010_77e1ebf
2018-10-10 14:38:40 +11:00