Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

SPV mode for pynode #15

@amiller

Description

@amiller

pynode runs mostly like a full-validating node, meaning it downloads all of every block, maintains an entire UTXO set, etc.

Especially now that most of pynode is factored out, we might want to have a lite version of pynode, similar to BitcoinJ. This would also be a first step towards light wallet and contract apps.

A lite node should have much less functionality, for example it need not necessarily serve transactions and blocks to other peers, it shouldn't store archival history of blocks or the whole ledger, validate blocks, or even download all the transaction in each block.

This attempt is beginning in, and features a new database file LiteDb, and a new driver/event loop spvnode.py:
https://github.com/amiller/pynode/tree/spv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions