Compare commits
No commits in common. "f12e8b4606abad8cbd4e022aa50ff99f20986214" and "c4c6ef6bb866cfceca5b7a41777e5dfdf9194e9b" have entirely different histories.
f12e8b4606
...
c4c6ef6bb8
2
.gitignore
vendored
2
.gitignore
vendored
@ -38,5 +38,3 @@ db/testnet/blocks
|
||||
|
||||
README.html
|
||||
public
|
||||
coverage
|
||||
report
|
||||
|
||||
@ -1,74 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
// Local Coded
|
||||
|
||||
|
||||
var initModule = function(node, serivces) {
|
||||
// hook to events
|
||||
};
|
||||
|
||||
// createmultisig nrequired ["key",...]
|
||||
var createMultisig = function(required, keys) {
|
||||
// keys array or string.
|
||||
// Keys may be addreses (return error).
|
||||
// returns: address and hex-enconded redeem script
|
||||
};
|
||||
|
||||
// createrawtransaction [{"txid":"id","vout":n},...] {"address":amount,...}
|
||||
var createRawTransaction = function(outpoints, outputs) {
|
||||
// outpoints. array or outpoint
|
||||
// outputs or (Address:amount)
|
||||
// returns a raw transaction
|
||||
};
|
||||
|
||||
// decoderawtransaction "hexstring"
|
||||
var decodeRawTransaction = function(transaction) {
|
||||
// hex transaction
|
||||
// result: txid, version, locktime, vin, vout
|
||||
};
|
||||
|
||||
// decodescript "hex"
|
||||
var decodeScript = function(redeemScript) {
|
||||
// hex redeemScript
|
||||
// result: asm, type, reqSigs, addresses, p2sh
|
||||
};
|
||||
|
||||
// getblock "hash" ( verbose )
|
||||
var decodeScript = function(redeemScript) {
|
||||
|
||||
};
|
||||
|
||||
// getblockhash index
|
||||
|
||||
// getrawtransaction "txid" ( verbose )
|
||||
|
||||
// gettxout "txid" n ( includemempool )
|
||||
|
||||
// gettxoutsetinfo
|
||||
|
||||
// sendrawtransaction "hexstring" ( allowhighfees )
|
||||
|
||||
// signrawtransaction "hexstring" ( [{"txid":"id","vout":n,"scriptPubKey":"hex","redeemScript":"hex"},...] ["privatekey1",...] sighashtype )
|
||||
// validateaddress "bitcoinaddress"
|
||||
// verifymessage "bitcoinaddress" "signature" "message"
|
||||
// getchaintips
|
||||
// GetMemPoolInfo
|
||||
// help ( "command" )
|
||||
|
||||
|
||||
// Proxied to Bitcoind
|
||||
// estimatefee
|
||||
// estimatepriority
|
||||
// getaddednodeinfo dns ( "node" )
|
||||
// getbestblockhash
|
||||
// getblockchaininfo
|
||||
// getblockcount
|
||||
// getconnectioncount
|
||||
// getdifficulty
|
||||
// getinfo
|
||||
// getnettotals
|
||||
// getnetworkhashps ( blocks height )
|
||||
// getnetworkinfo
|
||||
// getpeerinfo
|
||||
// getrawmempool ( verbose ) // this could be done
|
||||
// ping
|
||||
Loading…
Reference in New Issue
Block a user