Skip to content

expensive closing #5

@nginnever

Description

@nginnever

logging gas in the tests shows consensusCloseChannel() uses 732861 gas at current price = $20. 672830 units of that gas are going to ecrecover.

this proposal should reduce that cost in half

ethereum/EIPs#1088

An alternative is to break the consensusCloseChannel() into two transactions, similar to how a channel is opened. So instead of signing a close flag the hub and counterparty would both call a function to exit a ledger channel cooperatively.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions