Cesar Rodas cesar

cesar извршује push на wasm-http у cesar/cdk

  • 817dd29c5a fix: make http wallet subscriptions wasm compatible
  • f2f5425395 Add more Amount::split_with_fee tests (#1058)
  • c7f6af0749 fix: clippy warn (#1063)
  • 053a3a7e43 Do not fallback to HTTP on first error (#1061) Instead use the same failure counter. Fixes #496
  • 21b4080810 FFI bindings for Wallet (#932) * feat: Add initial CDK FFI bindings using UniFFI proc macros * feat: Add complete Wallet methods to CDK FFI bindings

пре 1 месец

cesar створи нову филијалy wasm-http at cesar/cdk

пре 1 месец

cesar извршује push на update/signatory-proto у cesar/cdk

  • b28e0f1b0b WIP
  • aa624d3afd fix: lnbits payment check and units (#981) * fix: lnbits payment check and units --------- Co-authored-by: asmo <asmogo@protonmail.com>
  • 818367a8fa fix: reduce mmap_size to 5 MiB (#980)
  • ecdc78135d refactor(cdk): defer BOLT12 invoice fetching to payment execution (#978) * refactor(cdk): defer BOLT12 invoice fetching to payment execution Move BOLT12 invoice generation from quote creation to payment time, make request_lookup_id optional for offers, and simplify payment structures by removing unnecessary boxing and intermediate storage of invoices.
  • 5c5075af71 feat: refresh keysets (#974) * feat: refresh keysets * feat: rename get_mint_info to fetch_mint_info

пре 1 месец

cesar створи нову филијалy update/signatory-proto at cesar/cdk

пре 1 месец

cesar извршује push на tmpxxx у cesar/cdk

  • 5327b9ae30 Add PostgreSQL support
  • 638937fd17 Introduce `cdk-sql-common` The primary purpose of this new crate is to have a common and shared codebase for all SQL storage systems. It would force us to write standard SQL using best practices for all databases. This crate has been extracted from #878
  • 0605eddf6f Merge pull request #910 from thesimplekid/flake_check_as_daily_check refactor(ci): move flake check from CI to separate daily workflow
  • 4997af879a refactor(ci): move flake check from CI to separate daily workflow Move Nix flake input checking from the main CI pipeline to a dedicated daily scheduled workflow to reduce CI build time while maintaining regular dependency monitoring.
  • 7b2e31a3df Merge pull request #903 from thesimplekid/mint_start feat(cdk): add mint lifecycle management with start/stop methods

пре 1 месец

cesar створи нову филијалy tmpxxx at cesar/cdk

пре 1 месец

cesar извршује push на proto/improved-pubsub у cesar/cdk

  • 5fbed59059 Add support for wallet remote pubsub consumer
  • 4ee3a3b9bc Introduce a generic pubsub mod in cdk-common Remove all previous implementations that were cumbersome and complicated, full of generics, in favor of a simpler generic pubsub with simpler concepts. The pubsub has a simple database optional implementation to persist the latest messages and send them to new subscribers. The same codebase is shared between the mint and the wallet. The wallet implements a remote pubsub subscription, which connects to a remote pubsub via two methods: polling or long connections, both of which are abstracted. Internally, a local pubsub is used to distribute messages efficiently and coalesce subscriptions TODO: Implement the remote subscription into the wallet
  • bf6b672fdc chore: add tag to 0.13.0
  • 6ad2c3a67e chore: ffi to release
  • fb84343993 Bump v0.13 (#1106)

пре 1 месец

cesar створи нову филијалy proto/improved-pubsub at cesar/cdk

пре 1 месец

cesar извршује push на generic_store у cesar/cdk

  • cfec30a376 refactor: move tests
  • 77437f8c08 feat(cdk): add generic key-value store functionality for mint databases Implements a comprehensive KV store system with transaction support, namespace-based organization, and validation for mint databases. - Add KVStoreDatabase and KVStoreTransaction traits for generic storage - Include namespace and key validation with ASCII character restrictions - Add database migrations for kv_store table in SQLite and PostgreSQL - Implement comprehensive test suite for KV store functionality - Integrate KV store traits into existing Database and Transaction bounds
  • 6067242793 fix: cdk melt quote track payment method (#1021) Add payment_method field to MeltQuote struct to track whether quotes use BOLT11 or BOLT12 payment methods. Include database migrations for both SQLite and PostgreSQL to support the new field. Update melt operations to set and use the payment method for proper routing between BOLT11 and BOLT12 endpoints.
  • 7246ea2e10 fix: bolt12 is nut25 (#1020)
  • 7a71a37eab refactor(payment): replace wait_any_incoming_payment with event-based system (#1019) Rename wait_any_incoming_payment to wait_payment_event and change return type from WaitPaymentResponse stream to Event stream. This introduces a new Event enum that wraps payment responses, making the system more extensible for future event types. - Add Event enum with PaymentReceived variant - Update MintPayment trait method signature - Refactor all payment backend implementations (LND, CLN, LNBits, fake wallet) - Update mint and payment processor to handle new event stream forma

пре 1 месец

cesar створи нову филијалy generic_store at cesar/cdk

пре 1 месец

cesar извршује push на fooxxx у cesar/cdk

  • 6a26d75b2e Add postgres integration for cdk-cli
  • f037308f06 Add PostgreSQL support
  • 9e4b768657 Merge pull request #927 from thesimplekid/goose_in_ci Goose changelog recipes
  • dc19798201 feat(dev): add Goose recipes for changelog and commit message generation - Add new Goose recipes for generating conventional commit messages and updating changelogs - Include recipes for both staged changes and recent commits analysis - Add convenient Just commands for running the new recipes - Update README with usage instructions for the new recipes ([thesimplekid]).
  • 6ebcbba0c4 refactor: update send functionality across wallet components (#925) * refactor: update send functionality across wallet components --------- Co-authored-by: thesimplekid <tsk@thesimplekid.com>

пре 1 месец

cesar створи нову филијалy fooxxx at cesar/cdk

пре 1 месец

cesar извршује push на fix_nix_build_outdir у cesar/cdk

  • eb2bbd8734 fix(build): use OUT_DIR for migration files - write generated migration files to OUT_DIR instead of source directory - copy migration SQL files to OUT_DIR for inclusion in build artifacts - use absolute paths from OUT_DIR in include_str! macros - update consumer modules to include from OUT_DIR using concat! macro these changes enable cdk to support nix sandbox builds
  • 4f65441c0d chore: move `pay_request` logic into cdk lib (#1028) * pay request into cdk lib
  • 7d78240da5 Improve web interface with dynamic status, navigation, and mobile support (#1073) * Improve transaction confirmation UI: reorder elements, move buttons to details card, shorten button text * feat: real node status --------- Co-authored-by: thesimplekid <tsk@thesimplekid.com>
  • 2c9333449a fix: replace std::time with instant for wasm (#1060)
  • aab85d2083 feat: update redb (#1071)

пре 1 месец

cesar створи нову филијалy fix_nix_build_outdir at cesar/cdk

пре 1 месец

cesar извршује push на fix/subscription-race-condition у cesar/cdk

  • 83f2f6b07a Fix missed events race when creating subscriptions Previously, we fetched the initial state *before* registering the new subscription. Any events emitted after the DB read but before the subscription was installed were dropped—most visible under low-resource conditions (e.g., CI). Change: - Register the subscription first, then asynchronously fetch and send the initial state (spawned task). This eliminates the window where events could be missed. - Require `F: Send + Sync` and store `on_new_subscription` as `Arc<F>` so it can be safely used from the spawned task. Result: - No gap between “subscribe” and “start receiving,” avoiding lost events. - Initial state still delivered, now via a background task. Implementation highlights (see diff): - `on_new_subscription: Option<Arc<F>>` - Added `Send + Sync` bounds to `F` - Move initial-state fetch into `tokio::spawn` after index insertion
  • 2131f89068 Abstract the HTTP Transport (#1012) * Abstract the HTTP Transport This PR allows replacing the HTTP transport layer with another library, allowing wallet ffi to provide a better-suited HTTP library that would be used instead of Reqwest.
  • 14473d8051 Merge pull request #1002 from asmogo/fix/psql_tls feat: add TLS support for PostgreSQL connections
  • 7a22f85185 chore: remove readme postgres (#1009) * chore: remove readme postgres
  • 7995a93943 patch sha256 (#1013)

пре 1 месец

cesar створи нову филијалy fix/subscription-race-condition at cesar/cdk

пре 1 месец

cesar извршује push на fix/sql-migration-ordering у cesar/cdk

  • 3dd4c80d99 Add consistent ordering of sql migrations Also sort the prefix and not only the filenames
  • caa0b4a9f5 fix: remove unused structs (#1042)
  • 5518ad2654 feat(cdk): add quote_id field to transactions for quote tracking (#1041) - Add quote_id field to Transaction struct in cdk-common - Add database migrations for quote_id column in SQLite and PostgreSQL - Update wallet operations to populate quote_id for mint/melt transactions - Set quote_id to None for send/receive operations without associated quotes
  • 9b35158a8a fix: sig error code (#1038)
  • ded165f405 Update the signatory.proto file to match NUT-XXX (#1032) * Update the signatory.proto file to match NUT-XXX Source: https://github.com/cashubtc/nuts/pull/250/files * Add unit tests as requested in https://github.com/cashubtc/cdk/pull/1032#discussion_r2321436860 * Remove unused types from proto file

пре 1 месец

cesar створи нову филијалy fix/sql-migration-ordering at cesar/cdk

пре 1 месец

cesar извршује push на fix/race-conditions-ci у cesar/cdk

  • 9ab8ed875c Fix race conditions in minting tests There was a race conditions between the database storing the mint quote and the fake wallet paying the invoice of a yet not existing mint quote Add a delay of seconds before paying all invoices To recreate the slow conditions that would make our database slower than the external Fakewallet in Linux ``` sudo tc qdisc add dev lo root netem delay 200ms 50ms ionice -c3 nix develop -i -L .#stable --command just itest-payment-processor FAKEWALLET ``` To reset ``` sudo tc qdisc del dev lo root ```
  • 3dd4c80d99 Add consistent ordering of sql migrations Also sort the prefix and not only the filenames
  • caa0b4a9f5 fix: remove unused structs (#1042)
  • 5518ad2654 feat(cdk): add quote_id field to transactions for quote tracking (#1041) - Add quote_id field to Transaction struct in cdk-common - Add database migrations for quote_id column in SQLite and PostgreSQL - Update wallet operations to populate quote_id for mint/melt transactions - Set quote_id to None for send/receive operations without associated quotes
  • 9b35158a8a fix: sig error code (#1038)

пре 1 месец

cesar створи нову филијалy fix/race-conditions-ci at cesar/cdk

пре 1 месец