{"id":24755210,"url":"https://github.com/ranjbar-dev/install-bitcoin-full-node","last_synced_at":"2025-07-02T20:34:58.648Z","repository":{"id":186971595,"uuid":"589927493","full_name":"ranjbar-dev/install-bitcoin-full-node","owner":"ranjbar-dev","description":"Install bitcoin full node on ubunto","archived":false,"fork":false,"pushed_at":"2023-01-17T10:57:34.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T06:13:45.303Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ranjbar-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-01-17T09:16:08.000Z","updated_at":"2023-01-17T09:16:08.000Z","dependencies_parsed_at":"2023-08-08T13:35:20.409Z","dependency_job_id":null,"html_url":"https://github.com/ranjbar-dev/install-bitcoin-full-node","commit_stats":null,"previous_names":["ranjbar-dev/install-bitcoin-full-node"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ranjbar-dev/install-bitcoin-full-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjbar-dev%2Finstall-bitcoin-full-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjbar-dev%2Finstall-bitcoin-full-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjbar-dev%2Finstall-bitcoin-full-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjbar-dev%2Finstall-bitcoin-full-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ranjbar-dev","download_url":"https://codeload.github.com/ranjbar-dev/install-bitcoin-full-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjbar-dev%2Finstall-bitcoin-full-node/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263211325,"owners_count":23431292,"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":[],"created_at":"2025-01-28T12:37:23.784Z","updated_at":"2025-07-02T20:34:58.619Z","avatar_url":"https://github.com/ranjbar-dev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install bitcoin full node\nthis rep is simplified documentation of https://bitcoin.org/en/full-node#what-is-a-full-node\n\n\n### Minimum Requirements\n- 4 Gigabytes of memory\n- 500 Gigabytes of free disk\n- An unMetered connection, a connection with high upload limits\n\n\n### Download and install bitcoin core \ncheck this url for latest bitcoin core version https://bitcoin.org/bin\n```\nsudo curl -o ./bitcoin.tar.gz https://bitcoin.org/bin/bitcoin-core-22.0/bitcoin-22.0-x86_64-linux-gnu.tar.gz\ntar -xvf ./bitcoin.tar.gz\nsudo install -m 0755 -o root -g root -t /usr/local/bin ./bitcoin-22.0/bin/*\n```\n\n### Config file \ngenerate config file using this link https://jlopp.github.io/bitcoin-core-config-generator \n```\n# [core]\n# Run in the background as a daemon and accept commands.\ndaemon=1\n# Specify a non-default location to store blockchain data.\nblocksdir=/root/.bitcoin/data\n# Specify a non-default location to store blockchain and other data.\ndatadir=/root/.bitcoin/data\n# Set database cache size in megabytes; machines sync faster with a larger cache. Recommend setting as high as possible based upon machine's available RAM.\ndbcache=6000\n# Keep the transaction memory pool below \u003cn\u003e megabytes.\nmaxmempool=5000\n# Do not keep transactions in the mempool longer than \u003cn\u003e hours.\nmempoolexpiry=50\n# Maintain a full transaction index, used by the getrawtransaction rpc call.\ntxindex=1\n\n# [rpc]\n# Enable Sign Raw Transaction RPC\ndeprecatedrpc=signrawtransaction\n\n# Accept command line and JSON-RPC commands.\nserver=1\n# Accept public REST requests.\nrest=1\n# Bind to given address to listen for JSON-RPC connections. This option is ignored unless -rpcallowip is also passed. Port is optional and overrides -rpcport. Use [host]:port notation for IPv6. This option can be specified multiple times. (default: 127.0.0.1 and ::1 i.e., localhost)\nrpcbind=0.0.0.0\n# Username and hashed password for JSON-RPC connections. The field \u003cuserpw\u003e comes in the format: \u003cUSERNAME\u003e:\u003cSALT\u003e$\u003cHASH\u003e. RPC clients connect using rpcuser=\u003cUSERNAME\u003e/rpcpassword=\u003cPASSWORD\u003e arguments. You can generate this value at https://jlopp.github.io/bitcoin-core-rpc-auth-generator/. This option can be specified multiple times.\nrpcauth=********\n# Allow JSON-RPC connections from specified source. Valid for \u003cip\u003e are a single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0) or a network/CIDR (e.g. 1.2.3.4/24). This option can be specified multiple times.\nrpcallowip=3.65.118.119\n# Listen for JSON-RPC connections on this port\nrpcport=3333\n\n# [debug]\n# Enable debug logging for all categories.\ndebug=1\n# Location of the debug log\ndebuglogfile=/root/.bitcoin/debug.log\n# Log IP Addresses in debug output.\nlogips=1\n\n# [relay]\n# Accept transaction replace-by-fee without requiring replaceability signaling.\nmempoolfullrbf=1\n\n# [wallet]\n# Do not load the wallet and disable wallet RPC calls.\ndisablewallet=1\n\n\n# [Sections]\n# Most options automatically apply to mainnet, testnet, and regtest networks.\n# If you want to confine an option to just one network, you should add it in the relevant section.\n# EXCEPTIONS: The options addnode, connect, port, bind, rpcport, rpcbind and wallet\n# only apply to mainnet unless they appear in the appropriate section below.\n\n# Options only for mainnet\n[main]\n\n# Options only for testnet\n[test]\n\n# Options only for regtest\n[regtest]\n```\ncreate `bitcoin.conf` file at `~/.bitcoin` location\n```\ntouch ~/.bitcoin/bitcoin.conf \u0026\u0026 nano ~/.bitcoin/bitcoin.conf\n```\n\n### Start bitcoind on startup\nadd `@reboot bitcoind` to end of crontab file\n```\ncrontab -e\n```\n\n### Start bitcoind service\nstart and test bitcoind, you should see integer output, check https://blockchain.info/latestblock for latest block on blockchain \n```\nbitcoind\nbitcoin-cli getblockcount\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franjbar-dev%2Finstall-bitcoin-full-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Franjbar-dev%2Finstall-bitcoin-full-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franjbar-dev%2Finstall-bitcoin-full-node/lists"}