Skip to content

Commit 1ba4859

Browse files
authored
Merge pull request #45 from ben-kaufman/feat/add-closed-channels-table
Add closed channels table
2 parents 423598b + 834003d commit 1ba4859

File tree

23 files changed

+4839
-2536
lines changed

23 files changed

+4839
-2536
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bitkitcore"
3-
version = "0.1.20"
3+
version = "0.1.21"
44
edition = "2021"
55

66
[lib]

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let tag = "v0.1.20"
7-
let checksum = "c39b9e8dd3c49996b8806cadbe2530b80f9dcd684201fd0b08a7761f61ef3772"
6+
let tag = "v0.1.21"
7+
let checksum = "aea7a02fde241bfdb5899d4b0070508914ce801fe10af670a25c175fed757957"
88
let url = "https://github.com/synonymdev/bitkit-core/releases/download/\(tag)/BitkitCore.xcframework.zip"
99

1010
let package = Package(

bindings/android/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ android.useAndroidX=true
33
android.enableJetifier=true
44
kotlin.code.style=official
55
group=com.synonym
6-
version=0.1.20
6+
version=0.1.21
Binary file not shown.
Binary file not shown.
3.14 MB
Binary file not shown.
3.56 MB
Binary file not shown.

bindings/android/lib/src/main/kotlin/com/synonym/bitkitcore/bitkitcore.android.kt

Lines changed: 218 additions & 0 deletions
Large diffs are not rendered by default.

bindings/android/lib/src/main/kotlin/com/synonym/bitkitcore/bitkitcore.common.kt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,28 @@ data class AddressResponse (
217217

218218

219219

220+
@kotlinx.serialization.Serializable
221+
data class ClosedChannelDetails (
222+
val `channelId`: kotlin.String,
223+
val `counterpartyNodeId`: kotlin.String,
224+
val `fundingTxoTxid`: kotlin.String,
225+
val `fundingTxoIndex`: kotlin.UInt,
226+
val `channelValueSats`: kotlin.ULong,
227+
val `closedAt`: kotlin.ULong,
228+
val `outboundCapacityMsat`: kotlin.ULong,
229+
val `inboundCapacityMsat`: kotlin.ULong,
230+
val `counterpartyUnspendablePunishmentReserve`: kotlin.ULong,
231+
val `unspendablePunishmentReserve`: kotlin.ULong,
232+
val `forwardingFeeProportionalMillionths`: kotlin.UInt,
233+
val `forwardingFeeBaseMsat`: kotlin.UInt,
234+
val `channelName`: kotlin.String,
235+
val `channelClosureReason`: kotlin.String
236+
) {
237+
companion object
238+
}
239+
240+
241+
220242
/**
221243
* Coin purchase memo
222244
*/
@@ -1162,6 +1184,7 @@ data class OnchainActivity (
11621184
val `confirmed`: kotlin.Boolean,
11631185
val `timestamp`: kotlin.ULong,
11641186
val `isBoosted`: kotlin.Boolean,
1187+
val `boostTxIds`: List<kotlin.String>,
11651188
val `isTransfer`: kotlin.Boolean,
11661189
val `doesExist`: kotlin.Boolean,
11671190
val `confirmTimestamp`: kotlin.ULong?,
@@ -3061,6 +3084,10 @@ enum class WordCount {
30613084

30623085

30633086

3087+
3088+
3089+
3090+
30643091

30653092

30663093

0 commit comments

Comments
 (0)