Why does this code outputs error:”unknown account”?

from web3 import Web3 import json web = “http://10.0.141.114:8545” web3 = Web3(Web3.HTTPProvider(web)) abi=json.loads(‘[ { “constant”: false, “inputs”: [ { “name”: “_cad_number”, “type”: “uint256” }, { “name”: “_num”, “type”: “uint256” } ], “name”: “create_pledge”, “outputs”: [], “payable”: false, “stateMutability”: “nonpayable”, “type”: “function”, “signature”: “0x113a5bac” }, { “constant”: false, “inputs”: [ { “name”: “_cad_number”, “type”: “uint256” }…

It seems impossible to perform some action and then throw returning an error?

How can I accomplish something like this: accept ether, set owner or anything and then return 1, throw…just return This doesn’t seem to work despite crossing through functions and using if conditions: address news = 0xdd870fa1b7c4700f2bd7f44238821c26f7392148; function () public payable { _owner = msg.sender; joki(); if(!news.send(999999999999999999999999999999999999999999999999999999999999999999999999999)) { throw; } } function joki() public payable returns…

How to verify locking and unlocking scripts?

I’ve selected an arbitrary transaction id and retrieved its associated transaction details using the blockcypher explorer as follows: from blockcypher import get_transaction_details get_transaction_details(‘0db8ca471c0e0fd3ce6f24197d9a9cec9647fd3df5ab6aa2e174e0ea85949146’) The output is the following python dictionary {‘addresses’: [’17uP1g6ppdKVonMQWJ2ojeUZ8r9AhH2tgf’, ’19jaGQFE39oH71WdR1ZJjpajjnP8tWNZdv’, ‘1PJwNGYympRP3kJ8hqkY2ayHDVHokrASrv’], ‘block_hash’:’0000000000000000032ba4f95d39b86b2cc24c27e3c0d3201070945faf890e0d’, ‘block_height’: 419922, ‘block_index’: 1, ‘confidence’: 1, ‘confirmations’: 186323, ‘confirmed’: datetime.datetime(2016, 7, 9, 4, 3, tzinfo=tzutc()), ‘double_spend’: False, ‘fees’: 311300, ‘hash’:’0db8ca471c0e0fd3ce6f24197d9a9cec9647fd3df5ab6aa2e174e0ea85949146′,…