Skip to main content

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 python-bindings/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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chiabip158-0.12.tar.gz (109.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

chiabip158-0.12-cp37-cp37m-win_amd64.whl (80.6 kB view details)

Uploaded CPython 3.7mWindows x86-64

chiabip158-0.12-cp37-cp37m-win32.whl (71.4 kB view details)

Uploaded CPython 3.7mWindows x86

chiabip158-0.12-cp37-cp37m-manylinux2010_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

chiabip158-0.12-cp37-cp37m-manylinux2010_i686.whl (1.7 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ i686

chiabip158-0.12-cp37-cp37m-macosx_10_14_x86_64.whl (131.3 kB view details)

Uploaded CPython 3.7mmacOS 10.14+ x86-64

File details

Details for the file chiabip158-0.12.tar.gz.

File metadata

  • Download URL: chiabip158-0.12.tar.gz
  • Upload date:
  • Size: 109.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

File hashes

Hashes for chiabip158-0.12.tar.gz
Algorithm Hash digest
SHA256 a90973d87862e9a4e4e49db0fad8a9fb41f89cc25988580798e04b85404b7465
MD5 44720bee681dfcf39c1872638fd27f48
BLAKE2b-256 c94a4a4d48bed05e1ddb138dba8c8013c3d4afe2b9e50ea49ccc529a9892eb63

See more details on using hashes here.

File details

Details for the file chiabip158-0.12-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: chiabip158-0.12-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 80.6 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for chiabip158-0.12-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 e69f67f8473a721c09b884e59e644f638052ff74944cc38f475dab03448bb1b4
MD5 0f38ed06cfd263c81826d929e09b9770
BLAKE2b-256 e15461a3c1dc4d4ad52335a1da4b7b1e3834ba37412ef8902ae9f7b639f4dc0d

See more details on using hashes here.

File details

Details for the file chiabip158-0.12-cp37-cp37m-win32.whl.

File metadata

  • Download URL: chiabip158-0.12-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 71.4 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for chiabip158-0.12-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 f57fe57191ca83a28d1ef05603ca3d96f96233bd87abb240bd483b5dde1c3792
MD5 ff03a44e2b11b01cb30257a5a644e6c3
BLAKE2b-256 29df4f4e9c9ce720436be983d435aee54a3d0e5bc8297df0ccf3b89cab9cde3e

See more details on using hashes here.

File details

Details for the file chiabip158-0.12-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: chiabip158-0.12-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for chiabip158-0.12-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 55c2cbee0fa4b82b8f9fa4ce79726b3c14f279f82b0921d1d335fc3b375e425c
MD5 d7c258ce92a1213a5d32871f9072d051
BLAKE2b-256 5bfa0b7a0e1ae2adbeaac72edb0c943609056855450940090ebd22cebd1f0ae7

See more details on using hashes here.

File details

Details for the file chiabip158-0.12-cp37-cp37m-manylinux2010_i686.whl.

File metadata

  • Download URL: chiabip158-0.12-cp37-cp37m-manylinux2010_i686.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for chiabip158-0.12-cp37-cp37m-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 2cdf208200cd78da3452177f845159f898cf560d2af35e283e3ac86ee9f38b62
MD5 1e167d932f964f5e634f886b5facd467
BLAKE2b-256 d4fc6bcaac66fc8edc6edf12bb1a1f2aa31a72a5610ecd7f90b1dedf443754de

See more details on using hashes here.

File details

Details for the file chiabip158-0.12-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: chiabip158-0.12-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 131.3 kB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for chiabip158-0.12-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1eda3383cb75c35c9042ec8855b8ec5b89979300ff30ad1e3084362df2667fd7
MD5 35aa3b42c50ae260512f0f3a4a80da4b
BLAKE2b-256 f6df6015081149c27c52bb99e300156f6c5845c1b6d918580f5e925dc4f61a67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page