Enforce Core-compatible OP_RETURN / datacarrier and standard tx-size limits in create_tx
Los mantenedores suelen responder en 3 días
@tvpeter ya está trabajando en esto.
Desde el 26/9/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Describe the enhancement
wallet create_tx can attach an OP_RETURN via --add_string / --add_data, but does not implement Bitcoin Core relay policy for:
how large that OP_RETURN script may be (datacarrier)
how large the resulting transaction may be (MAX_STANDARD_TX_WEIGHT)
The documentation says “max 80 bytes”, which matches the pre-v30 Core default. That limit is not actually enforced, and it is no longer the Core default.
A tx that create_tx successfully creates can be non-standard and fail at broadcast against default Core / most public relays.
Use case
Anyone embedding data with --add_string or --add_data currently will discover the problem only at broadcast, after building and signing. Failing at build time with a clear error about the tx weight and the limit will make it easier for users to reconstruct a transaction that can be relayed on the network.
The same check protects bump_fee, where a fee bump can push an already-large transaction over the limit, and any command whose inputs grow the witness.
Additional context
Split out of #326, which fixed the create_tx/bump_fee panics and --fee_rate truncation.
- Lenguaje dominante
- Rust
- Estrellas
- 142
- Forks
- 99
- Merge medio
- 4 d 1 h
- PR fusionados (30 d)
- 3
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de bitcoindevkit/bdk-cli
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bitcoindevkit/bdk-cli#332 · 2 comentarios ·
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
bitcoindevkit/bdk-cli#330 ·
Los mantenedores suelen responder en 3 días
-
Crate chacha20 0.10.1 is yankedAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
bitcoindevkit/bdk-cli#318 ·
Los mantenedores suelen responder en 3 días
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 50/100
bitcoindevkit/bdk-cli#340 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
bitcoindevkit/bdk-cli#338 ·
Los mantenedores suelen responder en 3 días
Todos los issues de bitcoindevkit/bdk-cli
Issues similares
-
area: dogs area: lookout bug security
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Los mantenedores suelen responder en 2 días
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
OpenDevicePartnership/ina4230#31 ·
Los mantenedores suelen responder en 1 día
-
area:breg criticality:p3 documentation triage:needs-implementation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
registrystack/registry-stack#1713 ·
Los mantenedores suelen responder en 1 día
-
Rename CLAUDE.md to AGENTS.mdAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
posit-dev/ggsql#565 · 1 reacción ·
Los mantenedores suelen responder en 1 día