Chia BIP158 (wraps C++)
Project description
## BIP158
This implements the compact block filter construction in BIP 158. The code is not used anywhere in the Bitcoin Core code base yet. The next step towards BIP 157 support would be to create an indexing module similar to TxIndex that constructs the basic and extended filters for each validated block.
### Install
`bash python3 -m venv env . env/bin/activate pip3 install . `
### Run python tests
`bash python3 tests/simple_test.py `
### Installation steps on a fresh OSX image
Install brew:
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
brew install python3 brew install boost
At this point the only error is can’t find boost_thread lib
The issue is the homebrew boost ships libboost_thread-mt libs but doesn’t include plain libboost_thread, so clang can’t find it. Interestingly, homebrew boost does have both plain and -mt files for the libboost_system libraries.
$ find /usr/local/lib/ | grep boost_thread libboost_thread-mt.a libboost_thread-mt.dylib
Solution, with no guarantees that this is “the Right Way to do things”, but appears to work fine for the configure stage:
$ cd /usr/local/lib $ ln -s libboost_thread-mt.a libboost_thread.a $ ln -s libboost_thread-mt.dylib libboost_thread.dylib
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for chiabip158-0.14-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f59a5d96b694b957b83c75258bdadd5875ebf68ad10dcf6d500d6039810f5047 |
|
MD5 | 3451a4cc5829fc9ff9be999c3e4451e4 |
|
BLAKE2b-256 | 447dcd78e2cd6d32a97eb56073110330a68e5e517ad0d6b71de9e75a499c5723 |
Hashes for chiabip158-0.14-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 860a53decafab5b224ff91b365ea74d1eef8f7cf43e6771d9cdea24933d32bd4 |
|
MD5 | a537feaede8a1d0a5b5723ef3df7293d |
|
BLAKE2b-256 | 12d2afb87b80fa5ac03f876e731a31e3c9a291ea2ff0427eba4794416536e0cc |
Hashes for chiabip158-0.14-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6df2836087b332a1e3bfb5258d8371c55395cacdce2782eb73c6d45ffe22313 |
|
MD5 | e2f1018c9d1df529f7f516c65f4cb85f |
|
BLAKE2b-256 | 12100345e530ba9bfc67ee1a91626144390cb31770b2b0cd1c43a425adb02c09 |
Hashes for chiabip158-0.14-cp38-cp38-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9f002f1a401b7ad8b20cb24616f9365bc3d08cb3d721ba6ea45efd69fa83d69 |
|
MD5 | af8dae676d5941442275a107101d139c |
|
BLAKE2b-256 | 2d1f941e232be850a5d1db37358813903a72294cc6bc0eb42361c643b2d557ce |
Hashes for chiabip158-0.14-cp38-cp38-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e6440418fc76adeec5ed91c8193e13af7b2940d94225eef3738b703db5650a9 |
|
MD5 | b22b53dd870d5dffac99255c598bf1fe |
|
BLAKE2b-256 | 5ba169e89d4329a5f2b5ba31f55bb24eccaa239427395c53808e5314c1775f57 |
Hashes for chiabip158-0.14-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d62ed9ad220446ea0e452e046c25d8b66a5964bc91f219940c25e872ce254b79 |
|
MD5 | ed4f9ea81d3176909a37b057ffa612d6 |
|
BLAKE2b-256 | aeb9512f1d71ec0b30e01b90d301193691c82d2540c663c589c2920330aa1d35 |
Hashes for chiabip158-0.14-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8048909bc8fb569fb18fd9ad47c023f7050270e2c342ea5423064bae5a22a12 |
|
MD5 | 9a21fc0170007e6f8595e3da766686af |
|
BLAKE2b-256 | 3d1dae3c097911c02e94bbf7ade90a6b7df5cb05ddc0180e0ebe404285002f81 |
Hashes for chiabip158-0.14-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563cee870c35a66894dde28d5bbe7a7cff0ddb4e64195904bc49212dd5c840a8 |
|
MD5 | c91a421307c26f04f5001050ceabbedb |
|
BLAKE2b-256 | 4af5465702a4b8a7e2e05a5610b34b91cc8106124975d4dca2da274c7c30fa4a |
Hashes for chiabip158-0.14-cp37-cp37m-manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84fbe49b581731da8b9d231b63995d103b588f023a3c146d82c3d1a8c736edba |
|
MD5 | d2b91a0d5fded1d6cc402f14b6ae7c2b |
|
BLAKE2b-256 | 5f73147ff9238f3ece9f8b1f3535e32f6576467c819d620c11dbab9f85808865 |
Hashes for chiabip158-0.14-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21c4e53e0eef440c9d67952ac4dba1322a5bb5338f1e59faf2b48e56ebe16c5e |
|
MD5 | 485e5021be51ba887276134fa1e6fe0b |
|
BLAKE2b-256 | f695b4da14c21493c9d150e902304f1ea38058bc1111fc4ed36b1f79564aac2d |