Questions tagged [bitcoin]

GENERAL BITCOIN QUESTIONS CAN BE ASKED ON https://bitcoin.stackexchange.com Bitcoin is a peer-to-peer digital currency with no central authority. Transactions are managed entirely by the network. Please ask only programming questions about Bitcoin.

is a 1st generation, open source, peer-to-peer digital cryptocurrency and a distributed payment network with no central authority. Transactions are managed entirely by the network in a decentralized manner. These transactions are verified by network nodes through the use of cryptography and recorded in a public distributed ledger called a .

Bitcoins are created as a reward for a process known as mining. They can be exchanged for other currencies, products, and services. As of February 2015, over 100,000 merchants and vendors accepted bitcoin as payment.

The official website of is Bitcoin.org

There's also a Bitcoin StackExchange site that's dedicated to Bitcoin.

1770 questions
-1
votes
1 answer

python-bittrex missing positional arguments

I am trying to make a buy limit purchase via the bittrex api and I am getting an error that my arguments are in the wrong place. from bittrex.bittrex import API_V2_0, Bittrex import json my_bittrex = Bittrex("zzzzz", "zzzzz",…
NIX
  • 107
  • 3
  • 14
-1
votes
1 answer

how to run "custom_strategy" in Bitmex

currently I was working a bot in Bitcoin exchange Bitmex with python, Click here! I followed instruction and the sample program works!! but when I am trying to implement my own custom trading strategies and add some strategy code into…
-1
votes
1 answer

How to calculate number of full nodes on Bitcoin/Altcoin

What is the best way to calculate/estimate the total number of active miners/full nodes on Bitcoin/Altcoins?
GPB
  • 2,395
  • 8
  • 26
  • 36
-1
votes
1 answer

Which randomization method is better?

pybitcointools (https://github.com/primal100/pybitcointools) generates a bitcoin private key using the following function (in main.py: https://github.com/primal100/pybitcointools/blob/master/cryptos/main.py): import hashlib def random_key(): …
IamTheWalrus
  • 594
  • 5
  • 14
-1
votes
1 answer

How to integrate CoinGate APIS for cryptography in asp.net c#?

every one I need to integrate Cryptography currency in our project.And I have to choose CoinGate APIS for Cryptography currency. I am new for this Cryptography payment integration so any know how can do with the asp.net with MVC c#. I have created…
Edit
  • 29
  • 1
  • 3
  • 9
-1
votes
1 answer

Django bitcoin payment module Decimal JSON Serializable Error

I am working on a python django project where users send bitcoins to external addresses. this is how the payment module looks like. I have tried many suggestions posted here with little help. Below is my code. I would appreciate any third eye who…
Mart
  • 1
-1
votes
1 answer

c++ undefined reference to PathFileExistsW (_imp__PathFileExistsW@4)

I'm trying to build headless blackcoin from source on Windows 8 with mingw 6.3 and I got the following error: .../src/leveldb/libleveldb.a(env_win.o):env_win.cc:(.text+0xaff): undefined reference to '_imp__PathFileExistsW@4' This function is…
Alex
  • 380
  • 1
  • 14
-1
votes
1 answer

Bitcoin to Dollar Conversion

I am making a project to fetch data of cryptocurrencies using an API https://min-api.cryptocompare.com/data/pricemultifull?fsyms=ETH&tsyms=USD VOLUME24HOUR":373400.47865766; How to convert this into $ If I want to get let's say Market CAP SO THE…
dddar
  • 27
  • 2
  • 9
-1
votes
1 answer

Mining Fee for the blocks that are stale

This question is regarding the blockchain and bitcoin. Suppose a miner mined a block and the block got added in the main chain of the block chain. He must have got his mining fee then. Now suppose that due to a fork sometimes later, the block that…
Ankit Shubham
  • 2,989
  • 2
  • 36
  • 61
-1
votes
1 answer

How to get genesis block value at new bitcoin source?

So I am working bitcoin source 0.15.1 chainparams.cpp script, Line 120~130, Trying to find new genesis block's value when starting new. So I googled many articles, forum, but not yet find working solution. Unlike v0.8, there Debug.Log file itself…
creator
  • 671
  • 11
  • 28
-1
votes
1 answer

Who dictates the 'global rules' of a Cryptocurrency such as block reward amount, how many zeroes the hash must start with, block size, etc?

I've watched a lot of Cryptocurrency lectures on how they work and I think I am about 75% of the way of understanding completely how they work. One question has been bothering me though. When a miner solves a block, he gets a block reward made out…
Hatefiend
  • 3,416
  • 6
  • 33
  • 74
-1
votes
1 answer

Bitcoin Mining: Building a block

I am not able to figure out how to build a hexadecimal block, if I have all the needed information (Hash, Merkel Root, etc.). Please use this JSON formatted block as reference: Block #506398 I understand the first 64 bytes are the block header,…
-1
votes
1 answer

I am trying to get API data in JSON format to my website. How can I take the required info and send it to a div in the html page?

This is my js file : window.onload=function(){ var anima = document.getElementById("crypto"); var ret = document.getElementById("btn"); ret.addEventListener("click",function(){ var ourRequest = new XMLHttpRequest()…
Geo Mukkath
  • 145
  • 11
-1
votes
1 answer

Hide CMD window of Marlin Miner

I am using Marlin to mine SiaCoin on my home & work computers (Windows 10), but I was wondering if there was a way I could have it mining without showing the CMD window all the time. I figure there must be a way by using a shell script or similar. I…
-1
votes
1 answer

Current JSON package to retrieve info from links

I am currently trying to find a WORKING and CURRENT JSON files that would be able to pull JSON info from a link such as https://api.coinmarketcap.com/v1/ticker/bitcoin/?convert=CAD With that link when you click on that it will display CURRENT…
BTCDude
  • 31
  • 7