Skip to content

Instantly share code, notes, and snippets.

View CosminNechifor's full-sized avatar

Cosmin Nechifor CosminNechifor

View GitHub Profile
2018-09-10 15:37:46 [debug ] JSONRPCClient created [raiden.network.rpc.client] available_nonce=65 sender=a80faaa7
2018-09-10 15:37:49 [debug ] Matrix homeserver RTT times [raiden.network.transport.matrix] rtt_times=[('https://transport03.raiden.network', 0.02762466666666667), ('https://transport01.raiden.network', 0.031744), ('https://transport02.raiden.network', 0.11844533333333333)]
2018-09-10 15:37:49 [info ] Automatically selecting matrix homeserver based on RTT [raiden.network.transport.matrix] homeserver=https://transport03.raiden.network rtt=0.02762466666666667
2018-09-10 15:37:49 [info ] Lock 139631733307936 acquired on /home/cosmin/.raiden/node_a80faaa7/netid_3/network_f2a175a5/.lock [filelock]
2018-09-10 15:37:49 [debug ] No snapshot found, replaying all state changes [raiden.storage.wal]
2018-09-10 15:37:49 [debug ] Replaying state changes [raiden.storage.wal] num_state_changes=302
2018-09-10 15:37:50 [debug ] Restored state from WAL [raiden.raiden
2018-09-11 08:59:59 [info ] 127.0.0.1 - - [2018-09-11 10:59:59] "GET /api/1/channels HTTP/1.1" 200 467 0.002817 [raiden.api.rest.pywsgi]
2018-09-11 09:00:04 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0xf2a175A52Bd3c815eD7500c765bA19652AB89B30 token_address=None
2018-09-11 09:00:05 [info ] 127.0.0.1 - - [2018-09-11 11:00:05] "GET /api/1/channels HTTP/1.1" 200 467 0.004978 [raiden.api.rest.pywsgi]
2018-09-11 09:00:10 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0xf2a175A52Bd3c815eD7500c765bA19652AB89B30 token_address=None
2018-09-11 09:00:10 [info ] 127.0.0.1 - - [2018-09-11 11:00:10] "GET /api/1/channels HTTP/1.1" 200 467 0.003422 [raiden.api.rest.pywsgi]
2018-09-11 09:00:15 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0xf2a175A52Bd3c815eD7500c765bA19652AB89B30 token_address=None
2018-09-11 09:00:15 [info ] 127.0.0.1 - - [2018-09-11
Traceback (most recent call last):
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connectionpool.py", line 384, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/home/cosmin/.virtualenvs/raiden/lib/python3.6/site-packages/urllib3/connectionpool.py", line 380, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
@CosminNechifor
CosminNechifor / log
Last active September 12, 2018 10:08
ckchain_events_handler] chain_event=<Event contract: 03c4ab05 event: {'args': AttributeDict({'channel_identifier': 11, 'participant': '0x0B25b08D4723FF31dd92c835144539573F3005bE', 'total_deposit': 20}), 'event': 'ChannelNewDeposit', 'logIndex': 0, 'transactionIndex': 1, 'transactionHash': HexBytes('0x51014d147fd4e69340f9d5c9b73202f400d9236e2bf58c22a17d6582f7b98646'), 'address': '0x03c4Ab05f8664fF4E9bACDDe4BbF80831e8eE2fF', 'blockHash': HexBytes('0x1e41c214af5380c54f1cd1109d90cffc316fc536d31177e1cb5fb9c0bc7ed6d3'), 'blockNumber': 3977798, 'block_number': 3977798, 'channel_identifier': 11, 'deposit': 20, 'participant': b'\x0b%\xb0\x8dG#\xff1\xdd\x92\xc85\x14E9W?0\x05\xbe'}> node=9eecc84c
2018-09-12 08:30:09 [debug ] BLOCKCHAIN EVENT [raiden.blockchain_events_handler] chain_event=<Event contract: 03c4ab05 event: {'args': AttributeDict({'channel_identifier': 14, 'participant': '0x3Ea7d28D45875880cEf482D33aE0C89dA5DD13Dd', 'total_deposit': 16}), 'event': 'ChannelNewDeposit', 'logIndex': 2, 'transa
18-09-17 13:56:14 [debug ] INVITE [raiden.network.transport.matrix] current_user=@0x3435192af5603378456b68041f7560c503291d55:transport03.raiden.network node=3435192a room=<Room id="!kHKTPbpQfYbLWmJZJr:transport03.raiden.network" alias="#raiden_ropsten_0
x15aaec6e425dff407d0b63897ca79546b6fb5919_0x3435192af5603378456b68041f7560c503291d55:transport03.raiden.network"> user=<User id="@0x15aaec6e425dff407d0b63897ca79546b6fb5919:transport03.raiden.network">
2018-09-17 13:56:14 [debug ] INVENTORY ROOMS [raiden.network.transport.matrix] current_user=@0x3435192af5603378456b68041f7560c503291d55:transport03.raiden.network node=3435192a rooms={'!vMgGrNwxzBXmESpsdk:transport01.raiden.network': <Room id="!vMgGrNwxzBXmESpsdk:
transport01.raiden.network" alias="#raiden_ropsten_discovery:transport01.raiden.network">, '!kHKTPbpQfYbLWmJZJr:transport03.raiden.network': <Room id="!kHKTPbpQfYbLWmJZJr:transport03.raiden.network" alias="#raiden_ropsten_0x15aaec6e425dff407d0b63897ca79546b6
eth.accounts[46]: 0x3435192af5603378456b68041f7560c503291d55 balance: 0.058833649 ether
@CosminNechifor
CosminNechifor / resp
Last active September 20, 2018 11:19
raiden git:(master) ✗ curl -i -X PUT http://localhost:5002/api/1/connections/0x6f576941799EEF4c7714a5e383443285402E042f -H 'Content-Type: application/json' --data-raw '{"funds": 100, "joinable_funds_target": 0.6, "initial_channel_target": 0}'
HTTP/1.1 204 NO CONTENT
mimetype: application/json
Content-Type: application/json
Content-Length: 0
Date: Thu, 20 Sep 2018 11:06:51 GMT
raiden git:(master) ✗ curl -i -X PUT http://localhost:5002/api/1/connections/0x6f576941799EEF4c7714a5e383443285402E042f -H 'Content-Type: application/json' --data-raw '{"funds": 100, "joinable_funds_target": 0, "initial_channel_target": 0.3}'
HTTP/1.1 204 NO CONTENT
mimetype: application/json
(raiden) ➜ LEARNING curl -i -X POST http://localhost:5001/api/1/payments/0x0f114A1E9Db192502E7856309cc899952b3db1ED/0xa9be75a795111810139c7c0cf7c7A5a2B6663A42 -H 'Content-Type: application/json' --data-raw '{"amount": 10, "identifier": 42}'
HTTP/1.1 200 OK
mimetype: application/json
Content-Type: application/json
Content-Length: 226
Date: Thu, 20 Sep 2018 13:00:14 GMT
raiden git:(daa10fec) ✗ raiden --keystore-path ~/.ethereum/testnet/keystore --log-config 'raiden:debug' --api-address "http://localhost:5003"
Welcome to Raiden, version 0.9.1.dev31+g20204667.d20180921!
----------------------------------------------------------------------
| This is an Alpha version of experimental open source software |
| released under the MIT license and may contain errors and/or bugs. |
| Use of the software is at your own risk and discretion. No |
| guarantee whatsoever is made regarding its suitability for your |
| intended purposes and its compliance with applicable law and |
| regulations. It is up to the user to determine the software´s |
| quality and suitability and whether its use is compliant with its |
(raiden) ➜ raiden git:(master) ✗ raiden --keystore-path ~/.ethereum/testnet/keystore --log-config 'raiden:debug' --api-address "http://localhost:5002"
Welcome to Raiden, version 0.10.1.dev2+g6aefe331!
----------------------------------------------------------------------
| This is an Alpha version of experimental open source software |
| released under the MIT license and may contain errors and/or bugs. |
| Use of the software is at your own risk and discretion. No |
| guarantee whatsoever is made regarding its suitability for your |
| intended purposes and its compliance with applicable law and |
| regulations. It is up to the user to determine the software´s |
| quality and suitability and whether its use is compliant with its |