BIP: 342 Layer: Consensus (soft fork) Title: Validation of Taproot Scripts Author: Pieter Wuille <pieter.wuille@gmail.com> Jonas Nick <jonasd.nick@gmail.com> Anthony Towns <aj@erisian.com.au> Comments-Summary: No comments yet. Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-0342 Status: Draft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
def jizoku(i): | |
if i < 10: | |
return 0 | |
a = 1 | |
while i > 0: | |
a *= i % 10 | |
i /= 10 | |
return jizoku(a) + 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const crypto = require('crypto'); | |
const grpc = require('grpc'); | |
const protoLoader = require('@grpc/proto-loader'); | |
const protobufjs = require('protobufjs'); | |
const ed25519 = require('ed25519'); | |
const PROTO_DIR = __dirname + '/proto'; | |
const privateKey = Buffer.from('fbcedfd8848bf097ca79a8248a26d929ebf7104c1fcc471a6c4fd87113798766', 'hex'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @file claim_checker.js | |
* | |
* Check the balance of your Bitcoin HD wallet at the specified block height. | |
* This is usefull for checking what address is capable of receiving Stellar giveaway coins. | |
*/ | |
const BASE_BLOCK_HEIGHT = 472889; | |
const HD_GAP_LIMIT = 20; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install | |
* OS: Ubuntu 16.10 Yakkety amd64 Desktop | |
* Ubuntu-provided `python-click` package should be removed since the version is too old. | |
## Install addrindex-patched Bitcoin Core | |
Counterparty requires so-called "addrindex-patched" version of Bitcoin Core. | |
https://github.com/btcdrak/bitcoin/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For USD/JPY, | |
=ImportXML("http://api.aoikujira.com/kawase/xml/usd","/kawase/JPY") |
NewerOlder