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.
logging gas in the tests shows
consensusCloseChannel()uses732861gas at current price = $20.672830units of that gas are going toecrecover.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.