How to use the hippiehug.RedisStore function in hippiehug

To help you get started, we’ve selected a few hippiehug examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gdanezis / rousseau-chain / hippiehug-package / View on Github external
def main():
	r = RedisStore()
	t = Tree(store=r)

	from os import urandom
	for _ in range(1000):
		item = urandom(32)
		assert t.is_in(item)
		assert not t.is_in(urandom(32))


A Merkle Tree implementation with a flexible storage backend.

Latest version published 5 years ago

Package Health Score

42 / 100
Full package analysis

Similar packages