Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

dash-spv-masternode-processor

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'

  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'