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

bcoin

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

Bcoin

Bcoin is an alternative implementation of the Bitcoin protocol, written inJavaScript and C/C++ for Node.js.

Bcoin is well tested and aware of all known consensus rules. It is currentlyused in production as the consensus backend and wallet system forpurse.io.

Uses

  • Full Node
  • SPV Node
  • Wallet Backend
  • Mining Backend (getblocktemplate support)
  • Layer 2 Backend (lightning)
  • General Purpose Bitcoin Library

Try it in the browser: https://bcoin.io/browser/

Install

$ git clone git://github.com/bcoin-org/bcoin.git
$ cd bcoin
$ npm rebuild
$ ./bin/bcoin

See the Getting started guide for more in-depth installationinstructions, including verifying releases. If you're upgrading, see thelatest changes via the Changelog.

Documentation

Support

Join us on freenode in the #bcoin channel.

Disclaimer

Bcoin does not guarantee you against theft or lost funds due to bugs, mishaps,or your own incompetence. You and you alone are responsible for securing yourmoney.

Contribution and License Agreement

If you contribute code to this project, you are implicitly allowing your codeto be distributed under the MIT license. You are also implicitly verifying thatall code is your original work. </legalese>

License

  • Copyright (c) 2014-2015, Fedor Indutny (MIT License).
  • Copyright (c) 2014-2017, Christopher Jeffrey (MIT License).

See LICENSE for more info.

  • 数学能力严重退化,奇数项的和都不会求了。。 代码如下 #include<cstdio> #include<iostream> #include<cstring> #include<algorithm> using namespace std; const int M=1e9+7; long long pow4(int a,int b) { long long base=a,r=1

  • Bob has a not even coin, every time he tosses the coin, the probability that the coin's front face up is \frac{q}{p}(\frac{q}{p} \le \frac{1}{2})​p​​q​​(​p​​q​​≤​2​​1​​). The question is, when Bob tos

  • Bob has a not even coin, every time he tosses the coin, the probability that the coin’s front face up is qp (qp≤12) The question is, when Bob tosses the coin kk times, what’s the probability that the

  • 传送门:  https://nanti.jisuanke.com/t/17115 Bob has a not even coin, every time he tosses the coin, the probability that the coin's front face up is \frac{q}{p}(\frac{q}{p} \le \frac{1}{2})​p​​q​​(​p​​q​

  • Bob has a not even coin, every time he tosses the coin, the probability that the coin's front face up isqp(qp≤12)\frac{q}{p}(\frac{q}{p} \le \frac{1}{2})​p​​q​​(​p​​q​​≤​2​​1​​). The question is, when

  • Bob has a not even coin, every time he tosses the coin, the probability that the coin's front face up is \frac{q}{p}(\frac{q}{p} \le \frac{1}{2})​p​​q​​(​p​​q​​≤​2​​1​​). The question is, when Bob tos

  • 描述 As is known to all,if you throw a coin up and let it droped on the desk there are usually three results. Yes,just believe what I say ~it can be the right side or the other side or standing on the d

  • 题目 Suppose there are 5 types of coins: 50-cent, 25-cent, 10-cent, 5-cent, and 1-cent. We want to make changes with these coins for a given amount of money. For example, if we have 11 cents, then we ca

  • Coin Test 时间限制:3000 ms  |  内存限制:65535 KB 难度:1 描述 As is known to all,if you throw a coin up and let it droped on the desk there are usually three results. Yes,just believe what I say ~it can be the rig

  • B - Factorial Yen Coin Time Limit: 2 sec Memory Limit: 1024 MB Score : 200 points Problem Statement The coins used in the Kingdom of Takahashi are 1 ! -yen coins, 2 ! -yen coins, … , and 10 ! -yen coi

  • #include <iostream> #include <unordered_map> #include <vector> #include <algorithm> using namespace std; struct cmp { bool operator()(const int& a, const int& b) { return a > b; } };

  • Coin Test 时间限制: 3000 ms  |  内存限制: 65535 KB 难度: 1 描述 As is known to all,if you throw a coin up and let it droped on the desk there are usually three results. Yes,just believe what I say ~it can be the

  • Toss is an important part of any event. When everything becomes equal toss is the ultimate decider. Normally a fair coin is used for Toss. A coin has two sides head(H) and tail(T). Superstition may wo

  • #include<stdio.h> int main() { int n,i,t,a=0,b=0,c=0,r,t1,a1; char s[655360]; scanf("%d",&n); getchar(); for(i=0;i<n;i++) { scanf("%c",&s[i]); } for(i=0;i<n;i++) { if(s[i]=='U') { a++; } if(s[i]=='D')

  • Coin-row problem 1000(ms) 65535(kb) 317 / 856 There is a row of n coins whose values are some positive integers c₁, c₂,...,cn, not necessarily distinct. The goal is to pick up the maximum amount of mo

  • 转载: https://bitbucket.org/Coin3D/coin/wiki/BuildWithCMake   前提是,你已经安装了cmake,才适用此方法。 (1) hg clone https://bitbucket.org/Coin3D/coin coin (2) cmake -Hcoin -Bcoin_build -G "Unix Makefiles" -DCMAKE_INSTAL

  • 时间限制:1秒  空间限制:65536K  热度指数:412  算法知识视频讲解 题目描述 The "Gold Bar"bank received information from reliable sources that in their last group of N coins exactly one coin is false and differs in weight from oth

  • False coin Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 22295   Accepted: 6256 Description The "Gold Bar"bank received information from reliable sources that in their last group of N c

  • Problem Description The "Gold Bar"bank received information from reliable sources that in their last group of N coins exactly one coin is false and differs in weight from other coins (while all other

  • Bob has a not even coin, every time he tosses the coin, the probability that the coin's front face up is q/p(q/p<=1/2)。The question is, when Bob tosses the coin kk times, what's the probability that t

  • Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius hands in the homework after th

  • Coin Change Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 19678    Accepted Submission(s): 6879 Problem Description Suppose there are 5 types

  •  题目描述 设有n 种不同面值的硬币,各硬币的面值存于数组T[1:n]中。现要用这些面值的硬币来找钱。可以使用的各种面值的硬币个数存于数组Coins[1:n]中。 对于给定的1≤n≤10,硬币面值数组T和可以使用的各种面值的硬币个数数组Coins,以及钱数m,0≤m≤20001,编程计算找钱m的最少硬币数。 输入 第一行中只有1 个整数给出n的值,第2 行起每行2 个数,分别是T[j]和Coins

  • Coin Change Time Limit : 1000/1000ms (Java/Other)   Memory Limit : 32768/32768K (Java/Other) Total Submission(s) :    Accepted Submission(s) : Problem Description Suppose there are 5 types of coins: 5

相关阅读

相关文章

相关问答

相关文档