finance/electrs 0.12.0_1 FreeBSD
Reimplementation of Electrum Server, a Bitcoin protocol server
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- MIT
- Categories
- finance, net-p2p
- Package size
- 922.8 KiB, 2257.3 KiB installed
Description
electrs is an efficient re-implementation of Electrum Server, inspired by ElectrumX, Electrum Personal Server and bitcoincore-indexd.
The motivation behind this project is to enable a user to self host an Electrum server, with required hardware resources not much beyond those of a full node. The server indexes the entire Bitcoin blockchain, and the resulting index enables fast queries for any given user wallet, allowing the user to keep real-time track of balances and transaction history using the Electrum wallet. Since it runs on the user's own machine, there is no need for the wallet to communicate with external Electrum servers, thus preserving the privacy of the user's addresses and balances.
Features: * Supports Electrum protocol v1.4 * Maintains an index over transaction inputs and outputs * Fast synchronization of the Bitcoin blockchain using HDD storage * Low index storage overhead (~10%), relying on a local full node * Efficient mempool tracker allowing better fee estimation * Low CPU & memory usage (after initial indexing) * txindex is not required for the Bitcoin node * Uses a single RocksDB database, for better consistency and crash recovery
Install
Binary package:
pkg install electrs
From the ports tree:
cd /usr/ports/finance/electrs/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= electrs>0:finance/electrs
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.12.0 | 0.12.0_1 | - | - | 0.12.0_1 |
| FreeBSD:14:quarterly | 0.12.0 | 0.12.0 | n/a | - | 0.12.0 |
| FreeBSD:15:latest | 0.12.0_1 | 0.12.0_1 | n/a | - | 0.10.10 |
| FreeBSD:15:quarterly | 0.12.0 | 0.12.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.12.0 | 0.12.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 2
librocksdb.so: databases/rocksdblibzstd.so: archivers/zstd
The full lists below include those, and their dependencies in turn.
Build dependencies 24
- archivers/brotli
- archivers/liblz4
- archivers/snappy
- archivers/zstd
- databases/rocksdb
- devel/gflags
- devel/googletest
- devel/hwloc2
- devel/level-zero
- devel/libpciaccess
- devel/libunistring
- devel/llvm19
- devel/onetbb
- devel/pkgconf
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/rust
- misc/hwdata
- print/indexinfo
- security/libssh2
- textproc/libxml2
- www/libnghttp2
Run dependencies 14
No port depends on this one.
Configuration
No options to configure.
- USES
- cargo llvm
- Service scripts
- none
Files
distinfo 151
| File | Size | SHA256 |
|---|---|---|
| rust/crates/aho-corasick-1.1.3.crate | 183311 | 8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916 |
| rust/crates/anyhow-1.0.98.crate | 53334 | e16d2d3311acee920a9eb8d33b8cbc1787ce4a264e85f964c2404b969bdcd487 |
| rust/crates/arrayvec-0.7.6.crate | 31237 | 7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50 |
| rust/crates/ascii-1.1.0.crate | 36075 | d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16 |
| rust/crates/autocfg-1.4.0.crate | 17712 | ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26 |
| rust/crates/base58ck-0.1.0.crate | 6188 | 2c8d66485a3a2ea485c1913c4572ce0256067a5377ac8c75c4960e1cda98605f |
| rust/crates/base64-0.22.1.crate | 81597 | 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6 |
| rust/crates/bech32-0.11.0.crate | 67018 | d965446196e3b7decd44aa7ee49e31d630118f90ef12f97900f262eb915c951d |
| rust/crates/bindex-0.1.2.crate | 28820 | becb30e2688944707fe12c33fc1d6920fc4c83f67224cd81bf2767062b852f9e |
| rust/crates/bindgen-0.69.5.crate | 221128 | 271383c67ccabffb7381723dea0672a673f292304fcb45c01cc648c7a8d58088 |
| rust/crates/bitcoin-0.32.9.crate | 374196 | 9cf93e61f2dbc3e3c41234ca26a65e2c0b0975c52e0f069ab9893ebbede584d3 |
| rust/crates/bitcoin-internals-0.3.0.crate | 9799 | 30bdbe14aa07b06e6cfeffc529a1f099e5fbe249524f8125358604df99a4bed2 |
| rust/crates/bitcoin-io-0.1.3.crate | 9145 | 0b47c4ab7a93edb0c7198c5535ed9b52b63095f4e9b45279c6736cec4b856baf |
| rust/crates/bitcoin-test-data-0.2.0.crate | 1.179653e+06 | 0c188654f9dce3bc6ce1bfa9c49777ad514bcad37e421b5f53e9d0ee10603f34 |
| rust/crates/bitcoin-units-0.1.2.crate | 32105 | 5285c8bcaa25876d07f37e3d30c303f2609179716e11d688f51e8f1fe70063e2 |
| rust/crates/bitcoin_hashes-0.14.0.crate | 48535 | bb18c03d0db0247e147a21a6faafd5a7eb851c743db062de72018b6b7e8e4d16 |
| rust/crates/bitcoin_slices-0.11.0.crate | 32147 | 82b80fcc031ed36f91c31639a4d97acb1487985fdee34565651b2f52f4346859 |
| rust/crates/bitflags-2.9.1.crate | 47913 | 1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967 |
| rust/crates/block2-0.6.2.crate | 34505 | cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5 |
| rust/crates/bytes-1.11.1.crate | 78584 | 1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33 |