Skip to content

Commit 449fedd

Browse files
update bips submodule and build
1 parent bc3820a commit 449fedd

124 files changed

Lines changed: 8194 additions & 8 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

web/content/375/bip-0375/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# BIP-375 Validation Reference
2+
3+
A reference validation implementation for BIP-375: Sending Silent Payments with PSBTs.
4+
5+
## Core Files
6+
- **`validator/bip352_crypto.py`** - Silent payment output script derivation
7+
- **`validator/inputs.py`** - PSBT input utility functions
8+
- **`validator/psbt_bip375.py`** - BIP-375 specific PSBT/PSBTMap extensions
9+
- **`validator/validate_psbt.py`** - Main BIP-375 validation functions
10+
- **`test_runner.py`** - Test infrastructure (executable)
11+
12+
## Dependencies
13+
- **`deps/bitcoin_test/psbt.py`** - Bitcoin test framework PSBT module - [PR #21283](https://github.com/bitcoin/bitcoin/pull/21283)
14+
- **`deps/bitcoin_test/messages.py`** - Bitcoin test framework primitives and message structures
15+
- **`deps/dleq.py`** - Reference DLEQ implementation from BIP-374
16+
- **`deps/secp256k1lab/`** - vendored copy of [secp256k1lab](https://github.com/secp256k1lab/secp256k1lab/commit/44dc4bd893b8f03e621585e3bf255253e0e0fbfb) library at version 1.0.0
17+
18+
## Testing
19+
20+
### Run Tests
21+
22+
```bash
23+
python test_runner.py # Run all tests
24+
python test_runner.py -v # Verbose mode with detailed validation status
25+
python test_runner.py -vv # More verbose with validation check failure reason
26+
27+
python test_runner.py -f vectors.json # Use custom test vector file
28+
```
29+
30+
### Generating Test Vectors
31+
32+
Test vectors were generated using [test_generator.py](https://github.com/macgyver13/bip375-test-generator/)

web/content/375/bip-0375/bip375_test_vectors.json

Lines changed: 1759 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)