Overstock's T0 Blockchain to See First-Ever Public

Bitcoin Mining Forums: Turning Computers Into Cash Since 2011

The official bitcoin mining forum / subreddit / chat room / place to be!
[link]

Cryptocurrency News & Discussion

The official source for CryptoCurrency News, Discussion & Analysis.
[link]

Sharing of ideas, tips, and strategies for increasing your Bitcoin trading profits

Sharing of ideas, tips, and strategies for increasing your Bitcoin trading profits
[link]

Calculate txn_id from raw txn_hex

I'm trying to calculate a txn_id from raw txn_hex. The procedure works fine for legacy TXNs but gets non-expected results on Segwit TXNs. I compared this snippet of code to what txn_id was produced by Electrum and the blockchain.com TXN decoder:
  1. Take in TXN in hex
  2. Convert the hex to binarray
  3. Double hash binarray
  4. Reverse the resultant digest because of endianness
  5. Display in hex.
t0 is my legacy testnet TXN and t1 is my segwit testnet TXN.
Thoughts?

UPDATE

Found the relevant source in Electrum transaction.py:1036
Basically you strip the flags and tx_witnesses listed in the wiki spec
```python

!/usbin/env python3

[repo] https://github.com/brianddk/reddit ... python/txn_hash.py

[ref] https://www.reddit.com/g4hvyf

from hashlib import sha256
def txid(tx): bin = bytes.fromhex(tx) txid = sha256(sha256(bin).digest()).digest()[::-1].hex() return txid

Raw Legacy

t0 = ('0200000001cd3b93f5b24ae190ce5141235091cd93fbb2908e24e5b9ff6776ae' 'c11b0e04e5000000006b4830450221009f156db3585c19fe8e294578edbf5b5e' '4159a7afc3a7a00ebaab080dc25ecb9702202581f8ae41d7ade2f06c9bb9869e' '42e9091bafe39290820438b97931dab61e140121030e669acac1f280d1ddf441' 'cd2ba5e97417bf2689e4bbec86df4f831bf9f7ffd0fdffffff010005d9010000' '00001976a91485eb47fe98f349065d6f044e27a4ac541af79ee288ac00000000')

Raw Segwit

t1 = ('0200000000010100ff121dd31ead0f06e3014d9192be8485afd6459e36b09179' 'd8c372c1c494e20000000000fdffffff013ba3bf070000000017a914051877a0' 'cc43165e48975c1e62bdef3b6c942a38870247304402205644234fa352d1ddbe' 'c754c863638d2c26abb9381966358ace8ad7c52dda4250022074d8501460f4e4' 'f5ca9788e60afafa1e1bcbf93e51529defa48317ad83e069dd012103adc58245' 'cf28406af0ef5cc24b8afba7f1be6c72f279b642d85c48798685f86200000000')

UPDATE Raw Segwit with flags and tx_witnesses stripped

t2 = ('02000000' '0100ff121dd31ead0f06e3014d9192be8485afd6459e36b09179' 'd8c372c1c494e20000000000fdffffff013ba3bf070000000017a914051877a0' 'cc43165e48975c1e62bdef3b6c942a3887' '00000000')
print(f"t0: {txid(t0)}\nt1: {txid(t1)}\nt2: {txid(t2)}")

TXN_IDs from the above python

t0: cb33472bcaed59c66fae30d7802b6ea2ca97dc33c6aad76ce2e553b1b4a4e017

t1: b11fdde7e3e635c7f15863a9399cca42d46b5a42d87f4e779dfd4806af2401ce

t2: d360581ee248be29da9636b3d2e9470d8852de1afcf3c3644770c1005d415b30

TXN_IDs from Electrum

t0: cb33472bcaed59c66fae30d7802b6ea2ca97dc33c6aad76ce2e553b1b4a4e017

t1: d360581ee248be29da9636b3d2e9470d8852de1afcf3c3644770c1005d415b30

```
submitted by brianddk to Bitcoin [link] [comments]

How Bitcoin BTC Was Hijacked, and Why Bitcoin Cash Was Created.

From 2009-2015, Bitcoin BTC was run by programmers like Satoshi Nakamoto, Gavin Andresen, Mike Hearn, and promoted by people like Roger Ver. Most in this community tended to lean libertarian, and liked Bitcoin BTC's potential to take power away from governments & central banks.
Satoshi left the project. In the spirit of openness & freedom, Gavin & Mike naively made the mistake of letting too many bad actors (like Blockstream) gain access to the Bitcoin BTC project.
The Blockstream side had more money, and they had Theymos (who controls the #1 & #2 Bitcoin communities - rBitcoin & BitcoinTalk.org). As a result, they were able to push enough of the community into believing that small blocks were the way to go.
As Gavin & Mike were being pushed out, they tried to create the first "big block" fork of Bitcoin, called Bitcoin XT. The Blockstream / Bitcoin Core side hired a botnet operator to DDoS Bitcoin XT to death in its infancy.
From Mike Hearn:
"..After Blockstream successfully took over Bitcoin Core and expelled anyone who opposed them, Gavin and I forked Bitcoin Core to create Bitcoin XT, the first alternative node implementation to gain any serious usage. The creation of XT led to the imposition of censorship across all Bitcoin discussion forums and news outlets, resulted in the creation of this sub, and Core supporters paid a botnet operator to force XT nodes offline with DDoS attacks.."
Gavin & Mike were pushed out.
Even Brian Armstrong, the CEO of Coinbase, was censored by rBitcoin back in 2015:
"I just unsubscribed rBitcoin and subscribed /btc" - Brian Armstrong, CEO of Coinbase (largest fiat gateway for crypto), Nov 2015
Ethereum founder Vitalik Buterin talks about the absurd censorship on rBitcoin:
By 2016, the Bilderberg Group & AXA funded Blockstream, and the takeover was complete.
Any talk about "big blocks" and "low fees" was banned.
In August 2017, another attempt to create a "big block" fork happened, thus creating Bitcoin Cash (BCH). And learning from the defeat of Bitcoin XT, this time around, Bitcoin Cash made sure they had the support of big miners, so the Blockstream / Bitcoin Core side couldn't use a botnet to DDoS it to death in the cradle.
So that is where we are today.
submitted by normal_rc to Bitcoincash [link] [comments]

Please audit my explanation of how Bitcoin BTC was hijacked, and why Bitcoin Cash was created.

How Bitcoin BTC Was Hijacked, and Why Bitcoin Cash Was Created.
From 2009-2015, Bitcoin BTC was run by programmers like Satoshi Nakamoto, Gavin Andresen, Mike Hearn, and promoted by people like Roger Ver. Most in this community tended to lean libertarian, and liked Bitcoin BTC's potential to take power away from governments & central banks.
Satoshi left the project. In the spirit of openness & freedom, Gavin & Mike naively made the mistake of letting too many bad actors (like Blockstream) gain access to the Bitcoin BTC project.
The Blockstream side had more money, and they had Theymos (who controls the #1 & #2 Bitcoin communities - rBitcoin & BitcoinTalk.org). As a result, they were able to push enough of the community into believing that small blocks were the way to go.
As Gavin & Mike were being pushed out, they tried to create the first "big block" fork of Bitcoin, called Bitcoin XT. The Blockstream / Bitcoin Core side hired a botnet operator to DDoS Bitcoin XT to death in its infancy.
From Mike Hearn:
"..After Blockstream successfully took over Bitcoin Core and expelled anyone who opposed them, Gavin and I forked Bitcoin Core to create Bitcoin XT, the first alternative node implementation to gain any serious usage. The creation of XT led to the imposition of censorship across all Bitcoin discussion forums and news outlets, resulted in the creation of this sub, and Core supporters paid a botnet operator to force XT nodes offline with DDoS attacks.."
Gavin & Mike were pushed out.
Even Brian Armstrong, the CEO of Coinbase, was censored by rBitcoin back in 2015:
"I just unsubscribed rBitcoin and subscribed /btc" - Brian Armstrong, CEO of Coinbase (largest fiat gateway for crypto), Nov 2015
Ethereum founder Vitalik Buterin talks about the absurd censorship on rBitcoin:
By 2016, the Bilderberg Group & AXA funded Blockstream, and the takeover was complete.
Any talk about "big blocks" and "low fees" was banned.
In August 2017, another attempt to create a "big block" fork happened, thus creating Bitcoin Cash (BCH). And learning from the defeat of Bitcoin XT, this time around, Bitcoin Cash made sure they had the support of big miners, so the Blockstream / Bitcoin Core side couldn't use a botnet to DDoS it to death in the cradle.
So that is where we are today.
https://www.yours.org/content/how-bitcoin-btc-was-hijacked--and-why-bitcoin-cash-was-created-24c7314b8b8f
submitted by normal_rc to btc [link] [comments]

The Dirty, Nasty History of Bitcoin

From 2009-2015, Bitcoin BTC was run by programmers like Satoshi Nakamoto, Gavin Andresen, Mike Hearn, and promoted by people like Roger Ver. Most in this community tended to lean libertarian, and liked Bitcoin BTC's potential to take power away from governments & central banks.
Satoshi left the project. In the spirit of openness & freedom, Gavin & Mike naively made the mistake of letting too many bad actors (like Blockstream) gain access to the Bitcoin BTC project.
The Blockstream side had more money, and they had Theymos (who controls the #1 & #2 Bitcoin communities - rBitcoin & BitcoinTalk.org). As a result, they were able to push enough of the community into believing that small blocks were the way to go.
As Gavin & Mike were being pushed out, they tried to create the first "big block" fork of Bitcoin, called Bitcoin XT. The Blockstream / Bitcoin Core side hired a botnet operator to DDoS Bitcoin XT to death in its infancy.
From Mike Hearn:
"..After Blockstream successfully took over Bitcoin Core and expelled anyone who opposed them, Gavin and I forked Bitcoin Core to create Bitcoin XT, the first alternative node implementation to gain any serious usage. The creation of XT led to the imposition of censorship across all Bitcoin discussion forums and news outlets, resulted in the creation of this sub, and Core supporters paid a botnet operator to force XT nodes offline with DDoS attacks.."
Gavin & Mike were pushed out.
Even Brian Armstrong, the CEO of Coinbase, was censored by rBitcoin back in 2015:
"I just unsubscribed rBitcoin and subscribed /btc" - Brian Armstrong, CEO of Coinbase (largest fiat gateway for crypto), Nov 2015
Ethereum founder Vitalik Buterin talks about the absurd censorship on rBitcoin:
By 2016, the Bilderberg Group & AXA funded Blockstream, and the takeover was complete.
Any talk about "big blocks" and "low fees" was banned.
In August 2017, another attempt to create a "big block" fork happened, thus creating Bitcoin Cash (BCH). And learning from the defeat of Bitcoin XT, this time around, Bitcoin Cash made sure they had the support of big miners, so the Blockstream / Bitcoin Core side couldn't use a botnet to DDoS it to death in the cradle.
So that is where we are today.
submitted by normal_rc to CryptoCurrency [link] [comments]

XMR-Stak - proudly XMR-only mining network stack (and CPU miner)

I want to show off what I was working on for the past 7 weeks or so. Just to clarify (there seems to be a lot of "give me money" posts around here recently), it will be FOSS. This is not some kind of crowd funding attempt.
Of course the purpose of this topic is to gage interest - I want to be sure that it is worth my time to polish up "own-use grade" into release grade software, so if you like what you see please upvote and make a noise.
 

What do you mean by a network stack? What's wrong with the current one?

Network stack is essentially all the logic that lives between the hashing code and the output to the pool. While the software that I'm writing currently has a CPU miner on top, there is no reason why it can't be modified to hash through GPU.
Current stack used by the open source CPU miner and some GPU miners has been knocking around since 2011. Its design is less than ideal - command line args put a limit on how complex the configuration can get, and the flawed network interaction design means that it needs to keep talking to the pool (keep-alive) to detect that it is still there.
Most importantly though, the code was designed for Bitcoin. Cryptonight coins have hashing speeds many orders of magnitude slower, which leads to different design choices. For example both BTC and XMR have 32 bit nonce. That means you have slightly over 4 billion attempts to find a block and you need to add fudge code in BTC that is not needed in XMR.
 

CPU mining performance

I started off with Wolf's hashing code, but by the time I was done there are only a couple lines of code that are similar.
Performance is nearly identical to the closed source paid miners. Here are some numbers:
 

Output samples

One of the most annoying things for me about the old mining stack was that it kept spewing huge amounts of redundant information. XMR-Stak prints reports when you request it to do so instead. Here they are (taken from the X5650 system running on Arch).
HASHRATE REPORT | ID | 2.5s | 60s | 15m | ID | 2.5s | 60s | 15m | | 0 | 38.3 | 38.3 | 38.3 | 1 | 38.4 | 38.4 | 38.4 | | 2 | 38.4 | 38.3 | 38.3 | 3 | 38.4 | 38.4 | 38.4 | | 4 | 38.3 | 38.3 | 38.3 | 5 | 38.4 | 38.4 | 38.4 | | 6 | 38.3 | 38.3 | 38.3 | 7 | 38.4 | 38.4 | 38.4 | | 8 | 40.0 | 40.0 | 40.0 | 9 | 40.1 | 40.1 | 40.1 | | 10 | 40.0 | 40.0 | 40.0 | 11 | 40.1 | 40.1 | 40.1 | ----------------------------------------------------- Totals: 467.0 467.0 467.0 H/s Highest: 467.0 H/s 
Since this is a CLI server it is very uniform as you would expect. You can also see that some threads would gain 1.5H/s if they were on better NUMA nodes.
RESULT REPORT Difficulty : 8192 Good results : 316 / 316 (100.0 %) Avg result time : 17.9 sec Pool-side hashes : 2588672 Top 10 best results found: | 0 | 516321 | 1 | 488669 | | 2 | 391229 | 3 | 384157 | | 4 | 380941 | 5 | 379807 | | 6 | 347487 | 7 | 292038 | | 8 | 246997 | 9 | 244569 | Error details: Yay! No errors. 
And last one:
CONNECTION REPORT Connected since : 2016-12-19 20:21:38 Pool ping time : 141 ms Network error log: Yay! No errors. 
Sample config file is as follows:
http://pastebin.com/EqyvkWkB
 

Low power mode

This is a bit of an academic exercise, showing why I don't believe that memory latency is be-all and end-all of PoW. Idea is very simple. We do two hashes at a time, we double the performance (as we have more time to load data from L3). We are of course still constrained by the L3 cache, but FPGAs with 50-100MB of on-chip memory are out already.
 

Some things for the future

Let me know what you think.
-----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v2 mQENBFhYUmUBCAC6493W5y1MMs38ApRbI11jWUqNdFm686XLkZWGDfYImzL6pEYk RdWkyt9ziCyA6NUeWFQYniv/z10RxYKq8ulVVJaKb9qPGMU0ESfdxlFNJkU/pf28 sEVBagGvGw8uFxjQONnBJ7y7iNRWMN7qSRS636wN5ryTHNsmqI4ClXPHkXkDCDUX Qvh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XSmgudOp1VS45aHIREd 2nrJ+drleeFVyb14UQqO/6iX9GuDX2yBEHdCg2aljeP98AaMU//RiEtebE6CUWsL HPVXHIkxwBCBe0YkJINHUQqLz/5f6qLsNUp1uTH2++zhdBWvg+gErTYbx8aFMFYH 0GoOtqE5rtlAh5MTvDZm+UcDwKJCxhrLaN3R3dDoyrDNRTgHQQuX5/opJBiUnVNK d+vugnxzpMIJQP11yCZkz/KxV8zQ2QPMuZdAoh3znd/vGCJcp0rWphn4pqxA4vDp c4hC0Yg9Dha1OoE5CJCqVL+ic4vAyB1urAwBlsd/wH8= =B5I+ -----END PGP PUBLIC KEY BLOCK----- 
submitted by fireice_uk to Monero [link] [comments]

Help wanted: I'm giving my first bitcoin presentation!

I am assembling my first official presentation on bitcoin/blockchain technology. The audience is technical but may not have any prior knowledge in this area of study. As such, my primary goal is to convey the entire picture somewhat "in a nutshell" so that someone observing the presentation would walk away with a general understanding of how everything works. The amount of time I have allotted is approximately 30 minutes and I plan to find and use visuals for basic concepts.
Listed below is my rough outline that has not yet been translated into a visual story (ie slides). I want to make sure I get the foundation correct first. I am still learning myself, so some of these concepts may not be clear or may even be wrong. I'd greatly appreciate any input or suggestions here. If I'm missing anything major please let me know!
(note: any links provided are for bibliography/source info purposes)
Thank you in advance.
concept A. crypto: private key + public key: ability to communicate securely
concept B. proof-of-work: solve a puzzle (costly), but verify answer quickly
concept C. byzantine generals: reach consensus, eliminate the need for trust
practical uses of bitcoin and blockchain technologies today
EDIT: some improvements/additions
submitted by dusktrader to Bitcoin [link] [comments]

06-18 11:12 - 'Video linked by u/kryptomancer: / Title|Channel|Published|Duration|Likes|Total Views :----------:|:----------:|:----------:|:----------:|:----------:|:----------: [The Biggest Scam In The History Of Mankind - Hidden Secrets...' by /u/_youtubot_ removed from /r/Bitcoin within 78-88min

'''
Video linked by kryptomancer:
Title Channel Published Duration Likes Total Views
[The Biggest Scam In The History Of Mankind - Hidden Secrets of Money 4]1 GoldSilver (w/ Mike Maloney) 2013-10-15 0:29:35 77,598+ (96%) 6,307,471
Bonus Presentation here: [link]4
[Info]2 | [kryptomancer can delete]3 | v1.1.3b
'''
Context Link
Go1dfish undelete link
unreddit undelete link
Author: _youtubot_
1: https://youtube.com/watch?v=iFDe5kUUyT0 2: https://np.reddit.com/youtubot/wiki/index 3: https://np.reddit.com/message/compose/?to=_youtubot_&subject=delete\%20comment&message=dj26jhj\%0A\%0AReason\%3A\%20\%2A\%2Aplease+help+us+improve\%2A\%2A 4: www*hidde*sec*etso**one*.c*m
Unknown links are censored to prevent spreading illicit content.
submitted by removalbot to removalbot [link] [comments]

HOW MANY BITCOINS DO I OWN ? びょうよわ定理証明 カントールの定理編 What is Bitcoin - Team Queen Wiki BitProfitsMining - New Free Bitcoin Cloud Mining Site 2020 I Earn 0.002 Bitcoin without investment [FR] Comment miner des

Digital money that’s instant, private, and free from bank fees. Download our official wallet app and start using Bitcoin today. Read news, start mining, and buy BTC or BCH. Updates: Fact checked, added video \'Darknet Markets Ecosystem\', added 100+ verified .onion sites to our Dark Web sites list. Enabled popup advertisement to promote ExpressVPN (sorry for the interruption, ad fees help pay our writers and site operations). The web is much more than meets the eye, there\'s tons of it that is hidden. Imagine a real iceberg The top protrudes above the water and When T1 is checked for correctness, the Bitcoin network nodes check that the sum of the bitcoins specified at the input is equal to or less than the output, and then the T0 script is checked by substituting the parameters from T1 to T0 and executing the script. If all conditions are met, then transaction T1 receives bitcoins from transaction T0. A block chain is a transaction database shared by all nodes participating in a system based on the Bitcoin protocol. A full copy of a currency's block chain contains every transaction ever executed in the currency. With this information, one can find out how much value belonged to each address at any point in history.. Every block contains a hash of the previous block. Other Bitcoin sites. Bitcoin Forum Bitcoin Stack Exchange Bitcoin Magazine. Download Bitcoin Core. Bitcoin Core is the backbone of the Bitcoin network. Almost all Bitcoin wallets rely on Bitcoin Core in one way or another. If you have a fairly powerful computer that is almost always online, you can help the network by running Bitcoin Core.

[index] [5961] [5438] [7646] [14040] [1951] [11270] [15404] [7496] [10027] [14630]

HOW MANY BITCOINS DO I OWN ?

Team Queen Wiki is the fastest growing team in CFX! Earn Bitcoin while you Learn Forex! Cash FX Group has strategic alliances with the most recognized institutions in the financial markets. BITCOIN में INVESTMENT करें या नहीं I Complete Analysis I Dr Vivek Bindra - Duration: 13:38. Dr. Vivek Bindra: Motivational Speaker Recommended for you Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. Bitcoin is a cryptocurrency and a digital payment system invented by an unknown programmer or a group of programmers under the name Satoshi Nakamoto It was released as open source software in The s... İsmail Hakkı Polat - Dijital Dönüşüm Derneği Başkanı Bitcoin Nedir? Bitcoin Almalı Mı? Bitcoin Nasıl Alınır?