Skip to content

Use locksroot from TokenNetwork.ChannelSettled events #4472

@pirapira

Description

@pirapira

Abstract

Now TokenNetwork.ChannelSettled() event contains locksroot of both participants. This issue keeps track of using these locksroot values in the client.

Motivation

If we do this, we do not have to look at the blockchain state for the locksroot values. This eases the state pruning problem.

Specification

Instead of asking onchain for locksroot values, use the locksroot values found in the SettleChannel() events.

Backwards Compatibility

This changes the state changes, so the databases will be broken. On raiden:develop we don't care about that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions