beekeeper | Dumping keys with export-keys-wallet now requires --notification-endpoint` flag but it didnt
Like in description, beekeeper use to dump keys without a need to pass `--notification-endpoint`, but now it does. Without a flag: ``` $ ./beekeeper --data-dir=/tmp/test-test --export-keys-wallet '["wallet-4","password-4"]' 3564820ms json_rpc_plugin.cpp:294 initialize ] initializing JSON RPC plugin 3564820ms json_rpc_plugin.cpp:256 add_api_method ] api_name: jsonrpc method_name: get_methods 3564820ms json_rpc_plugin.cpp:256 add_api_method ] api_name: jsonrpc method_name: get_signature 3564820ms webserver_plugin.cpp:702 plugin_initialize ] initializing webserver plugin 3564820ms webserver_plugin.cpp:705 plugin_initialize ] configured with 32 thread pool size 3564820ms webserver_plugin.cpp:708 plugin_initialize ] Compression in webserver is disabled 3564820ms beekeeper_app_base.cpp:46 initialize_program_o ] initializing options 3564820ms beekeeper_app_base.cpp:68 initialize_program_o ] Backtrace on segfault is enabled. 3564820ms beekeeper_app.cpp:72 save_keys ] *****Saving keys into `wallet-4.keys` file***** 3564820ms beekeeper_app.cpp:74 save_keys ] Create a session 3564820ms beekeeper_app_base.cpp:73 initialize_program_o ] 0 exception: unspecified Missing required port number in endpoint string "" {"endpoint_string":""} resolve.cpp:29 resolve_string_to_ip_endpoints (unformatted args: ("endpoint_string",)) {"endpoint_string":""} resolve.cpp:50 resolve_string_to_ip_endpoints 3564820ms beekeeper_app.cpp:273 init ] 0 exception: unspecified Missing required port number in endpoint string "" {"endpoint_string":""} resolve.cpp:29 resolve_string_to_ip_endpoints (unformatted args: ("endpoint_string",)) {"endpoint_string":""} resolve.cpp:50 resolve_string_to_ip_endpoints rethrow {} beekeeper_app_base.cpp:73 initialize_program_options 3564820ms beekeeper_app.cpp:23 ~beekeeper_app ] beekeeper is exiting 3564820ms application.cpp:655 quit ] Kill application 3564820ms application.cpp:657 quit ] Application has been killed 3564820ms application.cpp:420 wait ] Wait for interrupt request 3565020ms application.cpp:422 wait ] Interrupt request has been generated 3565020ms application.cpp:431 wait ] Wait for finishing plugins 3565021ms application.cpp:433 wait ] Plugins have been finished 3565021ms signals_handler.cpp:121 wait4stop ] Clearing signals 3565021ms signals_handler.cpp:123 wait4stop ] Signals have been cleared 3565021ms signals_handler.cpp:125 wait4stop ] Stopping IO service 3565021ms signals_handler.cpp:127 wait4stop ] IO service has been stopped 3565021ms signals_handler.cpp:129 wait4stop ] Joining handler's thread 3565021ms signals_handler.cpp:131 wait4stop ] Handler's thread has been joined 3565021ms beekeeper_app.cpp:25 ~beekeeper_app ] exited cleanly ``` Now it requires it: ``` $ ./beekeeper --data-dir=/tmp/test-test --export-keys-wallet '["wallet-4","password-4"]' --notifications-endpoint 127.0.0.1:-1 3586786ms json_rpc_plugin.cpp:294 initialize ] initializing JSON RPC plugin 3586786ms json_rpc_plugin.cpp:256 add_api_method ] api_name: jsonrpc method_name: get_methods 3586786ms json_rpc_plugin.cpp:256 add_api_method ] api_name: jsonrpc method_name: get_signature 3586786ms webserver_plugin.cpp:702 plugin_initialize ] initializing webserver plugin 3586786ms webserver_plugin.cpp:705 plugin_initialize ] configured with 32 thread pool size 3586786ms webserver_plugin.cpp:708 plugin_initialize ] Compression in webserver is disabled 3586786ms beekeeper_app_base.cpp:46 initialize_program_o ] initializing options 3586787ms notifications.cpp:65 setup ] setting up notification handler for 1 address 3586787ms beekeeper_app_base.cpp:68 initialize_program_o ] Backtrace on segfault is enabled. 3586787ms beekeeper_app.cpp:72 save_keys ] *****Saving keys into `wallet-4.keys` file***** 3586787ms beekeeper_app.cpp:74 save_keys ] Create a session 3586787ms beekeeper_app.cpp:79 operator() ] Unlock the wallet 3586789ms beekeeper_app.cpp:82 operator() ] Get keys 3586790ms beekeeper_app.cpp:92 operator() ] Save keys into `wallet-4.keys` file 3586790ms beekeeper_app.cpp:99 operator() ] Lock the wallet 3586790ms beekeeper_app.cpp:102 operator() ] Close a session 3586790ms beekeeper_app.cpp:139 boost_se_body ] *****Keys have been saved***** ... ``` For reference build 85d5ab7b4: ``` $ ./beekeeper-85d5ab7b4 --version {"version":"85d5ab7b4084a2cb461c060cc2a3a81c04cb960c"} user@host 0 :/tmp/test-test $ ./beekeeper-85d5ab7b4 --data-dir=/tmp/lumpt-test --export-keys-wallet '["wallet-4","password-4"]' 879311ms json_rpc_plugin.cpp:294 initialize ] initializing JSON RPC plugin 879311ms json_rpc_plugin.cpp:256 add_api_method ] api_name: jsonrpc method_name: get_methods 879311ms json_rpc_plugin.cpp:256 add_api_method ] api_name: jsonrpc method_name: get_signature 879311ms webserver_plugin.cpp:702 plugin_initialize ] initializing webserver plugin 879311ms webserver_plugin.cpp:705 plugin_initialize ] configured with 32 thread pool size 879311ms webserver_plugin.cpp:708 plugin_initialize ] Compression in webserver is disabled 879311ms beekeeper_app_base.cpp:47 initialize_program_o ] initializing options 879313ms beekeeper_app_base.cpp:69 initialize_program_o ] Backtrace on segfault is enabled. 879313ms beekeeper_app.cpp:72 save_keys ] *****Saving keys into `wallet-4.keys` file***** 879313ms beekeeper_app.cpp:74 save_keys ] Create a session 879313ms beekeeper_app.cpp:79 operator() ] Unlock the wallet 879313ms beekeeper_app.cpp:82 operator() ] Get keys 879313ms beekeeper_app.cpp:92 operator() ] Save keys into `wallet-4.keys` file 879314ms beekeeper_app.cpp:99 operator() ] Lock the wallet 879314ms beekeeper_app.cpp:102 operator() ] Close a session 879314ms beekeeper_app.cpp:139 boost_se_body ] *****Keys have been saved***** 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: create 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: open 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: close 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: set_timeout 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: lock_all 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: lock 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: unlock 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: import_key 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: remove_key 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: list_wallets 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: list_created_wallets 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: get_public_keys 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: sign_digest 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: get_info 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: create_session 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: close_session 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: has_matching_private_key 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: encrypt_data 879314ms json_rpc_plugin.cpp:256 add_api_method ] api_name: beekeeper_api method_name: decrypt_data ```
issue