C# 클래스 Coinium.Core.Coin.CoinbaseUtils

Provides helper functions for "serialized CSscript formatting" as defined here: https://github.com/bitcoin/bips/blob/master/bip-0034.mediawiki#specification
파일 보기 프로젝트 열기: Ziftr/CoiniumServ

공개 메소드들

메소드 설명
SerializeNumber ( int value ) : byte[]

first byte is number of bytes in the number (will be 0x03 on main net for the next 300 or so years), following bytes are little-endian representation of the number.

Specification: https://github.com/bitcoin/bips/blob/master/bip-0034.mediawiki#specification python: https://github.com/Crypto-Expert/stratum-mining/blob/master/lib/util.py#L204 http://runnable.com/U3Hb26U1918Zx0NR/bitcoin-coinbase-serialize-number-python nodejs: https://github.com/zone117x/node-stratum-pool/blob/a06ba67ab327e09f74cb7d14291ea1ece541104c/lib/util.js#L135 Used to format height and date when putting into script signature: https://en.bitcoin.it/wiki/Script

메소드 상세

SerializeNumber() 공개 정적인 메소드

first byte is number of bytes in the number (will be 0x03 on main net for the next 300 or so years), following bytes are little-endian representation of the number.
Specification: https://github.com/bitcoin/bips/blob/master/bip-0034.mediawiki#specification python: https://github.com/Crypto-Expert/stratum-mining/blob/master/lib/util.py#L204 http://runnable.com/U3Hb26U1918Zx0NR/bitcoin-coinbase-serialize-number-python nodejs: https://github.com/zone117x/node-stratum-pool/blob/a06ba67ab327e09f74cb7d14291ea1ece541104c/lib/util.js#L135 Used to format height and date when putting into script signature: https://en.bitcoin.it/wiki/Script
public static SerializeNumber ( int value ) : byte[]
value int
리턴 byte[]