Skip to content

Commit

Permalink
Merge pull request #167 from synonymdev/config-update
Browse files Browse the repository at this point in the history
Update defaultUserConfig
  • Loading branch information
Jasonvdb authored Sep 13, 2023
2 parents dc345d9 + c0b4f9c commit 38b9f9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ PODS:
- React-jsinspector (0.70.6)
- React-logger (0.70.6):
- glog
- react-native-ldk (0.0.104):
- react-native-ldk (0.0.106):
- React
- react-native-randombytes (3.6.1):
- React-Core
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@synonymdev/react-native-ldk",
"title": "React Native LDK",
"version": "0.0.104",
"version": "0.0.106",
"description": "React Native wrapper for LDK",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions lib/src/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ export type TChannelHandshakeConfig = {
their_channel_reserve_proportional_millionths?: number; //UInt32
negotiate_anchors_zero_fee_htlc_tx?: boolean;
our_max_accepted_htlcs_arg?: number; //UInt16
max_inbound_htlc_value_in_flight_percent_of_channel?: number; //UInt8
};

export type TChannelHandshakeLimits = {
Expand Down Expand Up @@ -364,6 +365,7 @@ export const defaultUserConfig: TUserConfig = {
announced_channel: false,
minimum_depth: 1,
max_htlc_value_in_flight_percent_of_channel: 100,
max_inbound_htlc_value_in_flight_percent_of_channel: 100,
negotiate_anchors_zero_fee_htlc_tx: true,
},
manually_accept_inbound_channels: true,
Expand Down

0 comments on commit 38b9f9f

Please sign in to comment.