by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 26 2017 14:34
    @LefterisJP banned @poojasingh940_twitter
  • Dec 12 2017 13:36
    @LefterisJP banned @Nedu_Onyeanuna_twitter
  • Oct 10 2017 21:40
    @LefterisJP banned @etherchamp1_twitter
  • Aug 11 2016 13:48
    @heikoheiko banned @primehat23
Paul Lange
@palango
We could allow providing the private key as well. Can you open an issue with a short description on why you want this. Thanks!
Yura
@durkmurder
I definitely can
Paul Lange
@palango
:+1:
Yura
@durkmurder
@palango raiden-network/raiden#6375 Did it
naworathnayake
@naworathnayake
hey when i creating my ETH account there was a button click 0.125 ETH. when i clicked to this there is nothing working. that button is not working. so what i should i do
chauncy
@chauncy07561533_twitter
Are there any officials´╝č
Dominik Schmid
@Dominik1999
Hey @naworathnayake I am sorry to hear. May I ask you to describe a little more precisely what you wanted to do?
Yura
@durkmurder
Hey guys, have a problem here, trying to send token payment with manual resolver and nothing happens. My server doesn't get a reply and I see this warning in raiden logs.
[warning ] Received invalid SecretRequest! How to debug this?
AntonySS-manager
@AntonySS-manager
Hello! Sorry if this is a wrong place, but besides email I couldn't find any other way.
I'm Antony from SwapSpace project. SwapSpace is a cryptocurrency exchange aggregator, and we're happy to support RDN on our service! I have a few thoughts about possible collaboration. With whom can I discuss it? Thanks.
RostyslavAntonyshyn
@RostyslavAntonyshyn

Hi guys,

I've set 3 testnet nodes to test some raiden funcionality and got few errors + few questions, would be nice if you can answer them when have a chance.

Using v 1.1.0, setups are configured next way:

password-file=password-alice
keystore-path=AliceTestnetKeyStore
eth-rpc-endpoint=<infura_id>
network-id=goerli
datadir=data_testnet_alice
accept-disclaimer
gas-price=fast
environment-type=development
api-address=127.0.0.1:5002

1:After closing a channel, trying to open new one to SAME PEER always fails:

2020-07-23 10:48:38.203005 [error ] Error processing request [raiden.api.rest_utils] errors=Channel is not in an open state. status_code=<HTTPStatus.CONFLICT: 409>

2:Old channel remained closed in channellist for few hours, dissapeared after one of reboots. Should this work like that?

3:Trying to send payment on some channels:

2020-07-23 10:48:01.493740 [error ] Error processing request [raiden.api.rest_utils] errors=Payment couldn't be completed because: there is no route available status_code=<HTTPStatus.CONFLICT: 409>

4:When opening a channel we set a deposit amount field - what is this amount for? I suppossed it's something like max capacity of this channel, but I am able to deposit more coins to channel.

5:Once, after channel open I received a crash which caused my node to be offline for around 24 hours, on each start there was a crash with "UNSUPPORTED_ROOM_VERSION" error.
6:Next error happened few times on payments, causing a node crash:

2020-07-23 14:29:30.303816 [critical ] Unhandled exception when processing endpoint request [raiden.api.rest] node=0x171f0ea871A26cE1518c70AFfe8dccD919873B21
Traceback (most recent call last):
File "flask/app.py", line 1950, in full_dispatch_request
File "flask/app.py", line 1936, in dispatch_request
File "flask_restful/init.py", line 468, in wrapper
File "flask/views.py", line 89, in view
File "flask_restful/init.py", line 583, in dispatch_request
File "raiden/api/rest_utils.py", line 59, in decorated
File "raiden/api/v1/resources.py", line 114, in patch
File "raiden/api/rest.py", line 1383, in patch_channel
File "raiden/api/rest.py", line 1146, in _deposit
File "raiden/api/python.py", line 782, in set_total_channel_deposit
File "raiden/network/proxies/payment_channel.py", line 114, in approve_and_set_total_deposit
File "raiden/network/proxies/token_network.py", line 852, in approve_and_set_total_deposit
File "raiden/network/proxies/token_network.py", line 902, in _approve_and_set_total_deposit
File "raiden/network/rpc/client.py", line 1140, in estimate_gas
File "raiden/network/rpc/client.py", line 912, in estimate_gas
File "raiden/network/rpc/client.py", line 898, in estimate_gas
File "raiden/network/rpc/client.py", line 690, in patched_contractfunction_estimateGas
File "raiden/network/rpc/client.py", line 648, in estimate_gas_for_function
File "raiden/network/rpc/client.py", line 642, in estimate_gas_for_function
File "raiden/network/rpc/client.py", line 588, in patched_web3_eth_estimate_gas
File "raiden/network/rpc/client.py", line 582, in patched_web3_eth_estimate_gas
File "web3/manager.py", line 153, in request_blocking
ValueError: {'code': -32000, 'message': 'execution reverted'}

7:Error that happened on multiroute payments for me: Payment couldn't be completed because: PFS: Not enough deposit in UserDeposit contract. (PFS error code: 2107). But deposits seems ok to me, was trying to send 0.00001 TTT having a channels with 0.001 - 0.0001 TTT.

8:One payment is stuck on ui as pending. (may be causing an error in p. 7).

9:How to cancel a payment that was stuck?

Jacob Stenum Czepluch
@czepluch
Hey @RostyslavAntonyshyn
Answering some of the questions here:
1: This is expected and is related to questions 2, too. This is because when you call close there is a 500 blocks (default) settlement timeout, that allows for the counterparty of a channel to provide his balance proof to the smart contract in order to insure that no cheating is going on.
Jacob Stenum Czepluch
@czepluch
For 3: Are you sure there is a path to the addresses you're trying to send to?
4: The deposit is the amount of tokens that you deposit to the channel during channel opening. This reflects the capacity of the channel you deposit to. But yes, you can increase this number later on.
Jacob Stenum Czepluch
@czepluch

5: I can't really say what this could be caused by. Did you have a proper internet connection during this? And did you fix it somehow?

6: Could you open a full issue for this with logs attached?

7: This looks like you didn't deposit to the UserDeposit contract. This contract is the one that allows you to use the Pathfinding Service. So you can fix this by deposit to the USerDeposit contract. If you follow the guide here: for goerli and then use the SVT Token instead of RDN and use the UserDeposit contract here: https://goerli.etherscan.io/address/0x0794F09913AA8C77C8c5bdd1Ec4Bb51759Ee0cC5#code you should be able to do so.

8 and 9: This should be removed automatically after the tx times out
Karl Bartel
@karlb
@RostyslavAntonyshyn I can confirm that Problem 5 (UNSUPPORTED_ROOM_VERSION) happened yesterday on goerli. That was a problem with at least one of the Matrix servers and is resolved since 12:04 CEST yesterday.
Dominik Schmid
@Dominik1999
@RostyslavAntonyshyn can we help you setting this up? We now also have an easy onboarding tool (Raiden Wizard) for testnet
RostyslavAntonyshyn
@RostyslavAntonyshyn

it's okay atm, currently doing more testing, once see some issues will let you know, thanks

one more question, why I cannot open more than one channel to same peer?

Jacob Stenum Czepluch
@czepluch
@RostyslavAntonyshyn What would be the use case of opening more than one channel with the same peer simultaneously?
NRG
@nrgskill_gitlab
Hi there, while ago I set up a node but later took it down. Is running a node the only way to get rewards? Can I put my RDN at work for rewards in a passive way (such as delegation or staking)?
Jacob Stenum Czepluch
@czepluch
Hey @nrgskill_gitlab , at the moment the only ways to get "rewards" are through fees for mediating or running a Raiden Service Bundle. Both things require you to actively run a node or some extra infrastructure.
NRG
@nrgskill_gitlab
okk thanks]
RostyslavAntonyshyn
@RostyslavAntonyshyn
Hi guys, does raiden work on windows?
Jacob Stenum Czepluch
@czepluch
No, or rather it's not supported, so I'd be surprised if it does.
hymner
@hymner
You can run it in Windows Subsystem for Linux (WSL) on Windows 10 :)
ILJA TKACHUK
@IljaTkachuk_twitter
Hello! Can anybody provide good video courses for typical bitcoiner (with UTXO/HTLC mindset) to understand implementation details of ethereum, differences between bitcoin and ethereum opcodes in output scripts which are making possible HTLCs, differences between revokable transaction implementations in Raiden and Lightning Network (I understand LN pretty well, but want to learn about Raiden side of things). Basically I want something similar to this MIT course, but for ethereum world
https://ocw.mit.edu/courses/media-arts-and-sciences/mas-s62-cryptocurrency-engineering-and-design-spring-2018/lecture-videos/
ILJA TKACHUK
@IljaTkachuk_twitter
Also would like to read Raiden whitepaper with detailed explanation of protocol.. Was able to find only very general high-level description without details of HTLCs structure, examples of HTLCs execution, how participants can verify it onchain, prevent settlment of not latest state etc
Dominik Schmid
@Dominik1999
hymner
@hymner
Hey guys, great job on Raiddit, very cool :) Will there also be a medium post and tweet from the official account ? so we can spread the news...
ILJA TKACHUK
@IljaTkachuk_twitter
Hi guys! Have you heard about this L2 solution? If so, what's the main differences with Raiden? https://github.com/connext
Jacob Stenum Czepluch
@czepluch
@hymner yeah, we hope to get something ready today
hymner
@hymner
great!
Jacob Stenum Czepluch
@czepluch
@IljaTkachuk_twitter Yes, we know connext quite well. The two solutions are quite similar as they both use the concept of state/payment channels. As of right now I think the biggest difference is that they use a single hub for mediating payments which adds some kind of centralization to their solution.
ILJA TKACHUK
@IljaTkachuk_twitter
Thanks for reply! I also have a question about justice transactions. In LN world we use this term to define transaction which is broadcasted to blockchain by A if B for some reason broadcasted state which is not latest. In this case A have some amount of blocks (defined in HTLC) to broadcast justice transaction which spends B's part of the channel (using revocation key). This mechanism makes fraud behaviour not profitable. Primary LN node implementations like LND and Eclair are constantly watching blockchain for malicious transactions, and execute justice transaction immediately if they are able to do it. This process is automated, and don't need any user attention. This is good, because if user interaction is needed - then he can miss malicious block and then bad actor B can just spend his part of the channel after N blocks defined in HTLC are mined. Is there any sort of this justice transaction automation in Raiden, or it's needed to be written manually in client/peer/wallet side?
Karl Bartel
@karlb
@IljaTkachuk_twitter During channel settlement, your Raiden node will automatically submit the latest balance proof to make sure the channel is settled with the latest data (https://raiden-network-specification.readthedocs.io/en/latest/smart_contracts.html#channel-settlement). If your node is not online, a monitoring service can take care of that for you (https://raiden-network-specification.readthedocs.io/en/latest/monitoring_service.html), comparable to a Lightning watchtower.
christianbrb
@christianbrb
@hymner Here is the link to the medium blog post about Raiddit (https://medium.com/@raiden_network/raiddit-scaling-reddit-community-points-with-raiden-9fe60c14ae47)
hymner
@hymner
@christianbrb Thanks, seen it read it shared it! Very well written!
Eward
@Jeegord_twitter
Hello guys, I am trying to set up a raiden service bundle on my own computer for test purposes (on ropsten network). Question - is it possible to set it up without a public domain? As far as I see whenever I try to launch it one of the containers (traefik I think) is trying to register a certificate for domain specified in .env file.
Ulrich Petri
@ulope

Hi @Jeegord_twitter, the RSB setup from the raiden-service-bundle repo is intended for production use and therefore can not work without a publicly accessible domain.
It is however of course possible to run all or some of the components of the RSB (Monitoring Service and MS Request Collector, Path Finding Service and Matrix Transport) locally for testing.

For MS and PFS the instructions in the repo readme should get you started: https://github.com/raiden-network/raiden-services
If you want to run a Matrix sever ready for use with Raiden locally the easiest way is probably to re-use the testing infrastructure from Raiden itself: https://github.com/raiden-network/raiden/blob/a6299f4c6749d3e0acecac18eb324eb51d8b44d1/raiden/tests/utils/transport.py#L343
(See here and here how that is invoked.)
Please be aware though that this is considered internal code and therefore we can make no guarantees about API stability etc.

Eward
@Jeegord_twitter
thank you, I guess I need only monitoring and pathfinding, so I'll focus on that
Eward
@Jeegord_twitter
One more question - I was trying to play with channel functionality by running 2 raiden nodes on my pc using webui provided by raiden node.
I was able to open the channel and send some TTT tokens(ropsten network) in both directions and then I closed the channel.
From UI of both channel participants the channel is shown as closed, and on chain transactions (closeChannel and updateNonClosingBalanceProof) are confirmed.
This has happened 30 minutes ago and since then both participants see channel as closed and both of them have not received any tokens back on chain.
There are no more pending or failing transactions on chain as well for both of the participants and no errors in their logs.
Did I do something wrong here? Or how/when the participants are supposed to get their tokens back on chain?
Karl Bartel
@karlb
There's a settle timeout which has to pass before the settlement will be completed. This is to give the non-closing participant enough time to update his side of the channel. By default the timeout is 500 blocks (~2 hours), but a different timeout can be chosen.
So you probably did everything right and will receive the tokens when the timeout is over.
We call these two different channel states "closed" and "settled" respectively.
Eward
@Jeegord_twitter
But why it cannot be settled immediatly if both of the participants are online and willing to confirm channel state?
Or this functionality is just not available in webui?
Karl Bartel
@karlb
The current settlement process is the one where non-cooperative partners are assumed. We do have an implementation for cooperative settlement which avoids this timeout and is more gas efficient, but it is not enable in the current codebase.
Eward
@Jeegord_twitter
ok, thanks for the explanation!
Karl Bartel
@karlb
Enabling it right away would push the TokenNetwork contract over the maximum deployable size for contracts, so we need to work around that first.
ILJA TKACHUK
@IljaTkachuk_twitter
Hi guys! Is there support of hodl invoices in Raiden? Basically it's normal invoice, but R (payment preimage) resolution could be postponed, and resolved in separate RPC. It's quite useful thing for atomic cross-protocol swaps, here is example
https://wiki.ion.radar.tech/tech/research/hodl-invoice
Dominik Schmid
@Dominik1999
Hey @IljaTkachuk_twitter we do not support that yet, it looks super interesting though. We will investigate