Bitcoin Forum
November 17, 2026, 08:44:55 PM *
News: Latest Bitcoin Core release: 32.1 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Discussion / We could easily stop the SR auction, would you? on: June 25, 2014, 11:01:59 PM
So, earlier I was thinking about the SR auction situation we have now and I had a few thoughts that I'd like to discuss.

As one of the people who joined the network because of their libertarian values, the auction bothers me because

  1 - It might cause the bitcoin price to plunge if one or more of the groups that win the auction sells their share or part of it.
  2 - Even if the coins sell at $250 each, the government that basically stole them still gets to be $7 million richer.

I was thinking about ways to stop this or at least make those coins worth less, and my mind went back to ideas that were proposed before, like merchants blacklisting coins from "tainted" addresses, which would need a lot of people to sign on, making it impractical.

Another was a hard fork with an alternate blockchain where those coins are unspendable. Again, this is impractical since, unless it becomes the main chain, the fork coins would need their own exchanges and merchants and so on and judging by the forums, most people don't care enough about this issue to go through the trouble.


Finally, I had my third idea. I am sure this was proposed before in other situations but the timing couldn't be more right for it.

Mining pools like Ghash.io could refuse to include any transaction spending those coins in their blocks. If 50% or more of the miners believe it would be a good thing for bitcoin if those coins are never spent then we could easily collectively choose to keep them where they are.

I realize that I might be too late proposing this solution, but I thought I might as well put it on the record in case there is still time or if something like this happens again in the future.

To test that last idea, I added a poll (for miners only). The question is this:

If you could switch to mining a blockchain that treats the SR coins as unspendable in just one easy mouse click, would you?

Keep in mind: mining that chain would only be profitable if 50% of all other miners do the same.
2  Economy / Speculation / Symmetrical Triangle on: June 08, 2013, 11:27:03 PM


Price vs cumulative usd volume. Volume (horizontal distance) is the same between highs and lows (marked with vertical lines). Apex at 1.4 billion dollars traded on MtGox.

Symmetrical Continuation Triangle - Trending123

Quote
Generally, a triangle pattern is considered to be a continuation or consolidation pattern. Sometimes, however, the formation marks a reversal of a trend.
Quote
Converging trendlines of support and resistance gives the triangle pattern its distinctive shape. This occurs, Kahn explains, because "the trading action gets tighter and tighter until the market breaks out with great force." Buyers and sellers find themselves in a period where they are not sure where the market is headed. Their uncertainty is marked by their actions of buying and selling sooner, making the pattern look like an increasingly tight coil moving across the chart.

What do you guys think ? Which line do you think bitcoin is going to break ?

I think it's interesting how the distance is the same between every high and low so far (the lines are not the same distance apart on a time graph). The chart seems "organic" and what you'd expect in a market with many people each holding a small amount.

This is the first time that I'm trying my hand at TA, so be nice.
3  Bitcoin / Legal / So what happens if I violate the block chain ? on: November 28, 2012, 01:23:07 PM
Just a thought that went through my mind today. The bitcoin network is supposed to be decentralized, and specifically designed so that it would be impossible to "shut down" or to prevent transactions from being free, right ?

The bitcoin protocol also allows for arbitrary data to be inserted into both the "scriptSig" and "scriptPubKey" fields, as long as the fee is high enough and the size of the transaction doesn't exceed the maximum block size (10 MB).

So what if I'm a nice enough person to download a few child pornography pics or other illegal content and I include it into a transaction with a high enough fee ?

a lot of people get pissed off that a block is taking 10 times as long to download, then once the block is downloaded they forget about it. a number of blocks later someone who's watching for strange transactions figures out what happened and tells people. by that time the pics or whatever illegal information is embedded in the blockchain and exist on thousands of computers (only bitcoiners' computers, I might add, which will tie bitcoin to illegality in a very strong way for a good long while)

Now every bitcoiner's computer can be legally seized and there is legal mayhem for a while. People are afraid of being connected to bitcoin, and of receiving payments on a block chain that can be abandoned at some point in the future and have their transactions reversed.

Price tanks, I make a heap of money by going short beforehand.

This is by no means the end result of that scenario, just the part I can see. I don't even see a way to fix this problem without compromising the system in some way.

The most interesting part to me in all this is that we will actually discover how "decentralized" and "free" bitcoin is.


What do you all think ?

P.S. Happy halving day to you all ! (and you'd all better hope noone does this to the 210,000th block)
4  Bitcoin / Development & Technical Discussion / some python tools + offline blockexplorer on: October 14, 2012, 05:22:35 AM
So... I started educating myself about Script and how raw blocks and transactions are stored recently, and I wrote a few python functions that I thought could be useful to me later (mostly reinventing the wheel to learn about wheels...)

Anyway, I ended up making this and I thought it could be useful to others, so I'm posting it here. It contains a dict of Script opcodes, a jsonrpcserver class, a pure python function similar to bitcoind's decoderawtransaction, and a few other things.

The last part is an HTTP server that uses these functions to mimic blockexplorer.

blockexplorer.com/rawtx/  --> localhost:8334/rawtx/
blockexplorer.com/rawblock/  --> localhost:8334/rawblock/
blockexplorer.com/q/getblockcount  --> localhost:8334/getblockcount
blockexplorer.com/q/getblockhash/  --> localhost:8334/getblockhash/

I tested bxgetblock against blocks 1->100000 and blocks 199000-> 203198 on blockexplorer to weed out any bugs, so it's a safe assumption that they have the same outputs.

(Don't forget to change the rpc password in line 311 to the one in your bitcoin.conf file before running.)

Wink
5  Economy / Services / English / Arabic Translation on: July 02, 2012, 10:17:46 PM
Just thought I'd put this here in case anyone wants something translated from Arabic to English or vice versa.

I'll translate anything that takes less than 5 minutes for free. For bigger jobs, send me a PM with the text/details and I'll give you a price.


If you have any questions, ask here or send me a PM Smiley
6  Economy / Goods / Looking to turn amazon gift card balance into BTC on: May 29, 2012, 10:27:58 PM
Hi!

I have ~400$ in my amazon gift card balance that I'm looking to turn into cash, so I'm offering to buy stuff from any amazon wishlist in return for BTC. Send me a PM if you're interested or post here if you have any questions.

EDIT: Rate is 5.9 $/BTC  (that's equivalent to a 8.4% discount using the latest market price)
7  Other / Beginners & Help / simple script to generate address from private key on: May 29, 2012, 07:23:42 PM
OK, so I wanted to have a small script that I can use to generate new (offline) bitcoin addresses and be sure that the information was not stored anywhere or sent to anyone, but I couldn't find anything that does that that's also simple enough that I can read the source code and verify it myself.

anyway I ended up writing this python 2.5 script (and then decided to upload it here, in case it's useful to anyone else)

Code:
import ecdsa

secp256k1curve=ecdsa.ellipticcurve.CurveFp(115792089237316195423570985008687907853269984665640564039457584007908834671663,0,7)
secp256k1point=ecdsa.ellipticcurve.Point(secp256k1curve,0x79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798,0x483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8,0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141)
secp256k1=ecdsa.curves.Curve('secp256k1',secp256k1curve,secp256k1point,(1,3,132,0,10))

#--------------------------------------

import binascii, hashlib

def addy(pk):
 pko=ecdsa.SigningKey.from_secret_exponent(pk,secp256k1)
 pubkey=binascii.hexlify(pko.get_verifying_key().to_string())
 pubkey2=hashlib.sha256(binascii.unhexlify('04'+pubkey)).hexdigest()
 pubkey3=hashlib.new('ripemd160',binascii.unhexlify(pubkey2)).hexdigest()
 pubkey4=hashlib.sha256(binascii.unhexlify('00'+pubkey3)).hexdigest()
 pubkey5=hashlib.sha256(binascii.unhexlify(pubkey4)).hexdigest()
 pubkey6=pubkey3+pubkey5[:8]
 pubnum=int(pubkey6,16)
 pubnumlist=[]
 while pubnum!=0: pubnumlist.append(pubnum%58); pubnum/=58
 address=''
 for l in ['123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'[x] for x in pubnumlist]:
  address=l+address
 return '1'+address

Code:
print addy(0x18E14A7B6A307F426A94F8114701E7C8E774E7F9A47E2C2035DB29A206321725)
print addy(int(hashlib.sha256('something small and easy to remember but not easy to guess').hexdigest(),16))
print addy(int(hashlib.sha256(file('hiddeninplainsight.jpg','rb+').read()).hexdigest(),16))

The code uses the ecdsa library which can be found here.
The address function takes a private key and returns the corresponding bitcoin address.

The last two lines have some practical uses of the address function. Since the sha256 hash function returns a 256 bit long value, it can be used to generate a private key. This is useful if you want to have a bitcoin address and private key that you can remember without having to write it down anywhere, or if you want to use a file that you have on your computer as the key. When you want to spend the coins that you have in that address, all you have to do is use the same function to generate the private key and address.

WARNING #1: using a file that you have on your computer or a short sentence to generate a private key / address pair makes it a lot easier for an attacker to guess your private key. Instead of having to try 2^256 possibilities, they only have to try the files on your computer one by one, or your favorite book/game/your birthday...

WARNING #2: I just made this script today and I'm fairly new to bitcoin. Use at your own risk !

woooo five posts i'm outta here
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!