Florin ChiricaandKyle Altendorf 5cd6bcd8a3 standalone merkle blob for datalayer (#18403)
* add `chia.data_layer.util.merkle_blob`

* raw node [de]serialization tests

* `NewType`s and other

* just `RawLeafMerkleNode.key_value`

* drop the root node type, internal or leaf might be the root

* trivial tree deserialization

* comment

* add `MerkleBlob.get_lineage()`

* store the index on the raw node objects (great?  or not...?)

* Checkpoint.

* Some linting.

* Some type checking.

* Lint.

* Add proof of inclusion code.

* Fix test.

* Lint.

* Add free positions.

* Lint.

* Improve test.

* Lint.:

* Lint.

* Add upsert.

* Go with lower limits.

* Apply Kyle's change.

* Lint.

* ignore astuple mypy complaint

* add `c_profile` fixture

* Add cache.

* Lint.

* Lint.

* Add batch autoinsert.

* Lint.

* Checkpoint split keys and values ids.

* Lint.

* Lint.

* Lint.

* Lint.

* Fix tests.

* Lint.

* Add reference and side.

* Update merkle_blob.py

* Lint.

* Lint.

* Lint.

* Lint.

* Lint

* Improve coverage.

* Lint.

* Improve coverage.

* Lint.

* Improve test.

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-10-15 22:13:57 -04:00
2024-09-26 08:55:36 -07:00
2024-03-14 10:19:20 -07:00
2024-03-13 13:41:04 -07:00
2024-07-16 11:04:07 -07:00
2024-03-14 10:19:20 -07:00
2024-02-27 20:53:52 -06:00
2024-03-14 10:19:20 -07:00

chia-blockchain

Chia Network logo

Releases Repo Stats Socials
Latest Release
Latest RC
Latest Beta
Coverage
Downloads
Commits
Contributers
Discord
YouTube
Reddit
Twitter

Chia is a modern cryptocurrency built from scratch, designed to be efficient, decentralized, and secure. Here are some of the features and benefits:

  • Proof of space and time based consensus which allows anyone to farm with commodity hardware
  • Very easy to use full node and farmer GUI and cli (thousands of nodes active on mainnet)
  • Chia seeder, which maintains a list of reliable nodes within the Chia network via a built-in DNS server.
  • Simplified UTXO based transaction model, with small on-chain state
  • Lisp-style Turing-complete functional programming language for money related use cases
  • BLS keys and aggregate signatures (only one signature per block)
  • Pooling protocol that allows farmers to have control of making blocks
  • Support for light clients with fast, objective syncing
  • A growing community of farmers and developers around the world

Please check out the Chia website, the Intro to Chia, and FAQ for information on this project.

Python 3.8.1+ is required. Make sure your default python version is >=3.8.1 by typing python3.

If you are behind a NAT, it can be difficult for peers outside your subnet to reach you when they start up. You can enable UPnP on your router or add a NAT (for IPv4 but not IPv6) and firewall rules to allow TCP port 8444 access to your peer. These methods tend to be router make/model specific.

Most users should only install harvesters, farmers, plotter, full nodes, and wallets. Setting up a seeder is best left to more advanced users. Building Timelords and VDFs is for sophisticated users, in most environments. Chia Network and additional volunteers are running sufficient Timelords for consensus.

Installing

Install instructions are available in the Installation Details section of the Chia Docs.

Running

Once installed, an Intro to Chia guide is available in the Chia Docs.

S
Description
Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Readme Apache-2.0
367 MiB
Languages
Python 99.4%
Shell 0.4%
PowerShell 0.2%