Range format for output descriptors
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Non vengono nominati file, test o punti di ingresso. Inizia esaminando come sweeptool accetta attualmente i descrittori di output compatibili con Bitcoin Core, quindi confronta le forme dei descrittori descritte nell’issue e determina quali intervalli dovrebbero essere supportati. Il lavoro è completato quando i formati supportati e il comportamento previsto di Receive e Change sono stati decisi e specificati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Abstract
Currently sweeptool handles output descriptors in Bitcoin Core compatible format wrt configurable range: /*
This means we have to pass the Receiving and Change descriptor separately.
However, there are many different standards which try to pass a descriptor only once for the Change and Receive purpose. This includes Gordian products (which omit the /0/* and /1/*), some other vendors (unchained capital?) which expect a /0/* and derive /1/* automatically, and there's a new BIP https://nunchuk.medium.com/a-new-multisig-standard-and-nunchuk-1-0-499dd3690f2d which seems to handle this more elegantly.
Imo, dropping the tail is problematic as Bitcoin Core understands that as something different, example:
$ bitcoin-cli getdescriptorinfo "pkh([d34db33f/44'/0'/0']xpub6ERApfZwUNrhLCkDtcHTcxd75RbzS1ed54G1LkBUHQVHQKqhMkhgbmJbZRkrgZw4koxb5JaHWkY4ALHY2grBGRjaDMzQLcgJvLJuZZvRcEL/1/*)"
{
"descriptor": "pkh([d34db33f/44'/0'/0']xpub6ERApfZwUNrhLCkDtcHTcxd75RbzS1ed54G1LkBUHQVHQKqhMkhgbmJbZRkrgZw4koxb5JaHWkY4ALHY2grBGRjaDMzQLcgJvLJuZZvRcEL/1/*)#ml40v0wf",
"checksum": "ml40v0wf",
"isrange": true,
"issolvable": true,
"hasprivatekeys": false
}
$ bitcoin-cli getdescriptorinfo "pkh([d34db33f/44'/0'/0']xpub6ERApfZwUNrhLCkDtcHTcxd75RbzS1ed54G1LkBUHQVHQKqhMkhgbmJbZRkrgZw4koxb5JaHWkY4ALHY2grBGRjaDMzQLcgJvLJuZZvRcEL)"
{
"descriptor": "pkh([d34db33f/44'/0'/0']xpub6ERApfZwUNrhLCkDtcHTcxd75RbzS1ed54G1LkBUHQVHQKqhMkhgbmJbZRkrgZw4koxb5JaHWkY4ALHY2grBGRjaDMzQLcgJvLJuZZvRcEL)#0gu49ctj",
"checksum": "0gu49ctj",
"isrange": false,
"issolvable": true,
"hasprivatekeys": false
}
What formats should we support?
- Lingua principale
- Rust
- Stelle
- 3
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri 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 BlockchainCommons/sweeptool-cli
-
internship
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
-
testing GC with sweeptool Apertainternship
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
internship
BlockchainCommons/sweeptool-cli#2 · 1 commento · 1 assegnatario ·
-
write unit tests Apertainternship
BlockchainCommons/sweeptool-cli#1 · 5 commenti · 1 reazione · 1 assegnatario ·
Tutte le issue di BlockchainCommons/sweeptool-cli
Issue simili
-
bug github_actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
registrystack/registry-stack#1393 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
longbridge/gpui-kit#3223 ·
-
bug engine
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
rocky-data/rocky#2181 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
oasisprotocol/oasis-sdk#2523 ·
-
[indexer] [QA] Add a focused test for the new NonRetryableError / assertSocketAlive() behavior. Apertabot:ai-assisted component:indexer QA-roadmap status:untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
midnightntwrk/midnight-indexer#1557 ·