File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ which are supported but not yet part of this guide.
21
21
- [ ] Initialize the fee estimator
22
22
* What it's used for: estimating fees for on-chain transactions that LDK wants broadcasted.
23
23
* Dependencies: none
24
+ * References: [ Rust docs] ( https://docs.rs/lightning/0.0.12/lightning/chain/chaininterface/trait.FeeEstimator.html ) , [ Java bindings] ( https://github.com/lightningdevkit/ldk-garbagecollected/blob/main/src/main/java/org/ldk/structs/FeeEstimator.java )
24
25
25
26
Example fee estimator that always returns ` 253 ` satoshis:
26
27
``` java
@@ -38,7 +39,9 @@ final logger = Logger.new_impl((String arg) -> System.out.println(arg));
38
39
- [ ] Initialize the transaction broadcaster
39
40
* What it's used for: broadcasting various lightning transactions
40
41
* Dependencies: none
41
- * Example transaction broadcaster skeleton:
42
+ * References: [ Rust docs] ( https://docs.rs/lightning/0.0.12/lightning/chain/chaininterface/trait.BroadcasterInterface.html ) , [ Java bindings] ( https://github.com/lightningdevkit/ldk-garbagecollected/blob/main/src/main/java/org/ldk/structs/BroadcasterInterface.java )
43
+
44
+ Example transaction broadcaster skeleton:
42
45
``` java
43
46
// Note that the `tx` argument is a []byte type.
44
47
final tx_broadcaster = BroadcasterInterface . new_impl(tx - > {
@@ -48,6 +51,7 @@ final tx_broadcaster = BroadcasterInterface.new_impl(tx -> {
48
51
- [ ] Initialize the channel data persister
49
52
* What it's used for: persisting crucial channel data in a timely manner
50
53
* Dependencies: none
54
+ * References: [ Rust docs] ( https://docs.rs/lightning/0.0.12/lightning/chain/channelmonitor/trait.Persist.html ) , [ Java bindings] ( https://github.com/lightningdevkit/ldk-garbagecollected/blob/main/src/main/java/org/ldk/structs/Persist.java )
51
55
* Example:
52
56
``` java
53
57
Persist persister = Persist . new_impl(new Persist .PersistInterface () {
You can’t perform that action at this time.
0 commit comments