Skip to content

Commit

Permalink
Merge branch 'master' into sync-backup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonvdb committed Sep 20, 2023
2 parents fb7111e + 5e6ce7f commit d25c176
Show file tree
Hide file tree
Showing 18 changed files with 481 additions and 76 deletions.
15 changes: 15 additions & 0 deletions example/Dev.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,21 @@ const Dev = (): ReactElement => {
setMessage('Node Restarted');
}}
/>
<Button
title={'Sign message'}
onPress={async (): Promise<void> => {
setMessage('Signing...');
const res = await ldk.nodeSign({
message: 'Hello Bitcoin',
});
if (res.isErr()) {
setMessage(res.error.message);
return;
}

setMessage(res.value);
}}
/>
</View>
</ScrollView>

Expand Down
2 changes: 2 additions & 0 deletions example/docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,7 @@ server {

# polaruser:polarpass in base64
proxy_set_header Authorization "Basic cG9sYXJ1c2VyOnBvbGFycGFzcw==";

proxy_read_timeout 600s;
}
}
5 changes: 2 additions & 3 deletions 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.109):
- React
- react-native-libsodium (0.0.1):
- React-Core
Expand Down Expand Up @@ -598,8 +598,7 @@ SPEC CHECKSUMS:
React-jsiexecutor: b4a65947391c658450151275aa406f2b8263178f
React-jsinspector: 60769e5a0a6d4b32294a2456077f59d0266f9a8b
React-logger: 1623c216abaa88974afce404dc8f479406bbc3a0
react-native-ldk: ec203b12e45aeb89352b3293ad187af41766f042
react-native-libsodium: f4eba037c4ddf73f86b08075452cacb957256147
react-native-ldk: 3c1cd457a2372ef3eda9fbe144f4cdf6bc1fd6c3
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
react-native-tcp-socket: c1b7297619616b4c9caae6889bcb0aba78086989
React-perflogger: 8c79399b0500a30ee8152d0f9f11beae7fc36595
Expand Down
1 change: 1 addition & 0 deletions example/ldk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ export const setupLdk = async (
highPriority: 10,
normal: 5,
background: 1,
mempoolMinimum: 1,
}),
getTransactionData,
getTransactionPosition,
Expand Down
Loading

0 comments on commit d25c176

Please sign in to comment.