Library for processing masternode diff messages.
Also it incorporates all the crypto neccessary for spv (x11-hash, ecdsa, bls, ed25519 etc.)
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'
- Create custom branch
- Modify DashSharedCore.podspec so 'source' points to branch from previous step
- Modify Cargo.toml so needed dependency points to desired branch
In 'masternodes-diff-processor':
- Don't forget to push the changes into the branch that 'dash-shared-core' is looking at
In 'DashSync' when building example app:
- In Podfile put 'DashSharedCore' pod which is 'dash-shared-core' looking at right above 'DashSync' pod import
- Perform 'pod cache clean DashSharedCore' if neccessary
- Run 'pod update'