Skip to content

Instantly share code, notes, and snippets.

@CosminNechifor
Created December 12, 2018 11:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CosminNechifor/5348a8d6d13148a2f235dd6954ea70b3 to your computer and use it in GitHub Desktop.
Save CosminNechifor/5348a8d6d13148a2f235dd6954ea70b3 to your computer and use it in GitHub Desktop.
raiden18_1 ./raiden-v0.18.1-linux --keystore-path /home/cosmin/.local/share/io.parity.ethereum/keys/kovan --log-config 'raiden:debug' --eth-rpc-endpoint "http://parity.kovan.ethnodes.brainbot.com:8545" --api-address "http://127.0.0.1:5001" --network-id 42 --environment-type "production" --accept-disclaimer
Welcome to Raiden, version 0.18.1!
----------------------------------------------------------------------
| This is an Alpha version of experimental open source software |
| released as a test version under an MIT license and may contain |
| errors and/or bugs. No guarantee or representations whatsoever is |
| made regarding its suitability (or its use) for any purpose or |
| regarding its compliance with any applicable laws and regulations. |
| Use of the software is at your own risk and discretion and by |
| using the software you acknowledge that you have read this |
| disclaimer, understand its contents, assume all risk related |
| thereto and hereby release, waive, discharge and covenant not to |
| sue Brainbot Labs Establishment or any officers, employees or |
| affiliates from and for any direct or indirect liability resulting |
| from the use of the software as permissible by applicable laws and |
| regulations. |
| |
| Privacy Warning: Please be aware, that by using the Raiden Client, |
| among others, your Ethereum address, channels, channel deposits, |
| settlements and the Ethereum address of your channel counterparty |
| will be stored on the Ethereum chain, i.e. on servers of Ethereum |
| node operators and ergo are to a certain extent publicly available.|
| The same might also be stored on systems of parties running Raiden |
| nodes connected to the same token network. Data present in the |
| Ethereum chain is very unlikely to be able to be changed, removed |
| or deleted from the public arena. |
| |
| Also be aware, that data on individual Raiden token transfers will |
| be made available via the Matrix protocol to the recipient, |
| intermediating nodes of a specific transfer as well as to the |
| Matrix server operators. |
----------------------------------------------------------------------
2018-12-12 11:10:55.587294 [info ] Starting Raiden [raiden.ui.runners] distribution=bundled python_implementation=CPython python_version=3.6.7 raiden=0.18.1 system=Linux 64bit_ELF 4.14.83-1-MANJARO x86_64
The following accounts were found in your machine:
[ 0] - 0xAe120a95b8926485f021D8174EE1C6f9c740E10f
[ 1] - 0x790288D0F39F5027b9AeDBEA730f17aFC2D2cFae
[ 2] - 0xB2C94bBaf307C6DfBf70Cc2537385553385a345b
[ 3] - 0x4Aef1F8702E2799E4C010d44Cd9e62423e7fcd7F
[ 4] - 0xD6e68536eCe0Eac02b39317FdCE814087Bae6118
[ 5] - 0x7A3f338ff40C6e9286cbc13F752AD852F86b2603
[ 6] - 0xE4983881fd8d3E6B1D46f470beE644fA36011098
Select one of them by index to continue: 3
Enter the password to unlock 0x4Aef1F8702E2799E4C010d44Cd9e62423e7fcd7F:
2018-12-12 11:11:06.349075 [debug ] JSONRPCClient created [raiden.network.rpc.client] available_nonce=40 client=Parity-Ethereum//v2.1.3-beta-18ddd7c-20181015/x86_64-linux-gnu/rustc1.29.0 node=4aef1f87
Raiden is running in production mode
Checking if the ethereum node is synchronized
You are connected to the 'kovan' network and the DB path is: /home/cosmin/.raiden/node_4aef1f87/netid_42/network_40bc6aa6/v15_log.db
2018-12-12 11:11:08.001079 [debug ] Fetching available matrix servers [raiden.ui.app] available_servers=['https://raidentransport.exchangeunion.com', 'https://persephone.raidentransport.digitalvirtues.com', 'https://raidentransport.ki-decentralized.com', 'https://raidentransport.mycryptoapi.com']
2018-12-12 11:11:11.679641 [debug ] Matrix homeserver RTT times [raiden.network.transport.matrix] rtt_times=[('https://raidentransport.ki-decentralized.com', 0.07320733333333333), ('https://persephone.raidentransport.digitalvirtues.com', 0.07990933333333333), ('https://raidentransport.mycryptoapi.com', 0.15741866666666668), ('https://raidentransport.exchangeunion.com', 0.16468533333333335)]
2018-12-12 11:11:11.680508 [info ] Automatically selecting matrix homeserver based on RTT [raiden.network.transport.matrix] homeserver=https://raidentransport.ki-decentralized.com rtt=0.07320733333333333
2018-12-12 11:11:12.231709 [debug ] Restoring from snapshot [raiden.storage.wal] from_state_change_id=155500 to_state_change_id=latest
2018-12-12 11:11:12.252601 [debug ] Replaying state changes [raiden.storage.wal] num_state_changes=228
2018-12-12 11:11:12.853720 [debug ] Restored state from WAL [raiden.raiden_service] last_restored_block=9674177 node=4aef1f87
2018-12-12 11:11:13.320150 [debug ] Alarm task first run [raiden.tasks] known_block_number=9674177 latest_block_hash=0x876a1087c2146e825cede513705f855d34b001bfc9988b4da320a7938b6fd330 latest_block_number=9674424 latest_gas_limit=8000000
2018-12-12 11:11:13.321964 [debug ] Received new block [raiden.tasks] known_block_number=9674177 latest_block_gas_limit=8000000 latest_block_hash=0x876a1087c2146e825cede513705f855d34b001bfc9988b4da320a7938b6fd330 latest_block_number=9674424 num_missed_blocks=246
2018-12-12 11:11:13.675138 [debug ] Blockchain event [raiden.blockchain_events_handler] chain_event=<Event contract: 11115746 event: {'args': AttributeDict({'channel_identifier': 125, 'closing_participant': '0x8f476EaE54684ABDc6f2206ef903064956fAAbb0', 'nonce': 1994}), 'event': 'ChannelClosed', 'logIndex': 0, 'transactionIndex': 2, 'transactionHash': HexBytes('0xa57296225224da724a4b97cf923e8416c212605082c01ab188d66398d7721c58'), 'address': '0x111157460c0F41EfD9107239B7864c062aA8B978', 'blockHash': HexBytes('0x366d718061139d053f1ecf4e699029742512eb475f20e06c64d6f5739bf4af86'), 'blockNumber': 9674282, 'block_number': 9674282, 'channel_identifier': 125, 'closing_participant': b'\x8fGn\xaeThJ\xbd\xc6\xf2 n\xf9\x03\x06IV\xfa\xab\xb0'}> contract=11115746 node=4aef1f87
2018-12-12 11:11:13.680852 [debug ] State change [raiden.raiden_service] node=4aef1f87 state_change={"transaction_hash": "0xa57296225224da724a4b97cf923e8416c212605082c01ab188d66398d7721c58", "token_network_identifier": "0x111157460c0F41EfD9107239B7864c062aA8B978", "channel_identifier": "125", "block_number": "9674282", "_type": "raiden.transfer.state_change.ContractReceiveRouteClosed", "_version": 0}
2018-12-12 11:11:13.793785 [debug ] Blockchain event [raiden.blockchain_events_handler] chain_event=<Event contract: 11115746 event: {'args': AttributeDict({'channel_identifier': 131, 'closing_participant': '0xeFb665fd08Aa696696a88004646CA187E927D7a9', 'nonce': 8398}), 'event': 'ChannelClosed', 'logIndex': 0, 'transactionIndex': 2, 'transactionHash': HexBytes('0x84cd99bb0ab293c14d456a6d81539401529d558d9d2c6977ed3fffc92e17f76a'), 'address': '0x111157460c0F41EfD9107239B7864c062aA8B978', 'blockHash': HexBytes('0x72d96de7c584ae79158190c340e3bce4c0a1155ae9932cadac20497b2e92e5fa'), 'blockNumber': 9674287, 'block_number': 9674287, 'channel_identifier': 131, 'closing_participant': b"\xef\xb6e\xfd\x08\xaaif\x96\xa8\x80\x04dl\xa1\x87\xe9'\xd7\xa9"}> contract=11115746 node=4aef1f87
2018-12-12 11:11:13.797969 [debug ] State change [raiden.raiden_service] node=4aef1f87 state_change={"transaction_hash": "0x84cd99bb0ab293c14d456a6d81539401529d558d9d2c6977ed3fffc92e17f76a", "transaction_from": "0xeFb665fd08Aa696696a88004646CA187E927D7a9", "token_network_identifier": "0x111157460c0F41EfD9107239B7864c062aA8B978", "channel_identifier": "131", "block_number": "9674287", "_type": "raiden.transfer.state_change.ContractReceiveChannelClosed", "_version": 0}
2018-12-12 11:11:13.882564 [debug ] Blockchain event [raiden.blockchain_events_handler] chain_event=<Event contract: 11115746 event: {'args': AttributeDict({'channel_identifier': 126, 'closing_participant': '0xb671505e14D3f7F4ce2f9A640aBeC46303Ba2689', 'nonce': 1993}), 'event': 'ChannelClosed', 'logIndex': 1, 'transactionIndex': 3, 'transactionHash': HexBytes('0x4e9f78db88a16b293a9c630512dc6826e6a20ec18e192b8a442559eb65df451f'), 'address': '0x111157460c0F41EfD9107239B7864c062aA8B978', 'blockHash': HexBytes('0x72d96de7c584ae79158190c340e3bce4c0a1155ae9932cadac20497b2e92e5fa'), 'blockNumber': 9674287, 'block_number': 9674287, 'channel_identifier': 126, 'closing_participant': b'\xb6qP^\x14\xd3\xf7\xf4\xce/\x9ad\n\xbe\xc4c\x03\xba&\x89'}> contract=11115746 node=4aef1f87
2018-12-12 11:11:13.883903 [debug ] State change [raiden.raiden_service] node=4aef1f87 state_change={"transaction_hash": "0x4e9f78db88a16b293a9c630512dc6826e6a20ec18e192b8a442559eb65df451f", "token_network_identifier": "0x111157460c0F41EfD9107239B7864c062aA8B978", "channel_identifier": "126", "block_number": "9674287", "_type": "raiden.transfer.state_change.ContractReceiveRouteClosed", "_version": 0}
2018-12-12 11:11:13.928279 [debug ] Blockchain event [raiden.blockchain_events_handler] chain_event=<Event contract: 11115746 event: {'args': AttributeDict({'channel_identifier': 125, 'closing_participant': '0x8f476EaE54684ABDc6f2206ef903064956fAAbb0', 'nonce': 452}), 'event': 'NonClosingBalanceProofUpdated', 'logIndex': 0, 'transactionIndex': 3, 'transactionHash': HexBytes('0xb71f42facdf58aa8664ad47bfc152650df431af39f345482557e569b542eec50'), 'address': '0x111157460c0F41EfD9107239B7864c062aA8B978', 'blockHash': HexBytes('0x370c8fd97e8c2a69814754aa92200088215e52758f21ff6ada3a56fdaf7f1c94'), 'blockNumber': 9674292, 'block_number': 9674292, 'channel_identifier': 125, 'closing_participant': b'\x8fGn\xaeThJ\xbd\xc6\xf2 n\xf9\x03\x06IV\xfa\xab\xb0'}> contract=11115746 node=4aef1f87
2018-12-12 11:11:13.931659 [debug ] Blockchain event [raiden.blockchain_events_handler] chain_event=<Event contract: 11115746 event: {'args': AttributeDict({'channel_identifier': 126, 'closing_participant': '0xb671505e14D3f7F4ce2f9A640aBeC46303Ba2689', 'nonce': 450}), 'event': 'NonClosingBalanceProofUpdated', 'logIndex': 0, 'transactionIndex': 1, 'transactionHash': HexBytes('0xa636f735e3f3d5cf04594ab209b117e2b309bef6d081a923a28037416c6ee4cd'), 'address': '0x111157460c0F41EfD9107239B7864c062aA8B978', 'blockHash': HexBytes('0x1cac94a2d540f21344cf1c55422c083c8099e0b852de05011df8a98622e751ba'), 'blockNumber': 9674297, 'block_number': 9674297, 'channel_identifier': 126, 'closing_participant': b'\xb6qP^\x14\xd3\xf7\xf4\xce/\x9ad\n\xbe\xc4c\x03\xba&\x89'}> contract=11115746 node=4aef1f87
2018-12-12 11:11:13.932722 [debug ] State change [raiden.raiden_service] node=4aef1f87 state_change={"block_number": "9674419", "gas_limit": 8000000, "block_hash": "0x8ed11daeda2c175c3c4a61d04ce084ff9d4b124ed9cd2ded87e8c13d94f37505", "_type": "raiden.transfer.state_change.Block", "_version": 0}
2018-12-12 11:11:13.969627 [debug ] Processing pending transactions [raiden.raiden_service] node=4aef1f87 num_pending_transactions=2
2018-12-12 11:11:14.582285 [error ] Failed to find state/event that match current channel locksroots. token:0xd0A1E359811322d97991E03f863a0C30C2cF029C token_network:0x111157460c0F41EfD9107239B7864c062aA8B978 channel:130 participant:0x7A3f338ff40C6e9286cbc13F752AD852F86b2603 our_locksroot:0x0000000000000000000000000000000000000000000000000000000000000000 partner_locksroot:0x1447206d6f93a489faa39e114c1e56218bc1875c388fdeadee7d3f46c9c75ea3 [raiden.raiden_service]
2018-12-12 11:11:14.743580 [debug ] updateNonClosingBalanceProof called [raiden.network.proxies.token_network] additional_hash=0x806de7351e4e145e04fc753ea13fa76af452b210c6809628c6f770084bb2332f balance_hash=0x0000000000000000000000000000000000000000000000000000000000000000 closing_signature=0x5e0da76292cb2306d99ce1e0b4239ee051fa179165d9e6a2f474db63540b01a06711de4d8260cd96791e075b595d8d0060b48a105369537c2de427ddc3beda571b node=4aef1f87 non_closing_signature=0xfb513ba6a87f2f26553ae31ac9110ae2324c91e7d2e08b5b98d5439e204a8b05752fa12b69d6e20c3b7d270d9fbe1628e48f8c48c14047649e229bdc1409f6811c nonce=4 partner=efb665fd token_network=11115746
2018-12-12 11:11:30.350972 [debug ] Calculated gas price for transaction [raiden.network.rpc.client] calculated_gas_price=1504086021 node=4aef1f87 node_gas_price=3000000000
2018-12-12 11:11:30.357718 [debug ] send_raw_transaction called [raiden.network.rpc.client] gasLimit=125252 gasPrice=1504086021 node=4aef1f87 nonce=40
2018-12-12 11:11:30.461402 [debug ] send_raw_transaction returned [raiden.network.rpc.client] gasLimit=125252 gasPrice=1504086021 node=4aef1f87 nonce=40 tx_hash=0xea0d1c0a37784e4a8a3dc9f3273dffb3958d604c8193716028a87375cb0b9dac
2018-12-12 11:12:18.859280 [critical ] updateNonClosingBalanceProof failed, Update NonClosing balance proof [raiden.network.proxies.token_network] additional_hash=0x806de7351e4e145e04fc753ea13fa76af452b210c6809628c6f770084bb2332f balance_hash=0x0000000000000000000000000000000000000000000000000000000000000000 closing_signature=0x5e0da76292cb2306d99ce1e0b4239ee051fa179165d9e6a2f474db63540b01a06711de4d8260cd96791e075b595d8d0060b48a105369537c2de427ddc3beda571b node=4aef1f87 non_closing_signature=0xfb513ba6a87f2f26553ae31ac9110ae2324c91e7d2e08b5b98d5439e204a8b05752fa12b69d6e20c3b7d270d9fbe1628e48f8c48c14047649e229bdc1409f6811c nonce=4 partner=efb665fd token_network=11115746
Traceback (most recent call last):
File "raiden-script.py", line 2, in <module>
File "site-packages/raiden/__main__.py", line 11, in main
File "site-packages/click/core.py", line 722, in __call__
File "site-packages/click/core.py", line 697, in main
File "site-packages/click/core.py", line 1043, in invoke
File "site-packages/click/core.py", line 895, in invoke
File "site-packages/click/core.py", line 535, in invoke
File "site-packages/click/decorators.py", line 17, in new_func
File "site-packages/raiden/ui/cli.py", line 425, in run
File "site-packages/raiden/ui/runners.py", line 247, in run
File "site-packages/raiden/ui/runners.py", line 96, in _start_services
File "site-packages/raiden/ui/app.py", line 426, in run_app
File "site-packages/raiden/app.py", line 152, in start
File "site-packages/raiden/raiden_service.py", line 368, in start
File "site-packages/raiden/raiden_service.py", line 599, in _initialize_transactions_queues
File "site-packages/raiden/raiden_event_handler.py", line 95, in on_raiden_event
File "site-packages/raiden/raiden_event_handler.py", line 312, in handle_contract_send_channelupdate
File "site-packages/raiden/network/proxies/payment_channel.py", line 200, in update_transfer
File "site-packages/raiden/network/proxies/token_network.py", line 843, in update_transfer
raiden.exceptions.TransactionThrew: Update NonClosing balance proof transaction threw. Receipt=AttributeDict({'blockHash': HexBytes('0x001aed39c7caae010425dfedfcce1a59347184a3977e7f9e2784e3d308ba7e90'), 'blockNumber': 9674428, 'contractAddress': None, 'cumulativeGasUsed': 1245516, 'from': '0x4aef1f8702e2799e4c010d44cd9e62423e7fcd7f', 'gasUsed': 38992, 'logs': [], 'logsBloom': HexBytes('0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'), 'root': None, 'status': 0, 'to': '0x111157460c0f41efd9107239b7864c062aa8b978', 'transactionHash': HexBytes('0xea0d1c0a37784e4a8a3dc9f3273dffb3958d604c8193716028a87375cb0b9dac'), 'transactionIndex': 6})
[3556] Failed to execute script raiden-script
--- Logging error ---
Exception ignored in: <bound method BaseFileLock.__del__ of <filelock.UnixFileLock object at 0x7f50d5ad82e8>>
Traceback (most recent call last):
File "site-packages/filelock.py", line 333, in __del__
File "site-packages/filelock.py", line 320, in release
File "logging/__init__.py", line 1308, in info
File "logging/__init__.py", line 1444, in _log
File "logging/__init__.py", line 1454, in handle
File "logging/__init__.py", line 1516, in callHandlers
File "logging/__init__.py", line 865, in handle
File "logging/handlers.py", line 75, in emit
File "logging/__init__.py", line 918, in handleError
File "/usr/local/lib/python3.6/traceback.py", line 104, in print_exception
File "site-packages/raiden/log_config.py", line 138, in tracebackexception_format
File "site-packages/raiden/log_config.py", line 123, in processor_wrapper
ImportError: sys.meta_path is None, Python is likely shutting down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment