Bitcoin

Bitcoins being sent to another addres during a transaction

I realized a few days back, that if I send some bitcoins to someone, then it shows in blockchain an extra amount sent to my own wallet. So if I send 0.5 BTC from wallet A to B then blockchain shows A--> B 0.5 A-->A 1 (basically sending it to ....

Liam Liam: 5 hours ago

Ethereum

Retrieve specific account in truffle 5 console

I am following a truffle tutorial where the individual users web3.eth.accounts to retrieve all the accounts from Ganash. However that seemed depreciated and to duplicate his results I used web3.eth.getAccounts() as you can see below. However a next command is ran in truffle console web3.eth.accounts which presents account at position ....

Mia Mia: 5 hours ago

Ethereum

Instantiate web3 to work with the real Ethereum network

I know how to instantiate web3 to work with a local test network: var web3Instance = new Web3(new Web3.providers.HttpProvider("http://localhost:8545")); How do I change this code to connect to the real network? ....

Elijah Elijah: 6 hours ago

Ethereum

Installation of pyethapp fails on Raspberry Pi

I'm trying to install pyethapp on Raspberry PI B+ sudo pip install pyethapp getting error Complete output from command python setup.py egg_info: Couldn't find index page for 'pytest-runner' (maybe misspelled?) No local packages or download links found for pytest-runner>2.0,<3 Traceback (most recent call last): File "<string>", line 1, in <module> ....

Henry Henry: 6 hours ago

EOS.IO

Monitoring transactions on a private blockchain

I just started working with EOSIO and I created a private blockchain with 4 producersfollowing the bios boot sequence tutorial (https://developers.eos.io/welcome/latest/tutorials/bios-boot-sequence). My goal is to heavy-load test the network and measure the average throughput (transactions per second) and latency for a bunch of token transfers. What's more, I will probably ....

Mia Mia: 7 hours ago

Bitcoin

How similar is Blockchain (as a data structure) to double linked list?

I came across this definition of Blockchain from Oleg Andreev , who is the protocol architect of @chain - It felt like double linked list to me. ....

William William: 7 hours ago

Bitcoin

Can malicious payer deanonymize payee in Zcash?

Looking at both the Zcash original paper (http://zerocash-project.org/media/pdf/zerocash-oakland2014.pdf) and the updated Zcash protocol specification (https://github.com/zcash/zips/blob/master/protocol/protocol.pdf), it seems that after Alice paid Bob, she can reveal to the world that she did so. Alice can do so by revealing the randomness of the new coin commitments she generated, one of which ....

Evelyn Evelyn: 8 hours ago

Bitcoin

Why are miners allowed to change a tx id?

BIP 62 (https://github.com/bitcoin/bips/blob/master/bip-0062.mediawiki) proposed to make transaction malleability impossible. Why was this retracted and why are miners allowed to change a transaction id? Also, what does it mean when someone says signatures cannot sign themselves? Is this implying we not only need a signature for the transaction, we need another ....

James James: 9 hours ago

Bitcoin

how to get block information using node js

I have used bitcoin-core package in node js to get the information about the block detail using rpc command. For example: var Client = require('bitcoin-core'); const client = new Client({ headers:'false', host:'127.0.0.1', network:'testnet', password:'xxxx',port:'18332', ssl: { enabled: false, strict: false }, timeout:'3000', username:'xxxx' }); client.getBlockchainInformation().then((help) => console.log(help)); It throws below ....

Ava Ava: 9 hours ago