BTQ is a state-of-the-art cryptocurrency.
397
BTQ is a state-of-the-art cryptocurrency that combines Bitcoin's trusted economic framework with advanced quantum-resistant security measures. It maintains a total supply of 21 million units, mirroring Bitcoin's limited availability. BTQ distinguishes itself by utilizing a dual-mining approach: it supports CPU-friendly RandomX algorithm and extends to GPU mining with Cryptonight cn/0. This combination democratizes mining and minimizes the risk of hardware centralization. BTQ features a unique emission schedule spread over approximately 1000 years, with a 5% decrease in block rewards every 525,600 blocks, aiming for long-term sustainability and market stability. Moreover, BTQ is advancing its technology with the development of a Proof-of-Stake system, ensuring it remains resilient and efficient amidst the evolving blockchain technology landscape and quantum computing advancements.
This Dockerfile creates a Docker image based on Ubuntu 22.04, specifically designed for running applications related to Bitcoin Quantum (BTQ). It includes Python 3.10 and other necessary packages to support the execution of BTQ-related tasks.
To use this Docker image, you need to have Docker installed on your system. Once Docker is installed, you can build the image using the following command:
docker build -t btq_image .
This command builds the Docker image with the tag btq_image using the Dockerfile in the current directory.
To run the Docker container from the built image, use:
docker run -it --name btq_container btq_image
This command starts a container named btq_container using the btq_image image and provides an interactive terminal.
To run the Docker container from the built image, you can use the following command which also maps the container ports to the host machine. This allows the containerized application to communicate with external networks through specified ports.
docker run -it --name btq_container -p 19007:19007 -p 19008:19008 -p 19009:19009 -p 19010:19010 -p 19090:19090 -p 19091:19091 -p 52134:52134 btq_image
-it: Runs the container in interactive mode with a tty, allowing you to interact with the command line inside the container.--name btq_container: Assigns the name btq_container to the new container instance.-p <host_port>:<container_port>: Maps a port on the host machine to a port on the container. This is done for multiple ports as per the requirements of the BTQ application to ensure all necessary communications are possible.The Dockerfile configures the container to:
/app inside the container.The entrypoint.sh script is set as the entry point of the container. Make sure this script contains the necessary commands to start your BTQ application.
If you require persistent storage, consider using Docker volumes or bind mounts to persist data beyond the lifecycle of a single container instance.
For more advanced Docker configurations and commands, refer to the official Docker documentation. This setup is optimized for development and testing purposes. For production environments, further optimizations and security measures are recommended.
Content type
Image
Digest
sha256:8f5ce8a09…
Size
388 MB
Last updated
about 2 years ago
docker pull bitcoinquantum/btq