Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [math]

The tag has no usage guidance.

1
vote
2answers
51 views

how to calculate Entropy from series of outcome?

I want to generate my own private key with dice and/or other very entropic phenomenon. But how can I calculate if my data have a good entropy ? I mean if I throw dice in a certain way too much time ...
9
votes
3answers
797 views

How is Bitcoin governed by mathematics?

I keep hearing talks from Bitcoin evangelists that claim Bitcoin isn't governed by any central authority, rather it's governed by mathematics. What exactly do they mean when they say "governed by ...
0
votes
1answer
102 views

How to calculate coins mined per day?

Sorry for the noob question I'm pretty new to crypto coins and all this stuff. :) I wonder why the formula <your hashrate> / <coin difficulty> gives the mined coins as a result...Formula ...
11
votes
2answers
2k views

How do you derive the private key from two signatures that share the same k value?

I wrote my own ECDSA signature algorithm just for the purpose of creating unit tests. With it I created two signatures which went into transaction 56ec7ca7df..., sending from 1GXFXm3es.... These ...
6
votes
1answer
284 views

Mixing Unequal Inputs

Let's say have 3 inputs (alice, bob, satoshi): 0.3, 1.3, 1.6. We can mix these inputs for example like this: 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.3, 0.1, 0.1. Or like this: 1.3, 1.3, 0.3, 0....
0
votes
0answers
28 views

Knowing the exchange rate of two coins at a specific time, and the current price, how can I determine the price at point of sale?

I am writing some software to look at my exchange .csv files, and I recently sold my Litecoin for BTC. In the .csv file it has the following line. Sold 0.03464322ŁTC for 0.00067381XɃT at 0....
2
votes
1answer
57 views

Needed maths for full understanding

I often come across papers written in the Bitcoin space involving some math that I am not formally versed in. Could anyone point out general topics in math that I should have a formal grasp on in ...
1
vote
1answer
219 views

Does Bech32 address format not decrease Bitcoin's possible addresses?

Sorry for my poor English, but as many of us, I have wondered how many Bitcoin addresses are possible. When looking around, I stumbled upon this thread on BitcoinTalk: There are exactly 2^160 ...
0
votes
1answer
215 views

What is the mathematics behind the maximum number of 21 million bitcoins that can be generated? [duplicate]

How is this number 21 million bitcoins arrived at? What is the mathematics behind this number? Or is this number a constant that can be changed in the source code?
0
votes
0answers
903 views

FPGA emulation and FPGA boards on laptops for efficient Bitcoin mining?

There are many options to learn efficient bitcoin mining on laptops. There are the laptop-integrable FPGA boards here, running them in M.2 2230 A/E (common to newer laptops) You can simulate things ...
0
votes
1answer
772 views

How can i calculate the breakeven price for buying and reselling on cryptocurrency exchange?

Assume that one side of the position will be charged the TAKER fee (0.25%), and the other will be charged the MAKER fee (0.10%). I have tried using this formula, but when selling at the break even ...
3
votes
1answer
244 views

Is BIP 32 Technology Cryptographic Curve Agnostic?

Does BIP 32 always implicitly assume secp256k1 elliptic curve cryptography (ECC) is to be applied, or can BIP 32 technology also be applied to create extended public or private keys that can readily ...
1
vote
3answers
1k views

Get uncompressed public key from compressed form

A similar question has an answer in Python which links to the bitcointalk forum: How can I get the uncompressed public key from the compressed public key in openssl? https://bitcointalk.org/index.php?...