Skip to content

Instantly share code, notes, and snippets.

Cosmin Nechifor CosminNechifor

Block or report user

Report or block CosminNechifor

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ex.sol
pragma solidity >= 0.4.22 < 0.6.0;
contract Contract {
string public Name;
constructor(string memory name) public {
Name = name;
}
function getName() public view returns(string memory) {
View gist:faa614e9c487bb7cfd2181b8f119a8eb
~ man ls | grep list
ls - list directory contents
do not list implied . and ..
do not list implied entries ending with ~
-C list entries by columns
list directories themselves, not their contents
-g like -l, but do not list owner
in a long listing, don't print group names
follow symbolic links listed on the command line
do not list implied entries matching shell PATTERN (overridden by -a or -A)
View routing scenario
│- [✔] Serial (0:26:26.758611) - Routing scenario │
│ + [✔] Parallel (0:06:24.053611) - Create channels │
│ + [✔] Serial (0:00:30.011599) - Allow time for nodes to learn about their channels │
│ + [✔] Parallel (0:06:09.436264) - Founding the channles │
│ + [✔] Serial (0:00:15.003929) - Allow time for all nodes to learn about the deposit │
│ + [✔] Parallel (0:00:00.041526) - Checking if the deposits w
View it happens
│- [•] Serial (0:29:44.830964) - Long running scenario │
│ + [✔] Parallel (0:01:51.439974) - Create channels │
│ + [✔] Serial (0:00:30.001294) - Allow time for nodes to learn about their channels │
│ + [✔] Parallel (0:00:00.027168) - Verify if channels were opened correctly │
│ + [✔] Parallel (0:06:06.258271) - A B C D make a deposit of 100 to their channels │
│ + [✔] Parallel (0:00:00.058796) - Checking if the deposit wa
View Testing_14_01_2019
Production:
- Opened channels both on mainnet(2 channels) and kovan(3 channels)
- Performed direct payments on mainnet between my nodes (around 500 both directions)
- Performed 3 hop payments (A -> B -> C) around 2000
- Performed multihop payments at the same time between the nodes I had on Kovan:
1. A -> B -> C (1000 payments of 0.000...1 tokens)
2. B -> C (100 payments of 0.000...1 tokens)
3. C -> B (100 payments of 0.000...1 tokens)
4. B -> A (100 payments of 0.000...1 tokens)
View log
./raiden-v0.19.1.dev44+gaf0eaa6f-linux --keystore-path /home/cosmin/.local/share/io.parity.ethereum/keys/ethereum --log-config 'raiden:debug' --eth-rpc-endpoint "http://parity.mainnet.ethnodes.brainbot.com:8545" --api-address "http://127.0.0.1:5555" --network-id 1 --environment-type "production" --accept-disclaimer
Welcome to Raiden, version 0.19.1.dev44+gaf0eaa6f!
----------------------------------------------------------------------
| 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 |
View Scenario
version: 2
settings:
gas_price: "fast"
chain: kovan
token:
decimals: 3
nodes:
View output
2018-12-19 15:08:15.810918 [debug ] Initiating payment [raiden.api.rest] amount=5 node=b2c94bba payment_identifier=1545232095848 registry_address=0xB9633dd9a9a71F22C933bF121d7a22008f66B908 target_address=0x4d6FA60E64C7E520899A9aeDD40cB1E6992027F0 token_address=0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
2018-12-19 15:08:15.811743 [debug ] Initiating transfer [raiden.api.python] amount=5 identifier=1545232095848 initiator=b2c94bba target=4d6fa60e token=c02aaa39
2018-12-19 15:08:15.871063 [debug ] State change [raiden.raiden_service] node=b2c94bba state_change={"transfer": {"payment_network_identifier": "0xB9633dd9a9a71F22C933bF121d7a22008f66B908", "payment_identifier": "1545232095848", "amount": "5", "token_network_identifier": "0xa5C9ECf54790334B73E5DfA1ff5668eB425dC474", "initiator": "0xB2C94bBaf307C6DfBf70Cc2537385553385a345b", "target": "0x4d6FA60E64C7E520899A9aeDD40cB1E6992027F0", "secret": "0x59ccbec519f4394322d840286c2f6a43ffa43b6e5aa7cb00b3c2f7204ef1ae13
View event to large
Traceback (most recent call last):
File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
File "site-packages/raiden/network/transport/matrix.py", line 262, in _run
File "site-packages/raiden/network/transport/matrix.py", line 253, in _check_and_send
File "site-packages/raiden/network/transport/matrix.py", line 1028, in _send_raw
File "site-packages/matrix_client/room.py", line 105, in send_text
File "site-packages/matrix_client/api.py", line 336, in send_message
File "site-packages/matrix_client/api.py", line 256, in send_message_event
File "site-packages/raiden_libs/network/matrix/client.py", line 75, in _send
File "site-packages/matrix_client/api.py", line 691, in _send
You can’t perform that action at this time.