{"id":13561232,"url":"https://github.com/BP-WG/bp-node","last_synced_at":"2025-04-03T17:30:30.859Z","repository":{"id":43759429,"uuid":"249387134","full_name":"BP-WG/bp-node","owner":"BP-WG","description":"Daemons and tools for Bitcoin transaction index","archived":true,"fork":false,"pushed_at":"2022-07-30T15:41:21.000Z","size":838,"stargazers_count":27,"open_issues_count":1,"forks_count":11,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-24T19:44:22.816Z","etag":null,"topics":["bitcoin","lightning-network","lnp-bp","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BP-WG.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["dr-orlovsky"]}},"created_at":"2020-03-23T09:27:36.000Z","updated_at":"2024-07-24T07:03:04.000Z","dependencies_parsed_at":"2022-07-16T18:30:31.905Z","dependency_job_id":null,"html_url":"https://github.com/BP-WG/bp-node","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BP-WG%2Fbp-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BP-WG%2Fbp-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BP-WG%2Fbp-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BP-WG%2Fbp-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BP-WG","download_url":"https://codeload.github.com/BP-WG/bp-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247046736,"owners_count":20874713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","lightning-network","lnp-bp","rust"],"created_at":"2024-08-01T13:00:53.981Z","updated_at":"2025-04-03T17:30:30.604Z","avatar_url":"https://github.com/BP-WG.png","language":"Rust","funding_links":["https://github.com/sponsors/dr-orlovsky"],"categories":["Nodes"],"sub_categories":["Main RGB Standards"],"readme":"# BP Node\n\nBitcoin blockchain indexing and notification node. It may be considered electrum\nserver replacement, which is faster, provides modern API (supporting wallet\ndescriptors and miniscript, LN-specific queries, client-side-validation tech\nlike RGB, modern RPC subscribe interfaces with ZMQ etc). In the future it is \nplanned to upgrade the node into a fully-validating bitcoin node by using\n`libbitcoinconsensus` library for validating blocks.\n\nThe node was originally designed and implemented by \n[Dr Maxim Orlovsky](https://github.com/dr-orlovsky) as a part of \n[LNP/BP Standards Association](https://github.com/LNP-BP) effort for \nbuilding the foundation for LNP/BP layer 2 and 3 bitcoin application ecosystem.\nIt is based on other LNP/BP projects such as [BP Core Lib], [Descriptor Wallet],\n[Storm Storage] and can be easily integrated with the rest of LNP/BP nodes like\n[LNP Node], [RGB Node], [Storm Node].\n\n## Node services\n\nThe node organized as a set of daemons or threads, interacting via ZMQ-based\nAPI with each other and with RPC clients. It leverages microservice architecture\nfrom [`microservices`] crate.\n\nThe node provides following set of services:\n- `bpd`: main service providing clients with RPC request/reply API and managing\n  life cycle of the rest of the node services (launching, terminating, brokering\n  inter-service communications).\n- `blockd`: service parsing and (in the future, using `libbitcoinconsensus`) \n  validating bitcoin blocks, storing them in the database (provided by `stored`\n  service from [Storm Storage] library). It also connects to bitcoin core node\n  to monitor the incoming new blocks and through `bpd` node clients when a new\n  valid block has been parsed.\n- `mempoold`: manages mempool transactions.\n- `walletd`: service instantiated for each wallet client. It knows about wallet\n  descriptor, monitors new mempool and mined transactions and notifies \n  subscribed client about their changes.\n- `watchd`: watchtower service for lightning network and RGB.\n- `signd`: service for signing bitcoin transactions and working with PSBTs. Used\n  by wallets, lightning node etc.\n\nAlongside these services, in the future it is planned to use lightning network\n(Bifrost subnetwork) through [LNP Node] to propagate bitcoin blocks in encrypted\nform to other BP Nodes (instead of using legacy bitcoin wire protocol).\n\n## RPC and client tools\n\nThe repository also contains a BP Node RPC library (`bp_rpc` crate in \n[`rpc`](./rpc) directory) and command-line tool (`bp-cli` crate in \n[`cli`](./cli) directory) for querying/working with the node.\n\n[`microservices`]: https://github.com/Internet2-WG/rust-microservices\n[BP Core Lib]: https://github.com/BP-WG/bp-core\n[Descriptor Wallet]: https://github.com/BP-WG/descriptor-wallet\n[Storm Storage]: https://github.com/Storm-WG/storm-stored\n[LNP Node]: https://github.com/LNP-WG/lnp-node\n[RGB Node]: https://github.com/RGB-WG/rgb-node\n[Storm Node]: https://github.com/Storm-WG/storm-node\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBP-WG%2Fbp-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBP-WG%2Fbp-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBP-WG%2Fbp-node/lists"}