add testing resources directory

This commit is contained in:
Lucy Cifferello
2021-11-22 13:07:13 -07:00
committed by Keagan McClelland
parent e4d54e90b7
commit bd95a3ec1b
20 changed files with 1355 additions and 0 deletions

View File

@@ -0,0 +1 @@
JAPEX7ZLZIBZUO6YLUQAAGYACA4E5IFBLJPZR3OVQNQOAPNYVHVIEVXRS5RZ65EDCAAQE65PIVOZ46Z6CR4KIX3MWL62YFU5IXBHD4I

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,23 @@
# Bitcoin Core
## Getting Started
### Config
Your node is highly configurable. Many settings are considered _advanced_ and should be used with caution. For the vast majority of users and use-cases, we recommend using the defaults. This is where you can change RPC credentials as well. Once configured, you may start your node!
### Syncing
Depending on your Internet bandwidth, your node should take approximately 5-7 days to sync from genesis to present.
### Using a Wallet
Enter your QuickConnect QR code **OR** your raw RPC credentials (both located in `Properties`) into any wallet that supports connecting to a remote node over Tor. For a full list of compatible wallets, see <a href="https://github.com/start9labs/bitcoind-wrapper/blob/master/docs/wallets.md" target="_blank">https://github.com/start9labs/bitcoind-wrapper/blob/master/docs/wallets.md</a>.
## Pruning
Pruning is a process by which your node discards old blocks and transactions after it verifies them. Pruned nodes and archival nodes are both "full nodes" in that they are fully validating - they validate every block and transaction. Archival nodes store the entire blockchain and are useful to people interested in doing general or historical analysis, or being a provider of blockchain data to others (eg. a blockexplorer).
The target of pruning on your Embassy is configurable and set by default to the minimum of 550MB (0.55 GB!), meaning the resulting blockchain will occupy a negligible amount of storage space. The maximum amount of blockchain data you can retain depends on the storage capacity your device. The config menu will not permit you to select a target that exceeds a certain percentage of your device's available capacity.
For most use cases, we recommend sticking with a very low pruning setting.

View File

@@ -0,0 +1,22 @@
The MIT License (MIT)
Copyright (c) 2009-2020 The Bitcoin Core developers
Copyright (c) 2009-2020 Bitcoin Developers
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -0,0 +1,272 @@
{
"id": "bitcoind",
"title": "Bitcoin Core",
"version": "0.21.1.1",
"description": {
"short": "A Bitcoin Full Node by Bitcoin Core",
"long": "Bitcoin is an innovative payment network and a new kind of money. Bitcoin uses peer-to-peer technology to operate with no central authority or banks; managing transactions and the issuing of bitcoins is carried out collectively by the network. Bitcoin is open-source; its design is public, nobody owns or controls Bitcoin and everyone can take part. Through many of its unique properties, Bitcoin allows exciting uses that could not be covered by any previous payment system."
},
"assets": {
"license": "LICENSE",
"instructions": "instructions.md",
"icon": "icon.png",
"docker-images": "image.tar",
"assets": null
},
"build": [
"make"
],
"release-notes": "Upgrade to EmbassyOS v0.3.0",
"license": "mit",
"wrapper-repo": "https://github.com/Start9Labs/bitcoind-wrapper",
"upstream-repo": "https://github.com/bitcoin/bitcoin",
"support-site": "https://github.com/bitcoin/bitcoin/issues",
"marketing-site": "https://bitcoincore.org/",
"donation-url": null,
"alerts": {
"install": null,
"uninstall": "Uninstalling Bitcoin Core will result in permanent loss of data. Without a backup, any funds stored on your node's default hot wallet will be lost forever. If you are unsure, we recommend making a backup, just to be safe.",
"restore": "Restoring Bitcoin Core will overwrite its current data. You will lose any transactions recorded in watch-only wallets, and any funds you have received to the hot wallet, since the last backup.",
"start": null,
"stop": null
},
"main": {
"type": "docker",
"image": "main",
"system": false,
"entrypoint": "docker_entrypoint.sh",
"args": [],
"mounts": {
"compat": "/mnt/assets",
"main": "/root/.bitcoin"
},
"io-format": "yaml",
"inject": false,
"shm-size-mb": null
},
"health-checks": {
"rpc": {
"type": "docker",
"image": "main",
"system": false,
"entrypoint": "bitcoin-cli",
"args": [
"-rpcconnect=bitcoind.embassy",
"-getinfo"
],
"mounts": {},
"io-format": "yaml",
"inject": true,
"shm-size-mb": null,
"critical": false
},
"synced": {
"type": "docker",
"image": "utils",
"system": true,
"entrypoint": "/mnt/assets/check-synced.sh",
"args": [],
"mounts": {
"main": "/root/.bitcoin",
"utils": "/mnt/assets"
},
"io-format": "yaml",
"inject": false,
"shm-size-mb": null,
"critical": false
}
},
"config": {
"get": {
"type": "docker",
"image": "compat",
"system": true,
"entrypoint": "compat",
"args": [
"config",
"get",
"/root/.bitcoin",
"/mnt/assets/config_spec.yaml"
],
"mounts": {
"compat": "/mnt/assets",
"main": "/root/.bitcoin"
},
"io-format": "yaml",
"inject": false,
"shm-size-mb": null
},
"set": {
"type": "docker",
"image": "compat",
"system": true,
"entrypoint": "compat",
"args": [
"config",
"set",
"bitcoind",
"/root/.bitcoin",
"/mnt/assets/config_rules.yaml"
],
"mounts": {
"compat": "/mnt/assets",
"main": "/root/.bitcoin"
},
"io-format": "yaml",
"inject": false,
"shm-size-mb": null
}
},
"properties": {
"type": "docker",
"image": "compat",
"system": true,
"entrypoint": "compat",
"args": [
"properties",
"/root/.bitcoin"
],
"mounts": {
"main": "/root/.bitcoin"
},
"io-format": "yaml",
"inject": false,
"shm-size-mb": null
},
"volumes": {
"compat": {
"type": "assets"
},
"main": {
"type": "data"
},
"utils": {
"type": "assets"
}
},
"min-os-version": "0.3.0",
"interfaces": {
"peer": {
"name": "Peer Interface",
"description": "Listens for incoming connections from peers on the bitcoin network",
"tor-config": {
"port-mapping": {
"8333": "8333"
}
},
"lan-config": null,
"ui": false,
"protocols": [
"tcp",
"bitcoin"
]
},
"rpc": {
"name": "RPC Interface",
"description": "Listens for JSON-RPC commands",
"tor-config": {
"port-mapping": {
"8332": "8332"
}
},
"lan-config": {
"8332": {
"ssl": false,
"mapping": 8332
}
},
"ui": false,
"protocols": [
"tcp",
"http",
"json-rpc"
]
},
"zmq": {
"name": "ZeroMQ Interface",
"description": "Listens for subscriptions to the ZeroMQ raw block and raw transaction event streams",
"tor-config": {
"port-mapping": {
"28332": "28332",
"28333": "28333"
}
},
"lan-config": null,
"ui": false,
"protocols": [
"tcp",
"zmq"
]
}
},
"backup": {
"create": {
"type": "docker",
"image": "compat",
"system": true,
"entrypoint": "compat",
"args": [
"duplicity",
"create",
"/mnt/backup",
"/root/.bitcoin"
],
"mounts": {
"BACKUP": "/mnt/backup",
"main": "/root/.bitcoin"
},
"io-format": null,
"inject": false,
"shm-size-mb": null
},
"restore": {
"type": "docker",
"image": "compat",
"system": true,
"entrypoint": "compat",
"args": [
"duplicity",
"restore",
"/mnt/backup",
"/root/.bitcoin"
],
"mounts": {
"BACKUP": "/mnt/backup",
"main": "/root/.bitcoin"
},
"io-format": null,
"inject": false,
"shm-size-mb": null
}
},
"migrations": {
"from": {},
"to": {}
},
"actions": {
"reindex": {
"name": "Reindex Blockchain",
"description": "Rebuilds the block and chainstate databases starting from genesis. If blocks already exist on disk, these are used rather than being redownloaded. However, since embassy bitcoin nodes are pruned by default, this usually means downloading the entire blockchain over again.",
"warning": "Blocks not stored on disk will be redownloaded in order to rebuild the database. If your node is pruned (embasssy nodes are pruned by default), this action is equivalent to syncing the node from scratch, so this process could take a couple of weeks.",
"implementation": {
"type": "docker",
"image": "main",
"system": false,
"entrypoint": "reindex.sh",
"args": [],
"mounts": {
"main": "/root/.bitcoin"
},
"io-format": "json",
"inject": false,
"shm-size-mb": null
},
"allowed-statuses": [
"running",
"stopped"
],
"input-spec": {}
}
},
"dependencies": {}
}

View File

@@ -0,0 +1 @@
JAPEX7ZLZIBZUO6YLUQAAGYACA4E5IFBLJPZR3OVQNQOAPNYVHVIEVXRS5RZ65EDCAAQE65PIVOZ46Z6CR4KIX3MWL62YFU5IXBHD4I

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -0,0 +1,23 @@
# Bitcoin Core
## Getting Started
### Config
Your node is highly configurable. Many settings are considered _advanced_ and should be used with caution. For the vast majority of users and use-cases, we recommend using the defaults. This is where you can change RPC credentials as well. Once configured, you may start your node!
### Syncing
Depending on your Internet bandwidth, your node should take approximately 5-7 days to sync from genesis to present.
### Using a Wallet
Enter your QuickConnect QR code **OR** your raw RPC credentials (both located in `Properties`) into any wallet that supports connecting to a remote node over Tor. For a full list of compatible wallets, see <a href="https://github.com/start9labs/bitcoind-wrapper/blob/master/docs/wallets.md" target="_blank">https://github.com/start9labs/bitcoind-wrapper/blob/master/docs/wallets.md</a>.
## Pruning
Pruning is a process by which your node discards old blocks and transactions after it verifies them. Pruned nodes and archival nodes are both "full nodes" in that they are fully validating - they validate every block and transaction. Archival nodes store the entire blockchain and are useful to people interested in doing general or historical analysis, or being a provider of blockchain data to others (eg. a blockexplorer).
The target of pruning on your Embassy is configurable and set by default to the minimum of 550MB (0.55 GB!), meaning the resulting blockchain will occupy a negligible amount of storage space. The maximum amount of blockchain data you can retain depends on the storage capacity your device. The config menu will not permit you to select a target that exceeds a certain percentage of your device's available capacity.
For most use cases, we recommend sticking with a very low pruning setting.

View File

@@ -0,0 +1,22 @@
The MIT License (MIT)
Copyright (c) 2009-2020 The Bitcoin Core developers
Copyright (c) 2009-2020 Bitcoin Developers
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@@ -0,0 +1,272 @@
{
"id": "bitcoind",
"title": "Bitcoin Core",
"version": "0.21.1.2",
"description": {
"short": "A Bitcoin Full Node by Bitcoin Core",
"long": "Bitcoin is an innovative payment network and a new kind of money. Bitcoin uses peer-to-peer technology to operate with no central authority or banks; managing transactions and the issuing of bitcoins is carried out collectively by the network. Bitcoin is open-source; its design is public, nobody owns or controls Bitcoin and everyone can take part. Through many of its unique properties, Bitcoin allows exciting uses that could not be covered by any previous payment system."
},
"assets": {
"license": "LICENSE",
"instructions": "instructions.md",
"icon": "icon.png",
"docker-images": "image.tar",
"assets": null
},
"build": [
"make"
],
"release-notes": "Upgrade to EmbassyOS v0.3.0",
"license": "mit",
"wrapper-repo": "https://github.com/Start9Labs/bitcoind-wrapper",
"upstream-repo": "https://github.com/bitcoin/bitcoin",
"support-site": "https://github.com/bitcoin/bitcoin/issues",
"marketing-site": "https://bitcoincore.org/",
"donation-url": null,
"alerts": {
"install": null,
"uninstall": "Uninstalling Bitcoin Core will result in permanent loss of data. Without a backup, any funds stored on your node's default hot wallet will be lost forever. If you are unsure, we recommend making a backup, just to be safe.",
"restore": "Restoring Bitcoin Core will overwrite its current data. You will lose any transactions recorded in watch-only wallets, and any funds you have received to the hot wallet, since the last backup.",
"start": null,
"stop": null
},
"main": {
"type": "docker",
"image": "main",
"system": false,
"entrypoint": "docker_entrypoint.sh",
"args": [],
"mounts": {
"compat": "/mnt/assets",
"main": "/root/.bitcoin"
},
"io-format": "yaml",
"inject": false,
"shm-size-mb": null
},
"health-checks": {
"rpc": {
"type": "docker",
"image": "main",
"system": false,
"entrypoint": "bitcoin-cli",
"args": [
"-rpcconnect=bitcoind.embassy",
"-getinfo"
],
"mounts": {},
"io-format": "yaml",
"inject": true,
"shm-size-mb": null,
"critical": false
},
"synced": {
"type": "docker",
"image": "utils",
"system": true,
"entrypoint": "/mnt/assets/check-synced.sh",
"args": [],
"mounts": {
"main": "/root/.bitcoin",
"utils": "/mnt/assets"
},
"io-format": "yaml",
"inject": false,
"shm-size-mb": null,
"critical": false
}
},
"config": {
"get": {
"type": "docker",
"image": "compat",
"system": true,
"entrypoint": "compat",
"args": [
"config",
"get",
"/root/.bitcoin",
"/mnt/assets/config_spec.yaml"
],
"mounts": {
"compat": "/mnt/assets",
"main": "/root/.bitcoin"
},
"io-format": "yaml",
"inject": false,
"shm-size-mb": null
},
"set": {
"type": "docker",
"image": "compat",
"system": true,
"entrypoint": "compat",
"args": [
"config",
"set",
"bitcoind",
"/root/.bitcoin",
"/mnt/assets/config_rules.yaml"
],
"mounts": {
"compat": "/mnt/assets",
"main": "/root/.bitcoin"
},
"io-format": "yaml",
"inject": false,
"shm-size-mb": null
}
},
"properties": {
"type": "docker",
"image": "compat",
"system": true,
"entrypoint": "compat",
"args": [
"properties",
"/root/.bitcoin"
],
"mounts": {
"main": "/root/.bitcoin"
},
"io-format": "yaml",
"inject": false,
"shm-size-mb": null
},
"volumes": {
"compat": {
"type": "assets"
},
"main": {
"type": "data"
},
"utils": {
"type": "assets"
}
},
"min-os-version": "0.3.0",
"interfaces": {
"peer": {
"name": "Peer Interface",
"description": "Listens for incoming connections from peers on the bitcoin network",
"tor-config": {
"port-mapping": {
"8333": "8333"
}
},
"lan-config": null,
"ui": false,
"protocols": [
"tcp",
"bitcoin"
]
},
"rpc": {
"name": "RPC Interface",
"description": "Listens for JSON-RPC commands",
"tor-config": {
"port-mapping": {
"8332": "8332"
}
},
"lan-config": {
"8332": {
"ssl": false,
"mapping": 8332
}
},
"ui": false,
"protocols": [
"tcp",
"http",
"json-rpc"
]
},
"zmq": {
"name": "ZeroMQ Interface",
"description": "Listens for subscriptions to the ZeroMQ raw block and raw transaction event streams",
"tor-config": {
"port-mapping": {
"28332": "28332",
"28333": "28333"
}
},
"lan-config": null,
"ui": false,
"protocols": [
"tcp",
"zmq"
]
}
},
"backup": {
"create": {
"type": "docker",
"image": "compat",
"system": true,
"entrypoint": "compat",
"args": [
"duplicity",
"create",
"/mnt/backup",
"/root/.bitcoin"
],
"mounts": {
"BACKUP": "/mnt/backup",
"main": "/root/.bitcoin"
},
"io-format": null,
"inject": false,
"shm-size-mb": null
},
"restore": {
"type": "docker",
"image": "compat",
"system": true,
"entrypoint": "compat",
"args": [
"duplicity",
"restore",
"/mnt/backup",
"/root/.bitcoin"
],
"mounts": {
"BACKUP": "/mnt/backup",
"main": "/root/.bitcoin"
},
"io-format": null,
"inject": false,
"shm-size-mb": null
}
},
"migrations": {
"from": {},
"to": {}
},
"actions": {
"reindex": {
"name": "Reindex Blockchain",
"description": "Rebuilds the block and chainstate databases starting from genesis. If blocks already exist on disk, these are used rather than being redownloaded. However, since embassy bitcoin nodes are pruned by default, this usually means downloading the entire blockchain over again.",
"warning": "Blocks not stored on disk will be redownloaded in order to rebuild the database. If your node is pruned (embasssy nodes are pruned by default), this action is equivalent to syncing the node from scratch, so this process could take a couple of weeks.",
"implementation": {
"type": "docker",
"image": "main",
"system": false,
"entrypoint": "reindex.sh",
"args": [],
"mounts": {
"main": "/root/.bitcoin"
},
"io-format": "json",
"inject": false,
"shm-size-mb": null
},
"allowed-statuses": [
"running",
"stopped"
],
"input-spec": {}
}
},
"dependencies": {}
}