当前位置: 首页 > 软件库 > Web3 > 开源货币/比特币 >

BitcoinPrivate-legacy

授权协议 View license
开发语言 Python
所属分类 Web3、 开源货币/比特币
软件类型 开源软件
地区 不详
投 递 者 江正德
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Bitcoin Private

** 10/8/2020 - Current chain offline - New code and chain coming soon **

Bitcoin Private v1.0.15

P2P Port: 7933

RPC Port: 7932

Bitcoin Private is a fork of Zclassic, merging in a snapshotted UTXO set of Bitcoin. BTCP is financial freedom.

Build

Linux

Get dependencies:

sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool ncurses-dev unzip git python \
      zlib1g-dev wget bsdmainutils automake

Build:

# Checkout
git clone https://github.com/BTCPrivate/BitcoinPrivate.git
cd BitcoinPrivate
# Build
./btcputil/build.sh -j$(nproc)
# Fetch Zcash ceremony keys
./btcputil/fetch-params.sh

Create Config File:

mkdir ~/.btcprivate
touch ~/.btcprivate/btcprivate.conf
vi ~/.btcprivate/btcprivate.conf

Add following lines to btcprivate.conf and be sure to change the rpcpassword:

rpcuser=btcprivaterpc
rpcpassword=set-a-password
rpcallowip=127.0.0.1
#addnode=dnsseed.btcprivate.org
#addnode=dnsseed.btcprivate.co

Get backup chain parameters (this will speed up syncing and is optional)(Ideally this step would be skipped to ensure integrity throughout the network)(However, this is a backup from the official Electrumx server 29th September 2019)

cd ~/.btcprivate 
wget https://params.btcprivate.org/chainstate.tar.gz 
tar -zxvf chainstate.tar.gz 
cd ~/BitcoinPrivate 

Run:

./src/btcpd

Windows

Windows is not a fully supported build - however there are two ways to build BTCP for Windows:

  • On Linux using Mingw-w64 cross compiler tool chain. Ubuntu 16.04 Xenial is proven to work and the instructions is for such release.
  • On Windows 10 (64-bit version) using Windows Subsystem for Linux (WSL) and Mingw-w64 cross compiler tool chain.

With Windows 10, Microsoft released a feature called WSL. It basically allows you to run a bash shell directly on Windows in an ubuntu environment. WSL can be installed with other Linux variants, but as mentioned before, the distro proven to work is Ubuntu.Follow this link for installing WSL first

Building for Windows 64-Bit

  1. Get the usual dependencies:
sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool ncurses-dev unzip git python \
      zlib1g-dev wget bsdmainutils automake make cmake mingw-w64
  1. Set the default mingw32 gcc/g++ compiler option to posix, fix problem with packages in Xenial
sudo apt install software-properties-common
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu zesty universe"
sudo apt update
sudo apt upgrade
sudo update-alternatives --config x86_64-w64-mingw32-gcc
sudo update-alternatives --config x86_64-w64-mingw32-g++
  1. Install Rust
curl https://sh.rustup.rs -sSf | sh
source ~/.cargo/env
rustup install stable-x86_64-unknown-linux-gnu
rustup install stable-x86_64-pc-windows-gnu
rustup target add x86_64-pc-windows-gnu
vi  ~/.cargo/config

and add:

[target.x86_64-pc-windows-gnu]
linker = "/usr/bin/x86_64-w64-mingw32-gcc"

Note that in WSL, the BTCPrivate source code must be somewhere in the default mount file system. i.e /usr/src/BTCPrivate, and not on /mnt/d/. What this means is that you cannot build directly on the windows system

  1. Build for Windows
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
./btcputil/build-win.sh -j$(nproc)
  1. Installation

If compiling on linux, use the following command to build the executables in `./depends/x86_64-w64-mingw32/bin/

sudo make install DESTDIR=

If compiling using WSL, use the following command to build the executables in `c:\btcp\BTCPrivate

sudo make install DESTDIR=/mnt/c/btcp/BTCPrivate

Building for Mac

  1. Install xcode.
xcode-select --install
  1. Install HomeBrew.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Install Dependencies with HomeBrew.
brew install cmake autoconf libtool automake coreutils pkgconfig gmp wget
  1. Install gcc5 with HomeBrew. (** IF USING XCODE 10+ remove --without-multilib flag**)
brew install gcc5 --without-multilib
  1. Clone the Bitcoin Private repo to your computer.
git clone https://github.com/BTCPrivate/BitcoinPrivate.git
  1. Change to BitcoinPrivate Directory.
cd BitcoinPrivate
  1. Build Bitcoin Private Daemon code.
./btcputil/build-mac.sh -j$(sysctl -n hw.physicalcpu)
  1. Fetch key & Params.
./btcputil/fetch-params.sh
  1. Run the Bitcoin Private Daemon that was just built.
./src/btcpd

Additional notes

If you plan to build for windows and linux at the same time, be sure to delete all the built files for whatever you build first. An easy way to do this is by taking the binaries out of the repo, delete all files except the .git folder and then do a git hard reset.

Testnet

Build the latest version of BTCP using the instructions below, then follow the testnet guide

About

Bitcoin Private, like Zclassic and Zcash, is an implementation of the "Zerocash" protocol.Based on Zclassic's code, it intends to offer a far higher standard of privacythrough a sophisticated zero-knowledge proving scheme that preservesconfidentiality of transaction metadata. Technical details are availablein the Zcash Protocol Specification.

This software is the Bitcoin Private client. It downloads and stores the entire historyof Bitcoin Private transactions. Depending on the speed of your computer and networkconnection, the synchronization process could take a day or more once theblockchain has reached a significant size.

It includes both btcpd (the daemon) and btcp-cli (the command line tools).

Security Warnings

See important security warnings indoc/security-warnings.md.

Bitcoin Private is unfinished and highly experimental. Use at your own risk.

Deprecation Policy

This release is considered deprecated 16 weeks after the release day. Thereis an automatic deprecation shutdown feature which will halt the node sometime after this 16 week time period. The automatic feature is based on blockheight and can be explicitly disabled.

Where do I begin?

We have a guide for joining the main Bitcoin Private network:https://github.com/zcash/zcash/wiki/1.0-User-Guide

Need Help?

Want to participate in development?

  • Code review is welcome!
  • If you want to get to know us join our Discord: https://discord.gg/9xezcaK
  • We have a brief guide for joining the Bitcoin private testnet here

Participation in the Bitcoin Private project is subject to aCode of Conduct.

Building

Build BTCP along with most dependencies from source by running./btcputil/build.sh. Currently only Linux is officially supported.

License

For license information see the file COPYING.

  • 在NPM v7中,现在默认安装peerDependencies。 在很多情况下,这会导致版本冲突,从而中断安装过程。 --legacy-peer-deps标志是在v7中引入的,目的是绕过peerDependency自动安装;它告诉 NPM 忽略项目中引入的各个modules之间的相同modules但不同版本的问题并继续安装,保证各个引入的依赖之间对自身所使用的不同版本modules共存。

  • 踩过的坑点 ,之前添加了环境变量NODE_OPTIONS=--penssl-legacy-provider解决了标题中的问题,但是加了这个环境变量会导致我有些软件莫名其妙打不开了。 最终选择了如下解决方式: 在控制台输入如下内容后再进行node,npm,yarn等指令的操作 set NODE_OPTIONS=""

  • 经过几个月的期待,OpenCore Legacy Patcher 0.5.1为macOS Ventura增加了测试版支持 有了这个版本,大多数拥有以下列出的2012或更新版本Mac的用户应该可以轻松安装苹果最新的操作系统! 此版本是最初0.5.0版本的扩展,具有额外的改进,包括对2013年垃圾桶Mac Pro的支持,以及在2013-2014年年中MacBook Airs上解决SSD支持! 其他机

  • 大致题意:给一个图,有3种边,t=1时,是点u对点v的单向边,t=2时,是点u到标号为[l,r]的点的单向边,t=3时,是标号为[l,r]到点u的边,求单源多汇最短路。 注意,点的数量为10^5,所以如果把每个点之间的边都存下来会占用GB级别的内存,显然这不是出题者所希望看到的,我们应该对存储边的方式进行调整。 既然我们不能把每个点对点的边都存下来,不如新建一些集散点用进行集中和分散,就像现实生活

  • 将Bootloader方式从Legacy改成UFEI之后,由于Bootloader的获取的信息存放在了不同的数据结构中,因此内核程序需要进行相应的调整。 一、内核头程序head.S 田宇老师的《一个UEFI引导程序的实现》一文提出:“由于数据段描述符在GDT表中的位置无法确定,从而就无法直接通过段选择子对段寄存器进行赋值。不过,好在栈段寄存器SS指向的段是可读写的,那么将此段作为数据段是可行的。”

  • 1. LEGACY BIOS     可使用内存空间限制为1MB     板卡BIOS映射空间限制为128KB --- 不可以有太多板卡,这也是应用于服务器最大的瓶颈     汇编语言,不可以写太复杂和太庞大的程序,功能受限   2. EFI     保护模式,可以访问2^64 BYTE内存空间     ROM SIZE不受限制     c语言开发,模块化     有现成的efi实现,Intel

  • Legacy:Within From Unreal Wiki, The Unreal Engine Documentation Site Jump to: navigation, search The within UnrealScript keyword is used to forward class member access to another containing class. The

  • 对UEFI系统: 1.硬盘必须是空的,否则备份所有数据(非常重要) 2.将硬盘转为gpt格式(若原本就是gpt的,可以跳过前两步): cmd -> diskpart -> list disk -> select disk 0 -> clean  -> convert gpt (执行这些后,硬盘就什么数据都没有了) 3.为硬盘分区: EFI格式的约512M或1G 系统盘50G,其他随意 4.制作 U

  • 今天装系统好曲折,记住uefi加上GTP或者legacy boot加上 mbr  就行了  调成mbr可以在diskgenius里面的硬盘选项找到

  • 这个机器比较简单,其实也就是永恒之蓝ms17-010 nmap -sV -sC -p- 10.10.10.4 nmap结果 PORT STATE SERVICE VERSION 139/tcp open netbios-ssn Microsoft Windows netbios-ssn 445/tcp open microsoft-ds Windows XP

  • 1、GRUB简介 grub(GRand Unified Bootloader)分为两代: grub 0.x是grub legacy,grub的经典版本; grub 1.x是grub2,grub的第二代。 2、Grub Legacy的流程 stage 1:启动MBR中的bootloader; stage 1.5:读取MBR之后的扇区,让stage1中的bootloader能识别stage 2所在的分

  • 注册QMI 根据我们需要的service注册相应的qmi client,一般只需要用到NAS WDS WDA WMS UIM VOICE DMS 这几个,所以在一开始注册这几个service的client 注册 NAS nas_get_service_object_v01 qmi_client_init_ex 注册 wds wds_get_service_object_v0

  • ABI,Legacy ABI, EABI GCC view New ABI is not only a new ABI field, it is also a new GCC target. Legacy ABI:  * ABI flags passed to binutils: -mabi=apcs-gnu -mfpu=fpa Arm EABI: * ABI flags passed by gc

 相关资料
  • 我试图使用Eclipse e4创建一个新的视图(我的产品是基于RCP3.x的,但现在更新为使用legacye4.xmi,但现有的视图和透视图是通过3.x ext.points注册的)。我目前正在使用ext point org.eclipse.ui.views/e4view注册我的视图。我现在尝试在一个fragment.e4xmi文件中注册视图。 我该怎么做呢?internet上的各种示例似乎都是从

  • 问题内容: 我的代码在tomcat 8版本8.0.33上运行,但在8.5.4上我得到:为此Cookie指定了无效的域[.mydomain]。 我发现Rfc6265CookieProcessor是在tomcat 8最新版本中引入的。 它在官方文档上说可以在context.xml中还原为LegacyCookieProcessor,但是我不知道如何。 请让我知道该怎么做。 谢谢 问题答案: 您可以在co

  • 虽然 Sequelize 自认为可以开箱即用, 但是如果你要处理遗留表并向前验证应用程序,仅需要通过定义(否则生成)表和字段名称即可. 表 class User extends Model {} User.init({ // ... }, { modelName: 'user', tableName: 'users', sequelize, }); 字段 class MyMode

  • 直到现在(遗留),身份验证工作所需的全部工作就是在subsystems->Security中创建一个具有正确名称的安全域(“referencesapplicationdomain”)。 我的web.xml: 我的jboss-web.xml: 我遵循Wildfly Elytron文档使用JBoss-CLI创建了安全域和http工厂。 当我签入jboss-cli时,我看到安全域已经创建。 然而,当我尝

  • 我目前正在尝试实现一个使用EWS对用户的outlook联系人进行更新的服务,但我在正确写入电子邮件地址字段时遇到了一些麻烦。请注意,我不是一个Exchange开发人员,在EWS方面我是一个新手。 当使用FindItems()方法搜索用户的contacts文件夹时,返回的Contact对象将其电子邮件地址字段作为正确的SMTP地址(blah@blah.com)。但是,当我更新并保存联系人时,下一次检

  • 我需要能够将添加到我的项目中,以解决apache不再可用的问题。比如这里: HttpClient不会在Android Studio中导入 这里提到的任何可能的解决办法也不是。在Android Studio中没有libs目录 有人有解决办法吗?

相关阅读

相关文章

相关问答

相关文档