Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Block raiden startup until the ethereum client is fully synchronized #670
Raiden may be connected to an ethereum client that is not fully synchronized, under this circumstance the ethereum client will not provided the latest events required by the Raiden node, this would effectively make Raiden unaware of channel changes and could lead to token loss.
Wait for the geth node to fully synchronize before starting to operate.
This is only a proper solution if the Raiden node is starting fresh, i.e. the first run without pending transfers, and it's only as a tool to prevent bad behavior, it's not sufficient for scenarios were the ethereum client had it's database deleted, we cannot prevent that from happening and there is not way to recover aside from wait until the database is synchronized, for this scenario third parties are required to provide safe operation and are outside of the scope of this issue.