This repository was archived by the owner on Nov 25, 2025. It is now read-only.
Commit 1f5c57a
committed
fix: version_bits_available maps String to u32
PR #163 implemented support for getblocktemplate. However, during the
implementation the version_bits_available HashMap the map fields were
switched.
This became apparent during testing against a v0.21.1 Bitcoin
Core node, which includes support for the Taproot softfork via
the 2nd version bit. Previously, no softfork was defined.
```
$ bitcoin-cli getblocktemplate "{\"rules\": [\"segwit\"]}"
...
"vbavailable": {
"taproot": 2
},
...
```1 parent 27dd8be commit 1f5c57a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1195 | 1195 | | |
1196 | 1196 | | |
1197 | 1197 | | |
1198 | | - | |
| 1198 | + | |
1199 | 1199 | | |
1200 | 1200 | | |
1201 | 1201 | | |
| |||
0 commit comments