@@ -799,7 +799,7 @@ $(document).ready(function() {
799799 listUnspentChainso_Dogecoin ( redeem ) ;
800800 } else if ( host == 'cryptoid.info_carboncoin' ) {
801801 listUnspentCryptoidinfo_Carboncoin ( redeem ) ;
802- } else if ( host == 'blockdozer .com_bitcoincash' ) {
802+ } else if ( host == 'blockexplorer .com_bitcoincash' ) {
803803 listUnspentBlockdozer_bitcoincash ( redeem ) ;
804804 } else {
805805 listUnspentDefault ( redeem ) ;
@@ -1000,13 +1000,13 @@ $(document).ready(function() {
10001000
10011001 }
10021002
1003- /* retrieve unspent data from blockdozer .com (no https available) for bitcoin cash */
1003+ /* retrieve unspent data from blockexplorer .com for bitcoin cash */
10041004 function listUnspentBlockdozer_bitcoincash ( redeem ) {
10051005
10061006 $ . ajax ( {
10071007 type : "GET" ,
10081008 cache : false ,
1009- url : "http ://blockdozer. com/insight- api/addr/" + redeem . addr + "/utxo" ,
1009+ url : "https ://bitcoincash.blockexplorer. com/api/addr/" + redeem . addr + "/utxo" ,
10101010 dataType : "json" ,
10111011 error : function ( data ) {
10121012 $ ( "#redeemFromStatus" ) . removeClass ( 'hidden' ) . html ( '<span class="glyphicon glyphicon-exclamation-sign"></span> Unexpected error, unable to retrieve unspent outputs!' ) ;
@@ -1018,7 +1018,7 @@ $(document).ready(function() {
10181018 data = $ . parseJSON ( json ) ;
10191019 }
10201020 if ( ( data [ 0 ] . address && data [ 0 ] . txid ) && data [ 0 ] . address == redeem . addr ) {
1021- $ ( "#redeemFromAddress" ) . removeClass ( 'hidden' ) . html ( '<span class="glyphicon glyphicon-info-sign"></span> Retrieved unspent inputs from address <a href="http ://blockdozer. com/insight /address/' + redeem . addr + '" target="_blank">' + redeem . addr + '</a>' ) ;
1021+ $ ( "#redeemFromAddress" ) . removeClass ( 'hidden' ) . html ( '<span class="glyphicon glyphicon-info-sign"></span> Retrieved unspent inputs from address <a href="https ://bitcoincash.blockexplorer. com/api /address/' + redeem . addr + '" target="_blank">' + redeem . addr + '</a>' ) ;
10221022 for ( var i in data ) {
10231023 var o = data [ i ] ;
10241024 var tx = ( ( "" + o . txid ) . match ( / .{ 1 , 2 } / g) . reverse ( ) ) . join ( "" ) + '' ;
@@ -1192,7 +1192,7 @@ $(document).ready(function() {
11921192 $ ( thisbtn ) . val ( 'Please wait, loading...' ) . attr ( 'disabled' , true ) ;
11931193 $ . ajax ( {
11941194 type : "POST" ,
1195- url : "http ://blockdozer. com/insight- api/tx/send" ,
1195+ url : "https ://bitcoincash.blockexplorer. com/api/tx/send" ,
11961196 data : { "rawtx" :$ ( "#rawTransaction" ) . val ( ) } ,
11971197 dataType : "json" ,
11981198 error : function ( data ) {
@@ -1869,7 +1869,7 @@ $(document).ready(function() {
18691869 $ ( "#rawSubmitBtn" ) . click ( function ( ) {
18701870 rawSubmitcryptoid_Carboncoin ( this ) ;
18711871 } ) ;
1872- } else if ( host == "blockdozer .com_bitcoincash" ) {
1872+ } else if ( host == "blockexplorer .com_bitcoincash" ) {
18731873 $ ( "#rawSubmitBtn" ) . click ( function ( ) {
18741874 rawSubmitBlockDozer_BitcoinCash ( this ) ;
18751875 } ) ;
0 commit comments