diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/gpg_keys/jeffro256.asc | 42 | ||||
-rwxr-xr-x | utils/health/build-scripts/clang-build-time-analyzer-clone-build.sh | 2 | ||||
-rwxr-xr-x | utils/health/clang-build-time-analyzer-run.sh | 2 | ||||
-rwxr-xr-x | utils/health/clang-include-what-you-use-run.sh | 2 | ||||
-rwxr-xr-x | utils/health/clang-tidy-run-cc.sh | 2 | ||||
-rwxr-xr-x | utils/health/clang-tidy-run-common.sh | 2 | ||||
-rwxr-xr-x | utils/health/clang-tidy-run-cpp.sh | 2 | ||||
-rwxr-xr-x | utils/health/valgrind-tests.sh | 2 | ||||
-rw-r--r-- | utils/python-rpc/framework/daemon.py | 2 | ||||
-rw-r--r-- | utils/python-rpc/framework/rpc.py | 2 | ||||
-rw-r--r-- | utils/python-rpc/framework/wallet.py | 58 | ||||
-rw-r--r-- | utils/python-rpc/framework/zmq.py | 2 |
12 files changed, 88 insertions, 32 deletions
diff --git a/utils/gpg_keys/jeffro256.asc b/utils/gpg_keys/jeffro256.asc index b99e8dbee..f9e83004a 100644 --- a/utils/gpg_keys/jeffro256.asc +++ b/utils/gpg_keys/jeffro256.asc @@ -9,16 +9,16 @@ XU1C9X7Ld9o+ftzzJlSAsKgrUAt8tx8570U90mTojA6Ed26uswqkn4DIZXwPQNW4 1e7S1flq4250P0DSs62wKdLEjev1MVgxMU3uh1FyuCKLCNY6y46tjCS3AYGKYchF QvABmrwVHjrRjnXrPevqwcp+pDGX1w2lm3jsiB94K8MRKzsQSuxy/r6NgSd/uOY7 IQjFRep5xaln1w8AEQEAAbQiamVmZnJvMjU2IDxqZWZmcm8yNTZAdHV0YW5vdGEu -Y29tPokB1AQTAQoAPhYhBC6qyTDmuQywGcAegG95eXpuOSRCBQJieG5LAhsDBQkD -w0FFBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEG95eXpuOSRCrK0L/AoCFk3/ -qES8yraiSZgKuvqgfejZGua93ebaZ1LjNDq3ns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d9FFmmb8ES1g5BVlVv3d5IZOwMvPa9xstZZG+ -ZeTE2atjLCrJcplAywUoeF0sGp0FmOfgzDY= -=zEHW +KGBneEd3ABEBAAGJAbwEGAEKACYCGwwWIQQuqskw5rkMsBnAHoBveXl6bjkkQgUC +ZkOqBgUJBaxvOwAKCRBveXl6bjkkQt5PDACPD1mZZ3itmmfgGFkJBgK6Op+rIcF0 +10h94BDmxqmh2TBX3uqPYfAwGJ3z++vNxvrAIFC1KpJ5P8cMVlNer27vaPJts8+g +EPRM7sNyDDs9ejeWxzkrhmYV2XqoUQrsam7PLjYt1I+ubx9cDrhe0/zynfjnMNc5 +Q2TER2NeI+yA2EtcKjXXv54s6a5eRqzH5CuV1Dndwlfx0P4eOWpRhLaIPq9GFLYk +kfe/BEseSaUX2UxRK9psZpdweMzcx28HY5yvKdZTkYnTv7Fm2a6e2MbPcHYn8D0U +M77a6kN9z0fqVS8KPiY8vx01gU4M7FBkORp1wm/rGoJQhtx+OxvXaiBG92/UtaIS +SnNDWynhhSkdstVxE09AuZC1LMcVahAJJ7uikII+frubF2Mjm1rXgBEe9UMaEJVy +2atN+JaWg8BQRs3rPorlzMBijF6BUn9ZQHwectAGzz6V7rLm964E7O72MOodGoAd +UWiER2OabVtGaD05n8+T+kjFGBwur1jhbjs= +=Bo0L -----END PGP PUBLIC KEY BLOCK----- diff --git a/utils/health/build-scripts/clang-build-time-analyzer-clone-build.sh b/utils/health/build-scripts/clang-build-time-analyzer-clone-build.sh index f218ce5a5..3b4902b24 100755 --- a/utils/health/build-scripts/clang-build-time-analyzer-clone-build.sh +++ b/utils/health/build-scripts/clang-build-time-analyzer-clone-build.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -# Copyright (c) 2014-2023, The Monero Project +# Copyright (c) 2014-2024, The Monero Project # # All rights reserved. # diff --git a/utils/health/clang-build-time-analyzer-run.sh b/utils/health/clang-build-time-analyzer-run.sh index cbfb00f65..9d37a353b 100755 --- a/utils/health/clang-build-time-analyzer-run.sh +++ b/utils/health/clang-build-time-analyzer-run.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -# Copyright (c) 2014-2023, The Monero Project +# Copyright (c) 2014-2024, The Monero Project # # All rights reserved. # diff --git a/utils/health/clang-include-what-you-use-run.sh b/utils/health/clang-include-what-you-use-run.sh index aee10b9a9..5ea19737c 100755 --- a/utils/health/clang-include-what-you-use-run.sh +++ b/utils/health/clang-include-what-you-use-run.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -# Copyright (c) 2014-2023, The Monero Project +# Copyright (c) 2014-2024, The Monero Project # # All rights reserved. # diff --git a/utils/health/clang-tidy-run-cc.sh b/utils/health/clang-tidy-run-cc.sh index b43f575b2..e724d5c0f 100755 --- a/utils/health/clang-tidy-run-cc.sh +++ b/utils/health/clang-tidy-run-cc.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -# Copyright (c) 2014-2023, The Monero Project +# Copyright (c) 2014-2024, The Monero Project # # All rights reserved. # diff --git a/utils/health/clang-tidy-run-common.sh b/utils/health/clang-tidy-run-common.sh index fc34b7fe9..e7724843b 100755 --- a/utils/health/clang-tidy-run-common.sh +++ b/utils/health/clang-tidy-run-common.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -# Copyright (c) 2014-2023, The Monero Project +# Copyright (c) 2014-2024, The Monero Project # # All rights reserved. # diff --git a/utils/health/clang-tidy-run-cpp.sh b/utils/health/clang-tidy-run-cpp.sh index e8df05958..615a2abc6 100755 --- a/utils/health/clang-tidy-run-cpp.sh +++ b/utils/health/clang-tidy-run-cpp.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -# Copyright (c) 2014-2023, The Monero Project +# Copyright (c) 2014-2024, The Monero Project # # All rights reserved. # diff --git a/utils/health/valgrind-tests.sh b/utils/health/valgrind-tests.sh index 3248c8b91..ebfc32135 100755 --- a/utils/health/valgrind-tests.sh +++ b/utils/health/valgrind-tests.sh @@ -1,6 +1,6 @@ #!/bin/bash -e -# Copyright (c) 2014-2023, The Monero Project +# Copyright (c) 2014-2024, The Monero Project # # All rights reserved. # diff --git a/utils/python-rpc/framework/daemon.py b/utils/python-rpc/framework/daemon.py index 4ac24332d..917e68c8e 100644 --- a/utils/python-rpc/framework/daemon.py +++ b/utils/python-rpc/framework/daemon.py @@ -1,4 +1,4 @@ -# Copyright (c) 2018-2023, The Monero Project +# Copyright (c) 2018-2024, The Monero Project # # All rights reserved. diff --git a/utils/python-rpc/framework/rpc.py b/utils/python-rpc/framework/rpc.py index 567bdd78d..9eac53416 100644 --- a/utils/python-rpc/framework/rpc.py +++ b/utils/python-rpc/framework/rpc.py @@ -1,4 +1,4 @@ -# Copyright (c) 2018-2023, The Monero Project +# Copyright (c) 2018-2024, The Monero Project # # All rights reserved. diff --git a/utils/python-rpc/framework/wallet.py b/utils/python-rpc/framework/wallet.py index 8fa3eaafd..0753b4fd4 100644 --- a/utils/python-rpc/framework/wallet.py +++ b/utils/python-rpc/framework/wallet.py @@ -1,4 +1,4 @@ -# Copyright (c) 2018-2023, The Monero Project +# Copyright (c) 2018-2024, The Monero Project # # All rights reserved. @@ -540,6 +540,20 @@ class Wallet(object): } return self.rpc.send_json_rpc_request(exchange_multisig_keys) + def get_multisig_key_exchange_booster(self, multisig_info, threshold, num_signers, password = ''): + exchange_multisig_keys = { + 'method': 'get_multisig_key_exchange_booster', + 'params' : { + 'multisig_info': multisig_info, + 'threshold': threshold, + 'num_signers': num_signers, + 'password': password, + }, + 'jsonrpc': '2.0', + 'id': '0' + } + return self.rpc.send_json_rpc_request(get_multisig_key_exchange_booster) + def export_multisig_info(self): export_multisig_info = { 'method': 'export_multisig_info', @@ -1139,3 +1153,45 @@ class Wallet(object): 'id': '0' } return self.rpc.send_json_rpc_request(frozen) + + class BackgroundSyncOptions(object): + def __init__(self): + self.off = 'off' + self.reuse_password = 'reuse-wallet-password' + self.custom_password = 'custom-background-password' + background_sync_options = BackgroundSyncOptions() + + def setup_background_sync(self, background_sync_type = background_sync_options.off, wallet_password = '', background_cache_password = ''): + setup_background_sync = { + 'method': 'setup_background_sync', + 'jsonrpc': '2.0', + 'params' : { + 'background_sync_type': background_sync_type, + 'wallet_password': wallet_password, + 'background_cache_password': background_cache_password, + }, + 'id': '0' + } + return self.rpc.send_json_rpc_request(setup_background_sync) + + def start_background_sync(self): + start_background_sync = { + 'method': 'start_background_sync', + 'jsonrpc': '2.0', + 'params' : {}, + 'id': '0' + } + return self.rpc.send_json_rpc_request(start_background_sync) + + def stop_background_sync(self, wallet_password = '', seed = '', seed_offset = ''): + stop_background_sync = { + 'method': 'stop_background_sync', + 'jsonrpc': '2.0', + 'params' : { + 'wallet_password': wallet_password, + 'seed': seed, + 'seed_offset': seed_offset, + }, + 'id': '0' + } + return self.rpc.send_json_rpc_request(stop_background_sync) diff --git a/utils/python-rpc/framework/zmq.py b/utils/python-rpc/framework/zmq.py index 99d7be332..66adf35af 100644 --- a/utils/python-rpc/framework/zmq.py +++ b/utils/python-rpc/framework/zmq.py @@ -1,4 +1,4 @@ -# Copyright (c) 2018-2023, The Monero Project +# Copyright (c) 2018-2024, The Monero Project # # All rights reserved. |