https://github.com/dashpay/masternode-diff-processor
Library for processing masternode diff messages
https://github.com/dashpay/masternode-diff-processor
Last synced: about 1 year ago
JSON representation
Library for processing masternode diff messages
- Host: GitHub
- URL: https://github.com/dashpay/masternode-diff-processor
- Owner: dashpay
- License: mit
- Created: 2021-10-02T12:22:18.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-29T19:50:50.000Z (about 3 years ago)
- Last Synced: 2025-04-30T06:46:05.207Z (about 1 year ago)
- Language: Rust
- Size: 16.8 MB
- Stars: 3
- Watchers: 8
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# masternode-diff-message-processor
Library for processing masternode diff messages.
Also it incorporates all the crypto neccessary for spv (x11-hash, ecdsa, bls, ed25519 etc.)
| main | [](https://github.com/dashpay/masternode-diff-processor/actions) | [](https://codecov.io/gh/dashpay/masternode-diff-processor) |  |
Run tests:
cargo test --package dash-spv-masternode-processor --lib tests
Run c test-like functions:
./build.sh && clang c/main.c target/universal/release/libdash_spv_masternode_processor_macos.a -o test && ./test
For fast local testing:
In 'dash-shared-core'
1) Create custom branch
2) Modify DashSharedCore.podspec so 'source' points to branch from previous step
3) Modify Cargo.toml so needed dependency points to desired branch
In 'masternodes-diff-processor':
1) Don't forget to push the changes into the branch that 'dash-shared-core' is looking at
In 'DashSync' when building example app:
1) In Podfile put 'DashSharedCore' pod which is 'dash-shared-core' looking at right above 'DashSync' pod import
2) Perform 'pod cache clean DashSharedCore' if neccessary
3) Run 'pod update'