Most answered questions in Blockchain

0 votes
1 answer

What Regex to use to identify a Block Hash?

Blockhashes are always 64 characters in length. You ...READ MORE

Aug 28, 2018 in Blockchain by digger
• 26,740 points
1,581 views
0 votes
1 answer

Bitstamp API signature in Ruby

Here is a code that works: require 'open-uri' require ...READ MORE

Aug 28, 2018 in Blockchain by slayer
• 29,350 points
900 views
0 votes
1 answer

How to create Bitcoin Address in PHP?

You need to understand that Bitcoin address and ...READ MORE

Aug 28, 2018 in Blockchain by Perry
• 17,100 points
5,114 views
0 votes
1 answer

How to proceed after connecting with hardcoded node?

I am assuming that by hardcoded nodes ...READ MORE

Aug 28, 2018 in Blockchain by Perry
• 17,100 points
702 views
0 votes
1 answer

How to configure diverse workloads and tasks?

Golem appears to be in early stages of ...READ MORE

Aug 28, 2018 in Blockchain by Johnathon
• 9,090 points
499 views
0 votes
1 answer

Unable to unmarshal non-string into Go struct field SendTxArgs from of common.Address

Probably you should specify the default_account for client(sender address). In my ...READ MORE

Aug 28, 2018 in Blockchain by Johnathon
• 9,090 points
1,948 views
0 votes
1 answer

Issue in running Corda as a service

There are a few issues with the ...READ MORE

Aug 28, 2018 in Blockchain by Johnathon
• 9,090 points
768 views
0 votes
1 answer

"Blocking waiting for a file lock on the registry index" after building parity from source

I had the same issue and got ...READ MORE

Aug 28, 2018 in Blockchain by Johnathon
• 9,090 points
837 views
0 votes
1 answer

Problem in QRL (Quantum Resistant Node) startup

There is an open issue in GitHub ...READ MORE

Aug 28, 2018 in Blockchain by Johnathon
• 9,090 points
551 views
0 votes
1 answer

Trying to deploy fabric v1.1.0 on Kubernetes but getting a random error

Any particular reason for following slightly older ...READ MORE

Aug 28, 2018 in Blockchain by Johnathon
• 9,090 points
733 views
0 votes
1 answer

NBitcoin throws InvalidOperationException with the message: “Mac HMACSHA256 not recognised.”

If someone would like to figure out ...READ MORE

Aug 27, 2018 in Blockchain by digger
• 26,740 points
376 views
0 votes
1 answer

Cant understand cpp snippet

From the function: ...READ MORE

Aug 27, 2018 in Blockchain by slayer
• 29,350 points
321 views
0 votes
1 answer

Angular 4, typescript Assign interface property to variable

The first thing worth noting is that ...READ MORE

Aug 27, 2018 in Blockchain by slayer
• 29,350 points
3,796 views
0 votes
1 answer

Real time refreshing app using Angular2

You can use client side normal polling. ...READ MORE

Aug 27, 2018 in Blockchain by digger
• 26,740 points
494 views
0 votes
1 answer

Intl.NumberFormat() does not show the Bitcoin Ƀ Symbol

According to bitcoin.it (https://en.bitcoin.it/wiki/Bitcoin_symbol), The ISO 4217 currency code for ...READ MORE

Aug 27, 2018 in Blockchain by slayer
• 29,350 points
1,955 views
0 votes
1 answer

Comparing hex representation of 2 BigIntegers

You can compare two sequences of equal ...READ MORE

Aug 27, 2018 in Blockchain by digger
• 26,740 points
518 views
0 votes
1 answer

Bitcoinjs-lib getAddress not a function error

You need to pass network parameter to ...READ MORE

Aug 27, 2018 in Blockchain by slayer
• 29,350 points
1,649 views
0 votes
1 answer

Unable to enroll user in new org

The thing is by default, fabric-ca only has ...READ MORE

Aug 25, 2018 in Blockchain by Christine
• 15,790 points
2,032 views
0 votes
1 answer

Are there any plans for composer, to make usage of the recently released Side DB feature?

As of yet, it isn't supported by ...READ MORE

Aug 25, 2018 in Blockchain by Perry
• 17,100 points
401 views
0 votes
1 answer

How to send events in Hyperledger Composer?

You define the event in your .cto ...READ MORE

Aug 25, 2018 in Blockchain by Perry
• 17,100 points
1,204 views
0 votes
1 answer

What is the difference between o and --> in Fabric Composer?

'o' indicates has-a relationship '-->' indicates pass by ...READ MORE

Aug 25, 2018 in Blockchain by Perry
• 17,100 points
497 views
0 votes
1 answer

How to read file from subprocess.open in python?

you call: out, err = p.communicate() READ MORE

Aug 24, 2018 in Blockchain by digger
• 26,740 points
1,241 views
0 votes
1 answer

How to open bitcoin-qt wallet with bitcoinj?

I found this issue solved at the ...READ MORE

Aug 24, 2018 in Blockchain by slayer
• 29,350 points
566 views
0 votes
1 answer

Web3 ethereum miner_start not implemented.

You have to first enable "miner" API ...READ MORE

Aug 24, 2018 in Blockchain by digger
• 26,740 points
1,493 views
+1 vote
1 answer

Getting Hash160 bitcoin address in python

There is a package to decode and ...READ MORE

Aug 24, 2018 in Blockchain by slayer
• 29,350 points
3,466 views
0 votes
1 answer

SHA256 does not give expected result.

You're hashing the string when you're supposed ...READ MORE

Aug 24, 2018 in Blockchain by digger
• 26,740 points
942 views
0 votes
1 answer

How to use std::iterator with basic type uint8_t*?

std::reverse_iterator takes the original iterator type as ...READ MORE

Aug 24, 2018 in Blockchain by slayer
• 29,350 points
1,176 views
0 votes
1 answer

How to use Proc/lamba returned from a method in Ruby?

You need to remove the colon: list.select(&valid_transaction) The & ...READ MORE

Aug 24, 2018 in Blockchain by digger
• 26,740 points
451 views
0 votes
1 answer

How to get amount of bitcoins in php?

I’ve tried this code and it works: <?php function ...READ MORE

Aug 24, 2018 in Blockchain by slayer
• 29,350 points
799 views
0 votes
1 answer

Bruteforcing OpenSSL to decrypt bitcoin backup.

You need to add -passin pass:XXX options, where XXX ...READ MORE

Aug 24, 2018 in Blockchain by digger
• 26,740 points
1,225 views
0 votes
1 answer

Not able to build bitcoind on mac.

You have to install pkg-config before running ...READ MORE

Aug 23, 2018 in Blockchain by slayer
• 29,350 points
506 views
0 votes
1 answer

How to generate pem with openssl?

Here’s the working code: int generatePem(char **pem) { ...READ MORE

Aug 23, 2018 in Blockchain by digger
• 26,740 points
908 views
0 votes
1 answer

Cant make transactions in bitcoind.

Fist you should encrypt your wallet: bitcoin-cli encryptwallet ...READ MORE

Aug 23, 2018 in Blockchain by slayer
• 29,350 points
565 views
0 votes
1 answer

React Native to make requests to bitcoin wallet

I found an API that could help ...READ MORE

Aug 23, 2018 in Blockchain by digger
• 26,740 points
1,270 views
0 votes
1 answer

Blockcypher API code error

This code will work: <?php try ...READ MORE

Aug 23, 2018 in Blockchain by slayer
• 29,350 points
1,111 views
0 votes
1 answer

Coinbase API: Get transaction fees

The Coinbase "fee" is the difference between ...READ MORE

Aug 23, 2018 in Blockchain by digger
• 26,740 points
1,370 views
0 votes
1 answer

obfuscating and deobfuscating a string in JavaScript

You can use btoa() and atob(). btoa() is like base64_encode() and atob() like base64_decode(). Here is an example: btoa('Some ...READ MORE

Aug 23, 2018 in Blockchain by slayer
• 29,350 points
730 views
0 votes
1 answer

Bitcoind server connection problem

Be sure to allow your server ip ...READ MORE

Aug 23, 2018 in Blockchain by digger
• 26,740 points
758 views
0 votes
1 answer

Generating cryptocoin address.

30 in decimal will give you a ...READ MORE

Aug 23, 2018 in Blockchain by slayer
• 29,350 points
452 views
0 votes
1 answer

Bitcoin: parsing Blockchain API using JSON

Because you only add one address to ...READ MORE

Aug 22, 2018 in Blockchain by digger
• 26,740 points
3,014 views
0 votes
1 answer

Not able to run Bitcoin’s autogen.sh file.

Installing autoconf and automake would solve the ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,350 points
982 views
0 votes
1 answer

Bitcoin: error parsing json

Make these changes in your code: json="'{" to ...READ MORE

Aug 22, 2018 in Blockchain by digger
• 26,740 points
1,227 views
0 votes
1 answer

blockchain.info api_code is missing

Check the blockchain api. it should be $Blockchain ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,350 points
985 views
0 votes
1 answer

Getting Bitcoin address from pubkey_hash

The unexpected result is due to encoding. For ...READ MORE

Aug 22, 2018 in Blockchain by digger
• 26,740 points
1,000 views
0 votes
1 answer

How to generate Bitcoin address in Ruby?

In your generate_address_from_public_key_hash method, the checksum should be over ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,350 points
2,342 views
0 votes
1 answer

Base58 encoding in ruby?

Seems like a hexadecimal number is stuck ...READ MORE

Aug 22, 2018 in Blockchain by digger
• 26,740 points
923 views
0 votes
1 answer

Problem installing bitcoin wallet in Ubuntu.

You install Bitcoind using the following commands: sudo ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,350 points
758 views
0 votes
1 answer

How to set bitcoin reward less than 1 coin?

Coin is defined here: https://github.com/bitcoin/bitcoin/blob/master/src/amount.h#L16 static const CAmount COIN ...READ MORE

Aug 22, 2018 in Blockchain by digger
• 26,740 points
375 views
0 votes
1 answer

Webpack destroying code in production.

The problem is that Uglify mangles too ...READ MORE

Aug 22, 2018 in Blockchain by slayer
• 29,350 points
421 views
0 votes
1 answer

How to interact with a Smart Contract on private network using Web3.js?

Once you set up infura you can ...READ MORE

Aug 22, 2018 in Blockchain by Christine
• 15,790 points
1,930 views