wallet: offline keyset-fee accessor for the precheck (upstream gonuts API) — follow-up to #525
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 28/100
Direzione di ricerca
Start by reading tollwallet.mintKeysetFees and the loadWalletMints flow, then inspect the upstream gonuts wallet state and its wallet/storage.BoltDB.GetKeysets() accessor. The issue proposes an exported Wallet.MintKeysetFees(mintURL) API and re-pointing the precheck to it; done means the precheck can read cached keyset fees offline and no longer uses the network path.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Follow-up to #525 (now bounded in-repo by the precheck budget): the strictly-better long-term fix is reading the cached keyset fees from the wallet's local bolt DB instead of the network — the data is already there (kept warm by loadWalletMints; gonuts' internal feesForProofs uses exactly this in-memory state), and it would make the precheck offline-capable with no budget tuning.
What's missing: gonuts-tollgate exposes no accessor for a mint's keyset state (walletMint.activeKeyset/inactiveKeysets are unexported; wallet/storage.BoltDB.GetKeysets() exists but the wallet's live handle can't be safely re-opened read-only alongside). Needs: an exported Wallet.MintKeysetFees(mintURL) map[string]uint (or equivalent) upstream, then re-point tollwallet.mintKeysetFees at it and drop the network path from the precheck. Also worth revisiting upstream: keyset fetches probably don't want the full 5-attempt retry ladder on the hot payment path (issue #525's candidate 3).
- Lingua principale
- Go
- Stelle
- 12
- Fork
- 14
- Merge medio
- 3g 21h
- PR unite (30g)
- 269
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenTollGate/tollgate-module-basic-go
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OpenTollGate/tollgate-module-basic-go#1135 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OpenTollGate/tollgate-module-basic-go#1122 ·
I maintainer di solito rispondono entro 1 giorno
-
changelog: dependency-security sweep missing from [Unreleased] [Amperstrand fork #105 review debt]Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
OpenTollGate/tollgate-module-basic-go#1055 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenTollGate/tollgate-module-basic-go#1027 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OpenTollGate/tollgate-module-basic-go#1026 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di OpenTollGate/tollgate-module-basic-go
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Project submission: BivyAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
slavakurilyak/awesome-ai-agents#880 ·
I maintainer di solito rispondono entro 1 giorno
-
后缀带有LTX的番号无法自动匹配Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
metatube-community/metatube-sdk-go#387 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
apache/openserverless#282 · 2 commenti ·