-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tapchannelmsg: add max read size argument
This commit introduces a `max read size` argument to the `ReadOpenChannel` and `ReadCommitment` functions. Testing showed that with large but valid asset amounts, the channel custom records buffer size exceeded `tlv.MaxRecordSize`. To address this, we have two options: increase the max record size for channel data or dynamically set the max read size. Given that the data is already in memory, the latter approach is more robust.
- Loading branch information
Showing
1 changed file
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters