Skip to content

Instantly share code, notes, and snippets.

View CosminNechifor's full-sized avatar

Cosmin Nechifor CosminNechifor

View GitHub Profile
ock 0x77E080beAA49866d2966Ab116a339057B3a07A43:
2018-09-28 09:11:35 [debug ] JSONRPCClient created [raiden.network.rpc.client] available_nonce=27 sender=77e080be
Checking if the ethereum node is synchronized
You are connected to the 'ropsten' network and the DB path is: /home/cosmin/.raiden/node_77e080be/netid_3/network_f2a175a5/v5_log.db
2018-09-28 09:11:41 [debug ] Matrix homeserver RTT times [raiden.network.transport.matrix] rtt_times=[('https://transport03.raiden.network', 0.07536866666666667), ('https://transport01.raiden.network', 0.08588833333333333), ('https://transport02.raiden.network', 0.1796566666666667)]
2018-09-28 09:11:41 [info ] Automatically selecting matrix homeserver based on RTT [raiden.network.transport.matrix] homeserver=https://transport03.raiden.network rtt=0.07536866666666667
2018-09-28 09:11:41 [warning ] Older versions of the database exist in /home/cosmin/.raiden/node_77e080be/netid_3/network_f2a175a5. Since a newer breaking version is introduced, it is advi
@CosminNechifor
CosminNechifor / test
Last active September 28, 2018 14:12
settings:
gas_price: "fast"
token:
balance_min: 40
nodes:
commands:
#start: "docker start raiden_{:02d}"
#stop: "docker stop raiden_{:02d}"
Select one of them by index to continue: 28
Enter the password to unlock 0x27fad1FC6bFb2700C06e80fdFd3a8f832f330966:
2018-09-28 09:43:12 [debug ] JSONRPCClient created [raiden.network.rpc.client] available_nonce=64 sender=27fad1fc
Checking if the ethereum node is synchronized
You are connected to the 'ropsten' network and the DB path is: /home/cosmin/.raiden/node_27fad1fc/netid_3/network_f2a175a5/v5_log.db
2018-09-28 09:43:17 [debug ] Matrix homeserver RTT times [raiden.network.transport.matrix] rtt_times=[('https://transport03.raiden.network', 0.05268833333333334), ('https://transport01.raiden.network', 0.054486), ('https://transport02.raiden.network', 0.14070466666666667)]
2018-09-28 09:43:17 [info ] Automatically selecting matrix homeserver based on RTT [raiden.network.transport.matrix] homeserver=https://transport03.raiden.network rtt=0.05268833333333334
2018-09-28 09:43:17 [warning ] Older versions of the database exist in /home/cosmin/.raiden/node_27fad1fc/netid_3/network_f2a175a
/api/1/channels HTTP/1.1" 200 793 0.002599 [raiden.api.rest.pywsgi]
2018-09-27 16:21:04 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0xf2a175A52Bd3c815eD7500c765bA19652AB89B30 token_address=None
2018-09-27 16:21:05 [info ] 127.0.0.1 - - [2018-09-27 19:21:05] "GET /api/1/channels HTTP/1.1" 200 793 0.002929 [raiden.api.rest.pywsgi]
2018-09-27 16:21:09 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0xf2a175A52Bd3c815eD7500c765bA19652AB89B30 token_address=None
2018-09-27 16:21:09 [info ] 127.0.0.1 - - [2018-09-27 19:21:09] "GET /api/1/channels HTTP/1.1" 200 793 0.003823 [raiden.api.rest.pywsgi]
2018-09-27 16:21:10 [debug ] Getting channel list [raiden.api.rest] partner_address=None registry_address=0xf2a175A52Bd3c815eD7500c765bA19652AB89B30 token_address=None
2018-09-27 16:21:10 [info ] 127.0.0.1 - - [2018-09-27 19:21:10] "GET /api/1/channels HTTP/1.1" 200 793 0.004521 [raiden.api.
Serial [ 0 s] - Open channel scenarios
- [✗] Serial [ 0 s] - Stop node 4
- [✗] StopNode [ 0 s]: 4
- [ ] Parallel - Opening channels
- [ ] OpenChannel: {'from': 0, 'to': 1, 'total_deposit': 20, 'expected_http_status': 201}
- [ ] OpenChannel: {'from': 1, 'to': 2, 'total_deposit': 20, 'expected_http_status': 201}
- [ ] OpenChannel: {'from': 2, 'to': 3, 'total_deposit': 20, 'expected_http_status': 201}
- [ ] OpenChannel: {'from': 3, 'to': 4, 'total_deposit': 20, 'expected_http_status': 201}
- [ ] OpenChannel: {'from': 0, 'to': 3, 'total_deposit': 20, 'expected_http_status': 201}
- [ ] Parallel - Checking if the channels were opened correctly
✗ raiden --keystore-path ~/.ethereum/testnet/keystore --log-config 'raiden:debug' --api-address "http://localhost:5001"
Welcome to Raiden, version 0.10.1.dev18+geaff5ab7!
----------------------------------------------------------------------
| 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 |
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) ➜ 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
@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