added better sighash support as well as (basic) support for carboncoin

This commit is contained in:
OutCast3k
2016-09-04 20:54:15 +00:00
parent b6dfa6b822
commit 970cd756ec
4 changed files with 74 additions and 18 deletions
+2 -2
View File
@@ -1125,10 +1125,10 @@ $(document).ready(function() {
r += (obj.message) ? ' '+obj.message : '';
r = (r!='') ? r : ' Failed to broadcast'; // build response
$("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').removeClass("hidden").html(r).prepend('<span class="glyphicon glyphicon-exclamation-sign"></span>');
console.error(JSON.stringify(data, null, 4));
// console.error(JSON.stringify(data, null, 4));
},
success: function(data) {
console.info(JSON.stringify(data, null, 4));
// console.info(JSON.stringify(data, null, 4));
if((data.status && data.data) && data.status=='success'){
$("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' Txid: ' + data.data.txid);
} else {