Axum server #174

Closed
thesimplekid wants to merge 2 commits from axum_server into main
thesimplekid commented 2024-06-16 00:57:24 +00:00 (Migrated from github.com)

relies oh #164

relies oh #164
thesimplekid (Migrated from github.com) reviewed 2024-06-18 18:50:41 +00:00
@ -0,0 +1,361 @@
use std::str::FromStr;
thesimplekid (Migrated from github.com) commented 2024-06-18 18:50:05 +00:00

remove unwraps

add comment on why we do this (process internal mint/melt)

remove unwraps add comment on why we do this (process internal mint/melt)
thesimplekid (Migrated from github.com) reviewed 2024-06-18 18:51:31 +00:00
@ -0,0 +262,4 @@
let invoice = Bolt11Invoice::from_str(&quote.request)
.map_err(|_| into_response(Error::InvalidPaymentRequest))?;
thesimplekid (Migrated from github.com) commented 2024-06-18 18:51:31 +00:00

Mark proofs and Quote as pending

Mark proofs and Quote as pending
thesimplekid (Migrated from github.com) reviewed 2024-07-02 10:47:46 +00:00
@ -0,0 +77,4 @@
.route("/v1/checkstate", post(post_check))
.route("/v1/info", get(get_mint_info))
.route("/v1/restore", post(post_restore))
.layer(CorsLayer::very_permissive().allow_headers([
thesimplekid (Migrated from github.com) commented 2024-07-02 10:47:46 +00:00

Nest v1

Nest `v1`
thesimplekid commented 2024-07-02 14:42:29 +00:00 (Migrated from github.com)

close for #175

close for #175

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cashubtc/cdk!174
No description provided.