diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-02 01:02:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-02 01:02:35 +0800 |
commit | abb2bebf7f7fd6b0bb18ca8c49aec3a8badf3861 (patch) | |
tree | 6168b1f8755a66cacf6850e752ac1de455fd089c /ethereal/assets | |
parent | da7828f336cb323c78810d2963f8353787c03077 (diff) | |
download | dexon-abb2bebf7f7fd6b0bb18ca8c49aec3a8badf3861.tar.gz dexon-abb2bebf7f7fd6b0bb18ca8c49aec3a8badf3861.tar.zst dexon-abb2bebf7f7fd6b0bb18ca8c49aec3a8badf3861.zip |
Fixed minor issue with upnp where 'err' wasn't checked resulting in crash
Diffstat (limited to 'ethereal/assets')
-rw-r--r-- | ethereal/assets/icon.png | bin | 86700 -> 0 bytes | |||
-rw-r--r-- | ethereal/assets/samplecoin.html | 69 | ||||
-rw-r--r-- | ethereal/assets/test.html | 55 |
3 files changed, 0 insertions, 124 deletions
diff --git a/ethereal/assets/icon.png b/ethereal/assets/icon.png Binary files differdeleted file mode 100644 index 73e0ceb75..000000000 --- a/ethereal/assets/icon.png +++ /dev/null diff --git a/ethereal/assets/samplecoin.html b/ethereal/assets/samplecoin.html deleted file mode 100644 index 3b039fb04..000000000 --- a/ethereal/assets/samplecoin.html +++ /dev/null @@ -1,69 +0,0 @@ -<html> -<head> -<title>jeffcoin</title> -<script type="text/javascript"> -var jefcoinAddr = "3dff537f51350239abc95c76a5864aa605259e7d" - -function createTransaction() { - var addr = document.querySelector("#addr").value; - var amount = document.querySelector("#amount").value; - - var data = "0x" + addr + "\n" + amount - eth.transact("", jefcoinAddr, 0, "10000000", "250", data, function(tx) { - debug("received tx hash:", tx) - }) -} - -// Any test related actions here please -function tests() { - eth.getKey(function(keys) { - debug(keys) - }) -} - -function init() { - eth.getKey(function(key) { - eth.getStorageAt(jefcoinAddr, key, function(storage) { - document.querySelector("#currentAmount").innerHTML = "Amount: " + storage; - }); - - eth.watch(jefcoinAddr, function(stateObject) { - eth.getStorageAt(jefcoinAddr, key, function(storage) { - document.querySelector("#currentAmount").innerHTML = "Amount: " + storage; - }); - }); - - eth.getBalanceAt(key, function(balance) { - debug("balance", balance); - }) - }); -} - -</script> -<style type="text/css"> -input[type="text"] { - width: 300px; -} -</style> -</head> - -<body onload="init();"> -<h1>Jeff Coin</h1> - -<img src="icon.png"> -<div id="currentAmount"></div> - -<div id="transactions"> - <input id="addr" type="text" placeholder="Receiver address"></input><br> - <input id="amount" type="text" placeholder="Amount"></input><br> - <button onclick="createTransaction();">Send Tx</button> -</div> - -<div><button onclick="tests();">Tests</button></div> - - -<div id="debug" style="border: 1px solid block"></div> - -</body> -</html> - diff --git a/ethereal/assets/test.html b/ethereal/assets/test.html deleted file mode 100644 index beb888685..000000000 --- a/ethereal/assets/test.html +++ /dev/null @@ -1,55 +0,0 @@ -<html> -<head> -<title>jeffcoin</title> -<script type="text/javascript"> -var jefcoinAddr = "3dff537f51350239abc95c76a5864aa605259e7d" - -function createTransaction() { - var addr = document.querySelector("#addr").value; - var amount = document.querySelector("#amount").value; - - var data = "0x" + addr + "\n" + amount - eth.createTx(jefcoinAddr, 0, "10000000", "250", data, function(tx) { - debug("received tx hash:", tx) - }) -} - -function init() { - eth.getKey(function(key) { - eth.getStorage(jefcoinAddr, key, function(storage) { - document.querySelector("#currentAmount").innerHTML = "Amount: " + storage; - }); - - eth.on("block:new", function() { - eth.getStorage(jefcoinAddr, key, function(storage) { - document.querySelector("#currentAmount").innerHTML = "Amount: " + storage; - }); - }); - }); -} - -</script> -<style type="text/css"> -input[type="text"] { - width: 300px; -} -</style> -</head> - -<body onload="init();"> -<h1>Jeff Coin</h1> - -<img src="icon.png"> -<div id="currentAmount"></div> - -<div id="transactions"> - <input id="addr" type="text" placeholder="Receiver address"></input><br> - <input id="amount" type="text" placeholder="Amount"></input><br> - <button onclick="createTransaction();">Send Tx</button> -</div> - -<div id="debug" style="border: 1px solid block"></div> - -</body> -</html> - |