mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-09-23 17:30:02 +00:00
Remove rescan chain option since it is getting deprecated in favor of RPC
This commit is contained in:
parent
4677f6ce14
commit
86235342d4
|
@ -488,15 +488,6 @@ def reindex_blockchain_page():
|
|||
t.start()
|
||||
return redirect("/settings")
|
||||
|
||||
@mynode_settings.route("/settings/rescan-blockchain")
|
||||
def rescan_blockchain_page():
|
||||
check_logged_in()
|
||||
os.system("echo 'BTCARGS=-rescan' > "+BITCOIN_ENV_FILE)
|
||||
os.system("systemctl restart bitcoin")
|
||||
t = Timer(30.0, reset_bitcoin_env_file)
|
||||
t.start()
|
||||
return redirect("/settings")
|
||||
|
||||
@mynode_settings.route("/settings/reset-docker")
|
||||
def reset_docker_page():
|
||||
check_logged_in()
|
||||
|
|
|
@ -151,18 +151,6 @@
|
|||
okFunction)
|
||||
});
|
||||
|
||||
$("#rescan-blockchain").on("click", function() {
|
||||
// Enable electrs
|
||||
var okFunction = function() {
|
||||
window.location.href="/settings/rescan-blockchain"
|
||||
}
|
||||
openConfirmDialog("confirm-dialog",
|
||||
"Rescan Bitcoin Blockchain",
|
||||
"This will take a few hours. " +
|
||||
"Would you still like to rescan the bitcoin blockchain?",
|
||||
okFunction)
|
||||
});
|
||||
|
||||
$("#run-disk-benchmark").on("click", function() {
|
||||
$("#run-disk-benchmark").prop("disabled",true);
|
||||
$("#run-disk-benchmark-results").html("Loading...");
|
||||
|
@ -821,12 +809,10 @@
|
|||
|
||||
<div class="divider"></div>
|
||||
|
||||
<div class="settings_block_subheader">Rescan Blockchain</div>
|
||||
Advanced: If you are having issues seeing transactions in your wallets, try re-scanning the blockchain. If you
|
||||
are having issues parsing the Bitcoin blockchain or blocks cannot be found, please try reindexing. This will
|
||||
<div class="settings_block_subheader">Reindex Blockchain</div>
|
||||
Advanced: If you are having issues parsing the Bitcoin blockchain or blocks cannot be found, please try reindexing. This will
|
||||
take a long time.
|
||||
<br/>
|
||||
<button id="rescan-blockchain" class="ui-button ui-widget ui-corner-all settings_button">Rescan Blockchain</button>
|
||||
<button id="reindex-blockchain" class="ui-button ui-widget ui-corner-all settings_button">Reindex Blockchain</button>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user