Oak

Check-in [f1b7404732]
Login

Check-in [f1b7404732]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:fix(lnurl): Remove deprecated LNURL-pay description hash validation
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f1b7404732a3ded2b03c415e75aed46c5dd0a93d4ad8ffa004d0edb83a7176ee
User & Date: carlos 2023-09-17 18:34:32
References
2023-09-17
19:36 Closed ticket [d42f7f9064]: LNURL-pay: Remove metadata description_hash validation plus 5 other changes artifact: 409463c770 user: carlos
Context
2023-09-17
18:49
ref(deps): Bump Nostr SDK dependency check-in: 7378c676a0 user: carlos tags: trunk
18:34
fix(lnurl): Remove deprecated LNURL-pay description hash validation check-in: f1b7404732 user: carlos tags: trunk
2023-09-15
18:44
fix(ui): Improve dashboard wording check-in: c916f527d2 user: carlos tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to CHANGELOG.md.

1
2
3
4
5
6
7
8
9
10

11
12
13
14
15
16
17
# Changelog

## [Unreleased](/timeline?p=trunk&bt=v0.3.7)

Added

* Dark mode

Changed


* Nostr: When using more relays, latency is used to determine best relay
* Nostr: Improve connection reliability and choice of default relay during NIP-47 Wallet Connect setup

---

## [v0.3.7 (2023-06-20)](/timeline?p=v0.3.7&bt=v0.3.6)











>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Changelog

## [Unreleased](/timeline?p=trunk&bt=v0.3.7)

Added

* Dark mode

Changed

* LNURL-pay: Removed deprecated description hash validation
* Nostr: When using more relays, latency is used to determine best relay
* Nostr: Improve connection reliability and choice of default relay during NIP-47 Wallet Connect setup

---

## [v0.3.7 (2023-06-20)](/timeline?p=v0.3.7&bt=v0.3.6)

Changes to Cargo.lock.

2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a9bad9f94746442c783ca431b22403b519cd7fbeed0533fdd6328b2f2212128"

[[package]]
name = "ln-sdk"
version = "0.2.0-SNAPSHOT"
source = "git+https://oak-node.net/cgit/ln-sdk.git?rev=3a74e4093b337a964a25337e3a4b694fada04931#3a74e4093b337a964a25337e3a4b694fada04931"
dependencies = [
 "anyhow",
 "async-trait",
 "base64 0.20.0",
 "bech32",
 "cfg_aliases",
 "hex",
 "lightning-invoice",
 "log",
 "reqwest",
 "serde",
 "serde_json",
 "serde_with",
 "sha256",
 "utoipa",
]

[[package]]
name = "lock_api"
version = "0.4.10"
source = "registry+https://github.com/rust-lang/crates.io-index"







|













<







2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297

2298
2299
2300
2301
2302
2303
2304
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a9bad9f94746442c783ca431b22403b519cd7fbeed0533fdd6328b2f2212128"

[[package]]
name = "ln-sdk"
version = "0.2.0-SNAPSHOT"
source = "git+https://oak-node.net/cgit/ln-sdk.git?rev=58fb158856891d13d65689f1749119df8e2792ab#58fb158856891d13d65689f1749119df8e2792ab"
dependencies = [
 "anyhow",
 "async-trait",
 "base64 0.20.0",
 "bech32",
 "cfg_aliases",
 "hex",
 "lightning-invoice",
 "log",
 "reqwest",
 "serde",
 "serde_json",
 "serde_with",

 "utoipa",
]

[[package]]
name = "lock_api"
version = "0.4.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
 "rocket",
 "rocket_db_pools",
 "rocket_dyn_templates",
 "serde",
 "serde_json",
 "serde_with",
 "serde_yaml 0.9.25",
 "sha256",
 "sqlx",
 "tokio",
 "tokio-tungstenite",
 "utoipa",
 "utoipa-swagger-ui",
]








<







2765
2766
2767
2768
2769
2770
2771

2772
2773
2774
2775
2776
2777
2778
 "rocket",
 "rocket_db_pools",
 "rocket_dyn_templates",
 "serde",
 "serde_json",
 "serde_with",
 "serde_yaml 0.9.25",

 "sqlx",
 "tokio",
 "tokio-tungstenite",
 "utoipa",
 "utoipa-swagger-ui",
]

3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
 "flate2",
 "miniz_oxide",
]

[[package]]
name = "powpub"
version = "0.1.4-SNAPSHOT"
source = "git+https://oak-node.net/cgit/powpub.git?rev=d066b7fbeb432d0d0a02d7da66ea3efc52517d03#d066b7fbeb432d0d0a02d7da66ea3efc52517d03"
dependencies = [
 "anyhow",
 "async-trait",
 "base64 0.20.0",
 "bech32",
 "cfg_aliases",
 "env_logger",







|







3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
 "flate2",
 "miniz_oxide",
]

[[package]]
name = "powpub"
version = "0.1.4-SNAPSHOT"
source = "git+https://oak-node.net/cgit/powpub.git?rev=33456c4ba7fc173a60ce48b287d1c29d55f071d3#33456c4ba7fc173a60ce48b287d1c29d55f071d3"
dependencies = [
 "anyhow",
 "async-trait",
 "base64 0.20.0",
 "bech32",
 "cfg_aliases",
 "env_logger",
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8"
dependencies = [
 "cfg-if",
 "cpufeatures",
 "digest 0.10.7",
]

[[package]]
name = "sha256"
version = "1.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7895c8ae88588ccead14ff438b939b0c569cd619116f14b4d13fdff7b8333386"
dependencies = [
 "async-trait",
 "bytes",
 "hex",
 "sha2 0.10.7",
]

[[package]]
name = "sha3"
version = "0.10.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60"
dependencies = [
 "digest 0.10.7",







<
<
<
<
<
<
<
<
<
<
<
<







4230
4231
4232
4233
4234
4235
4236












4237
4238
4239
4240
4241
4242
4243
checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8"
dependencies = [
 "cfg-if",
 "cpufeatures",
 "digest 0.10.7",
]













[[package]]
name = "sha3"
version = "0.10.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60"
dependencies = [
 "digest 0.10.7",

Changes to Cargo.toml.

10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
chrono = { version = "*", default-features = false }
deltachat = { git = "https://github.com/deltachat/deltachat-core-rust", tag="1.108.0"}
futures-lite = "*"
futures-util = "*"
hex = "*"
itertools = "*"
lightning-invoice = "*"
ln-sdk = { git = "https://oak-node.net/cgit/ln-sdk.git", rev = "3a74e4093b337a964a25337e3a4b694fada04931", features = [ "client-lnd", "utoipa" ] }
log = "*"
log4rs = "*"
powpub = { git = "https://oak-node.net/cgit/powpub.git", rev = "d066b7fbeb432d0d0a02d7da66ea3efc52517d03", features = [ "client-lnd", "utoipa" ] }
qrcode-generator = "*"
nostr = { git = "https://github.com/rust-nostr/nostr", default-features = false, features = ["nip04", "nip05", "nip47"], rev = "01adb3f9d1ba90586a08b3ff2652ac070ec083ae" }
nostr-sdk = { git = "https://github.com/rust-nostr/nostr", default-features = false, rev = "01adb3f9d1ba90586a08b3ff2652ac070ec083ae" }
reqwest = { version = "*", default-features = false, features = ["json", "native-tls", "socks"] }
rocket = { version = "0.5.0-rc.3", features = ["json"] }
rocket_db_pools = { version = "0.1.0-rc.3", features = ["sqlx_sqlite"] }
rocket_dyn_templates = { version = "0.1.0-rc.3", features = ["tera"] }
serde = "*"
serde_json = "*"
serde_with = "*"
serde_yaml = "*"
sha256 = { version = "*", default-features = false }
# Keep version in sync with sqlx used by rocket_db_pools
# See https://crates.io/crates/rocket_db_pools/0.1.0-rc.3/dependencies
sqlx = { version = "0.6.3", default-features = false, features = ["macros", "offline", "migrate"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"] }
tokio-tungstenite = {version = "*", features = ["native-tls"]}
utoipa = { version = "*", features = ["rocket_extras"] }
utoipa-swagger-ui = { version = "*", features = ["rocket"] }







|


|











<







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

32
33
34
35
36
37
38
chrono = { version = "*", default-features = false }
deltachat = { git = "https://github.com/deltachat/deltachat-core-rust", tag="1.108.0"}
futures-lite = "*"
futures-util = "*"
hex = "*"
itertools = "*"
lightning-invoice = "*"
ln-sdk = { git = "https://oak-node.net/cgit/ln-sdk.git", rev = "58fb158856891d13d65689f1749119df8e2792ab", features = [ "client-lnd", "utoipa" ] }
log = "*"
log4rs = "*"
powpub = { git = "https://oak-node.net/cgit/powpub.git", rev = "33456c4ba7fc173a60ce48b287d1c29d55f071d3", features = [ "client-lnd", "utoipa" ] }
qrcode-generator = "*"
nostr = { git = "https://github.com/rust-nostr/nostr", default-features = false, features = ["nip04", "nip05", "nip47"], rev = "01adb3f9d1ba90586a08b3ff2652ac070ec083ae" }
nostr-sdk = { git = "https://github.com/rust-nostr/nostr", default-features = false, rev = "01adb3f9d1ba90586a08b3ff2652ac070ec083ae" }
reqwest = { version = "*", default-features = false, features = ["json", "native-tls", "socks"] }
rocket = { version = "0.5.0-rc.3", features = ["json"] }
rocket_db_pools = { version = "0.1.0-rc.3", features = ["sqlx_sqlite"] }
rocket_dyn_templates = { version = "0.1.0-rc.3", features = ["tera"] }
serde = "*"
serde_json = "*"
serde_with = "*"
serde_yaml = "*"

# Keep version in sync with sqlx used by rocket_db_pools
# See https://crates.io/crates/rocket_db_pools/0.1.0-rc.3/dependencies
sqlx = { version = "0.6.3", default-features = false, features = ["macros", "offline", "migrate"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"] }
tokio-tungstenite = {version = "*", features = ["native-tls"]}
utoipa = { version = "*", features = ["rocket_extras"] }
utoipa-swagger-ui = { version = "*", features = ["rocket"] }