Confirm --tokenduration works as expected

Aperta
#821 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start with the --tokenduration command-line option and trace how its value is passed into token creation and expiry. Compare that path with the deploy script in wrath-of-nalo, then verify whether large values are rejected or capped and identify the relevant tests or add a focused regression check. Done means a non-default duration is either honored or the rejection and fallback behavior is confirmed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I ran warnet at TABConf 8. I'm pretty sure I copied the command from the deploy script in wrath-of-nalo including --tokenduration yet the tokens expired after an hour.

@pinheadmz mentioned that there might be a cap, so a big value might get rejected and a default value (1h) is used. I read something similar somewhere.

Lingua principale
Python
Stelle
153
Fork
87
Merge medio
5g 7h
PR unite (30g)
3

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di bitcoin-dev-project/warnet

Tutte le issue di bitcoin-dev-project/warnet

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.