It does not seem practical to scan every transaction on a block chain to determine the balance for an account. As the block chain grows this seems even more difficult and resource consuming. Perhaps all the transactions are grouped into what we used to call a record, specifically a variable length record.
address..trans1, trans2, etc…transN for the last transaction.
I want to create a new wallet using Electrum-apis. I have gone through the documentation given here but I haven’t found any method to create a new wallet or an address.
Would someone guide me in this?
BTC.com block explorer shows bigger balance than for example Insight or Blockchair. For example: https://btc.com/1FLDCfr9iG7n6bAdGsqBXmhaLgC4aSze72
Why BTC.com’s result is different?
I struggle to understand the repationship between Dash miners and masternodes. The proposition is that masternodes provide additional services to the network and automatically get paid a part (45%) of the block reward. What I don’t understand is how this share is enforced.
From the Dash whitepaper:
When mining on the network, pool software (websites that merge the
efforts of individual miners) use the RPC API interface to get
information about how to make a block. To pay the Masternodes, this
interface must be extended by adding a secondary payee to
GetBlockTemplate. Pools then propagate their successfully mined
blocks, with a split payment between themselves and a Masternode.
What prevents miners from simply ignoring the masternodes and assigning 100% of block reward to themselves?
Edit: from Dash documentation:
If a miner tried to take the entire block reward for themselves or tried to run an old version of the Dash software, the masternode network would orphan that block, and it would not be added to the blockchain.
But the question remains: what does it mean for a masternode to orphan a block?
First of all hi and thanks for your support and your time.
I want to calculate the fees of a blocktrail transaction with blocktrail SDK, before making the transaction, in order to let the recipient pay fees.
Here is what I tried:
$FEES = $wallet->coinSelection(\Blocktrail\SDK\Wallet::normalizeOutputsStruct(['66f4dec6ab29cd056ce1814c6fdfee05e1524b36' =>'100000']),false,false,\Blocktrail\SDK\Wallet::FEE_STRATEGY_LOW_PRIORITY; echo "$FEES"; $fee = $FEES['fee']; echo "$fee";
But this don’t work, it says this:
Fatal error: Uncaught Blocktrail\SDK\Exceptions\BlocktrailSDKException: Address not recognized how can I fix this error? Thanks for read, hope that you’ll have a nice day 🙂
It is Jul 2018, I need help after several attempts to sync a full node running on a Mac Mini.
I have tried several times and Bitcoin-qt starts pretty well for the initial sync, downloading with progress that ranges from 1% per hour up to 3 % per hour. But when sync goes around 30% (blockchain around 50 GB) sync slows down to 0.2% per hour so it’d take weeks.
- 1.4GHz dual-core Intel Core i5
- OSX 10.13.6
- 500GB (5400-rpm) hard drive
- RAM 4GB of 1600MHz LPDDR3 memory
- Good internet speed.
- Installed Bitcoin Core implementation 0.16
- I tried both, installing the .dmg for mac and also tried to homebrew
- Both successful in the beginning, and then sync goes down
I get good connections, and I have the port 8333 opened so I have no clue of what is going on, whether it is problem with the hardware (mac works fine) or the implementation.
Actually I have been running Litecoin and Monero nodes in the same hardware, implementing OSX builts and those worked fine, but Bitcion Core doesn’t .
I hope someone can help me, if faced the same difficulties with bitcoin.
I really would like to succeed in this and support the network
Does Electrum provides any API? If yes, please let me know if there’s any dedicated documentation available.
Also, does Electrum support Bitcoin Cash?
I want to integrate Electrum into my application for wallet service and seeding capabilities. I’m planning to run full node for BCH and BTC.