Skip to content

Instantly share code, notes, and snippets.

@CosminNechifor
Created January 14, 2019 12:35
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/1a76b472df94925f9f028b39a61597da to your computer and use it in GitHub Desktop.
Save CosminNechifor/1a76b472df94925f9f028b39a61597da to your computer and use it in GitHub Desktop.
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)
5. C -> B -> A (100 payments of 0.000...1 tokens)
6. A -> B (100 payments of 0.000...1 tokens)
- Performed deposits on Mainnet and Kovan
- Tried killing the node on the middle of payments (node worked as expected after the restart)
- Closed my Mainnet channel with no problem
- Settled the mainnet channel (still waiting for it)
Development (tested using the scenario player 5 nodes are being used.):
- Opened channels between 0 <-> 1 <-> 2 <-> 3 (all channels were opened with an initial deposit of 0 tokens)
- Deposited in the channels created in the previous bulet
- Tried to perform smaller deposits then the one done in previous point (409 as expected)
- Opened another channel between 2 <-> 4 with a deposit of 0 tokens
- Node 2 performs a of 0.0...100 tokens on the channel mentioned above
- Node 2 tries to perform another deposit with the value of 0.00...30 tokens (409 as expected)
- Node 2 performs a deposit of 0.00...150 tokens (worked as expected)
- Opened a channel between 0 <-> 4 with an initoal deposit of 0.000...10 tokens
- Node 4 deposits 0.0...25 tokens to the channel opened above
- Node 0 transfers 0.00...50 tokens to 4
- Node 2 transfers tokens using his channel with 1
- Node 2 tryies to transfer more tokens then it has (409)
- Multihop payments
- Node 1 was closed to test if the raiden node will chose the other path it has in order to transfer tokens (from 0 to
2)
- Tried to open a channel that was already opened (worked as expected 409)
A lot more that is described in the long-running PR. Everything worked till line 139 (that's a mistake I've made and I
will address tomorrow)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment