You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This binary implements the JSON protocol required by the [kernel-bindings-spec](https://github.com/stringintech/kernel-bindings-spec) conformance testing framework.
4
+
5
+
## Purpose
6
+
7
+
The conformance handler acts as a bridge between the test runner and the Go Bitcoin Kernel bindings. It:
8
+
9
+
- Reads test requests from stdin (JSON protocol)
10
+
- Executes operations using the Go binding API
11
+
- Returns responses to stdout (JSON protocol)
12
+
13
+
## Testing
14
+
15
+
This handler is designed to work with the conformance test suite. The easiest way to run tests is using the Makefile:
16
+
17
+
```bash
18
+
# Run conformance tests (builds handler and downloads test runner automatically)
19
+
make test
20
+
21
+
# Or manually build and run
22
+
make build
23
+
make download-tests
24
+
./.conformance-tests/runner --handler ./handler
25
+
```
26
+
27
+
The test suite is automatically downloaded for your platform (darwin_arm64, darwin_amd64, linux_amd64, or linux_arm64).
28
+
29
+
## Pinned Test Version
30
+
31
+
This handler is compatible with:
32
+
- Test Suite Version: `0.0.2`
33
+
- Test Repository: [stringintech/kernel-bindings-tests](https://github.com/stringintech/kernel-bindings-tests)
0 commit comments