QC3 | PE2.0+ | USBPD | CABLE | NOTE | |
---|---|---|---|---|---|
Meizu UP0830 | ○ | ○ | ☓ | TypeA | usb-cのモバイルバッテリに5V3Aで充電できた |
Xiaomi CDQ02ZM | ○ | ☓ | ○ | TypeC | |
Sony UCH12 | ○ | ○ | ☓ | TypeA | Blackviewの端末ではPE2で充電できなかった |
Mackertop45WPD | ☓ | ☓ | ○ | TypeC |
This file contains hidden or 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
function prepareFee(): Promise<Object> { | |
const multiplier = instructions.signersCount === undefined ? 1 : | |
instructions.signersCount + 1 | |
if (instructions.fee !== undefined) { | |
txJSON.Fee = scaleValue(common.xrpToDrops(instructions.fee), multiplier) | |
return Promise.resolve(txJSON) | |
} | |
const cushion = api._feeCushion | |
return common.serverInfo.getFee(api.connection, cushion).then(fee => { | |
return api.connection.getFeeRef().then(feeRef => { |
I hereby claim:
- I am you21979 on github.
- I am you21979 (https://keybase.io/you21979) on keybase.
- I have a public key ASC3GWEYISkCprbiw64dxyT_FTwKXtRglfDqdm6g-ke1QAo
To claim this, I am signing this object:
This file contains hidden or 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
一日分の高値と安値を取得 | |
その間をトラリピ |
This file contains hidden or 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 net = require('net'); | |
const responseParser = require('http-string-parser').parseResponse; | |
const makeCookieAuth = (user, password) => { | |
return new Buffer(user + ':' + password).toString('base64') | |
} | |
const makeRequest = (method, params, id) => { | |
return JSON.stringify({ | |
jsonrpc : "2.0", |
This file contains hidden or 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 fees = require('bitcoinfees-21co'); | |
const task = require('promise-util-task'); | |
const munin = require('munin-plugin'); | |
const api = fees.FeesApi; | |
const graphRecommended = (res) => { | |
const g = new munin.Graph('bitcoin feerate','satoshi/byte','bitcoin'); | |
Object.keys(res).forEach(key => { | |
g.add(new munin.Model.Default(key).setValue(res[key])); | |
}) |
https://www.youtube.com/watch?v=5yP7pvQynb4
- bitcoinのトランザクションだけでデータを完結している
- bitcoinのトランザクション内にカウンターパーティのデータを紛れ込ませる
- 1of3のmultisig内に偽装してデータを埋め込む
- トランザクションにはトークン名と残高を記録
- counterpartydはビットコインのブロックチェーンをウォッチして独自データベースに集計する
This file contains hidden or 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 bitcoin = require("bitcoinjs-lib") | |
const bip39 = require('bip39') | |
const bip32utils = require('bip32-utils') | |
const insight = require('insight-cli').RestClient | |
const bip44_account = (m, BIP44) => m.deriveHardened(BIP44.PURPOSE).deriveHardened(BIP44.COINTYPE).deriveHardened(BIP44.ACCOUNT) | |
const mnemonic = "" | |
const seed = bip39.mnemonicToSeed(mnemonic, "") |
This file contains hidden or 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
* interledger | |
* lightning | |
* ipfs | |
* iota | |