Bitcoin Forum
May 22, 2024, 02:49:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 [97] 98 99 100 101 102 103 104 105 106 107 »
1921  Bitcoin / Bitcoin Discussion / Re: Diamonds for Bitcoins on: March 29, 2012, 12:54:16 PM

Thank you a lot!
I knew this article from ages ago and lost it. Everyone who thinks about buying a diamond should be forced to read it. The diamond invention simply is the biggest economic scam of all times.

Ente

(who will eventually, at some point of life, dig up a diamond out of the ground, and will have paid a ridiculous amount for this)
1922  Bitcoin / Bitcoin Discussion / Re: What about bitcoin containers? on: March 29, 2012, 12:38:49 PM
Sure, you could even achieve the same thing using the official bitcoin client, by copy-pasting wallets and creating one with the amount of bitcoins you want and sending that. The problem is that it's not very user-friendly and requires that the user actually has good understanding on what goes on "under the hood". Requiring users to create and send wallet files will also lead to many disastrous mistakes.

So I'm not really arguing for a way to send bitcoins through other means than a regular transaction, but rather a standardized user-friendly way to do it. The same way we have standardized QR-codes and standardized bitcoin-URLs it would be neat with a standardized file-type that "cointains" bitcoins and is recognized by any client that wants to implement it.

The arguments against using regular wallets:
1. It's unintuitive. If I send you regular cash through regular mail, I won't send it in a wallet. We should avoid confusion and let wallets be wallets.
2. Wallets are made to store bitcoins, not send them, and thus there is no standard protocol for them. Since wallets differ between different clients, you need to make sure the recipient uses the right client first.
3. It's not very user-friendly, and could possibly lead to mistakes by sending the wrong wallet etc.

The arguments against using strings of private keys as suggested in this thread:
1. Again, not user friendly. Preferably, a user should not even need to know what a private key is.
2. Exporting a private key means you need to make sure it holds the correct amount of bitcoins first. Creating a new key, sending the correct amount of bitcoins to it and then exporting it creates a lot of unnecessary steps, and possibility for mistakes.
3. Risk that you give away a private key that will recieve a transaction meant for you some time in the future. That won't happen with a standardized procedure.

Arguments for using a standardized new file type for this purpose instead.
1. Simple. It could even be a one step procedure, just enter an arbitrary bitcoin amount and click "create btc container". Everything else (creating a new private key, embedding it in the file and sending the bitcoins to the corresponding adress + any extra requirements/features for the container) could happen under the hood. To retrieve bitcoins from a container you simply open the file.
2. A file is familiar. Everyone already know how to manage, copy and share files to others. So the risk for mistakes since you don't know what you are doing is minimized. Required knowledge of cryptokeys and bitcoin wallets is zero.
3. There will be a clear distinction between wallets (which intuitively are supposed to be personal) and bitcoins meant for sharing with others.

Multibit seem to be a step in the right direction, sure. But the way I'm imagining it could be so much more user-friendly, intuitive and feature-rich. For example, by using nlocktime you could create containers that are automatically retrieved to sender if they are not redeemd before a specified time. A bitcoin client could also be created to recognize e-mail adresses in the adress field, and automatically create a container if you choose to send to a e-mail adress rather than a bitcoin adress. The most important part though, is that we have a standard between all clients, so that you don't need to worry about what client the recipient is using. The meaning of a *.btc file should be as obvious as a *.torrent file.

And as I've said, this could be huge for promotion. With a feature like this, any site with a public e-mail adress automatically accepts bitcoins in an easy and intuitive way.

Thumbs up on all points! ;-)

Ente
1923  Other / Beginners & Help / Re: Improved Python code for MTGox API (HTTP auth) on: March 29, 2012, 07:46:22 AM
Thank you, both!

Your code is for using the old http api to do commands?
I ask since now you can use the (more or less) same commands over the streaming api too..

I may find you the thread for this if interested.

Ente
1924  Bitcoin / Pools / Re: [340GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 27, 2012, 09:50:04 AM
Hmm just in case you didn't realise (though I'm sure most people do by now with the number of times this has come up on the forum)
The block reward halves every 210,000 blocks (4 years)
So in 210,000-173,094 blocks (= 36,906 blocks = 256.3 days) it will drop to 25 BTC per block.
Then again 4 years later to 12.5 BTC etc ...
So that also means that Bitcoin is getting close to being 4 years old soon Smiley

Thats exactly my point! It halves every 4 years only! We are still at the full blockreward (until end of 2012). There is no shortage of bitcoins. If there is any problem with mining, it surely is not that there are too little fees in the blocks! Does anyone seriously believe suddenly the fees would make any substantial part of per-block-earnings? I find it much more possible that tx will drop dramatically.

As the block subsidy declines over time fees will play an important role in miner revenue. 
[..]
We aren't talking massive fees but every bitcent helps.

Thats what I was commenting on with
Are you seriously suggesting "blockreward is quickly and dramatically reducing, we have to act now to still get any reward on mining blocks!!1!"? Really?

Ente
1925  Bitcoin / Pools / Re: [340GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 27, 2012, 07:32:03 AM
I am strictly against enforcing fees at this point.
Too early, way way too early, we should focus on to get people knowing and joining bitcoin first. Enforcing fees, now, would give a few bitcents per block only, almost nothing. It would harm Bitcoin, because then its "just another obscure internet payment system where someone earns money with my transfers".

edit:
Are you seriously suggesting "blockreward is quickly and dramatically reducing, we have to act now to still get any reward on mining blocks!!1!"? Really?
/edit


I find the plan to have enforced fees more dangerous than the deepbit situation. And would abandon p2pool, and any other pool who enforces fees. If all other pools enforced fees I would rather join deepbit. If all pools enforce fees I would consider selling my hardware, buying Bitcoin, bury them in an offline wallet, and go along to other hobbies for the next few years.


Ente
1926  Alternate cryptocurrencies / Altcoin Discussion / Re: [ANNOUNCE] Multi chain block explorer on: March 25, 2012, 09:21:05 PM
I cant seem to be reaching this site. Is it permanently down?

Yep, still down.. A shame.. *sigh*

Ente
1927  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANNOUNCE] New alternate cryptocurrency - Geist Geld on: March 25, 2012, 09:19:47 PM
I am merge mining GG with around 200Mh/s. In the last 24h the balance reported by geistgeld-d getinfo didnt change at all. Blockcount does rise though (1016131). Diff is 0.936. Two connections. Whats up with that?
Also, The miner (cgminer) reports full speed, but p2pool merged mining randomly stays between 20 and 150 Mh/s. Which might or might not have anything to do with GG.

So, is GG still fully working? Is there a blockexplorer? I guess it takes the 120 confirmations for geists to be shown in -getinfo? Which should take less than half an hour anyway..

Ente
1928  Bitcoin / Pools / Re: [340GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 25, 2012, 05:54:27 PM
The "current payout" graph only displays bitcoins going to the default address.

Good to know! Does it "find" dynamic/changing default addresses? When you dont state an address via "-a" the address may change to a different local bitcoin wallet address.

Ente
1929  Bitcoin / Pools / Re: [340GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 25, 2012, 05:52:31 PM
I can't get 0.6rc4 to work anymore. bitcoin-qt is simply "Not responding" all the time. Is there a better version of bitcoin out there?

- use bitcoind instead bitcoin-qt
- is the bitcoin.conf right?
- is the blockchain completely loaded? (check with bitcoin-qt and/or "bitcoind --getinfo")
- you may use either the newest 0.6.x beta or the newest 0.5.y "stable beta"


sorry for the generic only answer ;-)

Ente
1930  Bitcoin / Pools / Re: [340GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 25, 2012, 01:49:44 PM
huh, tricky one!
It all looks good to me, on your end.
Could you paste a whole "block" of info from p2pool? Including sharechain-size, network-hashrate etc? Maybe some split-chain issue, or general share-chain issue? Either that (network probs outside your farm), or some of the graphs do lie..

Ente
1931  Bitcoin / Pools / Re: [340GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 25, 2012, 11:23:07 AM
Ah, right, I didnt pay close enough attention to both of the axis ;-)

Ente
1932  Bitcoin / Pools / Re: [340GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 25, 2012, 11:08:51 AM
Why my payout drop down so dramatically?



The timeframe is just one day here? With a handful blocks solved by p2pool a day you cant make emaningful conclusions. Sorry, but again it boils down to variance.. ;-)

Ente
1933  Bitcoin / Pools / Re: [340GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 24, 2012, 06:10:02 PM
DeathAndTaxes: Yes, it only listens for block invs, but also polls getmemorypool occasionally, so it does update the txs.

Ente: The share count varying is normal. Peers only exchange blocks of 1000 shares, when you start P2Pool, it loads more shares than it needs, and last, other peers that are downloading the sharechain may rebroadcast old shares that your node remembers for a while.

Interesting. Confusing, slightly, but still interesting. :-)

Thank you again for clarifying!

Ente
1934  Bitcoin / Pools / Re: [340GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 24, 2012, 05:20:16 PM
I am restarting my p2pool every few hours to test and config.
Have some questions about the sharechain:

First, it took me around two days to verify all 17000 shares. It seems to have some influence, merged mining in a second instance seemed to not work while verifying?

I had around 17000 shares in the sharechain, all verified finally. I started a new instance, which loaded 25000 shares. When it was up, I stopped the first instance. Tjis is what I caught in the second instance after maybe two minutes:

Quote
2012-03-24 18:13:12.926276 P2Pool: 18121 shares in chain (17488 verified/18125 total) Peers: 10 (0 incoming)
[..]
2012-03-24 18:13:15.121819 New work for worker! Difficulty: 1.000000 Share difficulty: 1000.000177 Total block value: 50.029500 BTC including 19 transactions
2012-03-24 18:13:16.006935 P2Pool: 17851 shares in chain (17488 verified/17855 total) Peers: 10 (0 incoming)

So now I have three possible numbers for the size of the sharechain: 17000, 18000, 25000. Strange?

Well, I just post this out of curiosity, as it doesnt seem to influence (once the sharechain is verified at least).

Ente
1935  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 24, 2012, 03:28:05 PM
According to the wiki API reference, you should be able to do authentication stuff over the WebSocket interface.

Yep:

Quote
Authenticated commands
These commands require an API key and secret pair to sign requests. Any of the HTTP API version 1 methods can be called.
https://en.bitcoin.it/wiki/MtGox/API/Streaming#Authenticated_commands

..with more details and a php example too

Ente
1936  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 24, 2012, 02:35:44 PM
I tried several hours to create signed commands to send over the socket instead of the old api.

I used this: https://bitcointalk.org/index.php?topic=49789.msg592388#msg592388, it works.


Yes, I used that too, for my old http api. I try to update to socket-only, which supposedly is almost the same.. Almost, but for me not close enough *sigh*

Thanks for replying!

Ente
1937  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: March 24, 2012, 01:47:40 PM
I tried several hours to create signed commands to send over the socket instead of the old api.
No luck at all. Lastly, I tried to "translate" the php example to python from https://en.bitcoin.it/wiki/MtGox/API/Streaming#Authenticated_commands which doesnt look too complicated..




Code:

def get_nonce():
    return int(time.time()*100000)

def encoder(raw):
  dec = json.dumps(raw)
  return dec

def sign_data(secret, data):
    return base64.b64encode(str(HMAC(secret, data, sha512).digest()))


call = "1/info.php"
params = "testparams"
item = "BTC"
currency = "BTC"
id = "1234567890"

Code:
query1 = {'call':call, 'params':params, 'item':item, 'currency':currency, 'id':id, 'nonce':get_nonce()}
Quote
{'nonce': 133259594451109, 'item': 'BTC', 'currency': 'BTC', 'params': 'testparams', 'call': '1/info.php', 'id': '1234567890'}

Code:
query2 = encoder(query1)
Quote
{"nonce": 133259594451109, "item": "BTC", "currency": "BTC", "params": "testparams", "call": "1/info.php", "id": "1234567890"}

Code:
sign = sign_data(secret, query2)
Quote
xjAc1rbh0T4xFVJT/eZo/nxI4vXxiVmaZxbyM6a5RQtHqld2RW1y9HYdE9z/TlM5e9++P+MMWEd9YFdf6Nenqg==

Code:
query3 = sign, query2
Quote
('xjAc1rbh0T4xFVJT/eZo/nxI4vXxiVmaZxbyM6a5RQtHqld2RW1y9HYdE9z/TlM5e9++P+MMWEd9YFdf6Nenqg==', '{"nonce": 133259594451109, "item": "BTC", "currency": "BTC", "params": "testparams", "call": "1/info.php", "id": "1234567890"}')

Code:
call = {'op':'call', 'call':base64.b64encode(str(query3)), 'id':id, 'context':'mtgox.com'}
Quote
{'call': 'KCd4akFjMXJiaDBUNHhGVkpUL2Vaby9ueEk0dlh4aVZtYVp4YnlNNmE1UlF0SHFsZDJSVzF5OUhZZEU 5ei9UbE01ZTkrK1ArTU1XRWQ5WUZkZjZOZW5xZz09JywgJ3sibm9uY2UiOiAxMzMyNTk1OTQ0NTExMD ksICJpdGVtIjogIkJUQyIsICJjdXJyZW5jeSI6ICJCVEMiLCAicGFyYW1zIjogInRlc3RwYXJhbXMiL CAiY2FsbCI6ICIxL2luZm8ucGhwIiwgImlkIjogIjEyMzQ1Njc4OTAifScp', 'id': '1234567890', 'context': 'mtgox.com', 'op': 'call'}


Finally I take this last message and paste it in my socket.send:
Code:
socket.send("4:::{'call': 'KCd4akFjMXJiaDBUNHhGVkpUL2Vaby9ueEk0dlh4aVZtYVp4YnlNNmE1UlF0SHFsZDJSVzF5OUhZZEU5ei9UbE01ZTkrK1ArTU1XRWQ5WUZkZjZOZW5xZz09JywgJ3sibm9uY2UiOiAxMzMyNTk1OTQ0NTExMDksICJpdGVtIjogIkJUQyIsICJjdXJyZW5jeSI6ICJCVEMiLCAicGFyYW1zIjogInRlc3RwYXJhbXMiLCAiY2FsbCI6ICIxL2luZm8ucGhwIiwgImlkIjogIjEyMzQ1Njc4OTAifScp', 'id': '1234567890', 'context': 'mtgox.com', 'op': 'call'}")

Non-descriptive error-reply:

Quote
{u'debug': {u'data': False, u'uuid': u'249bcb53-ccb0-43f1-bac6-e5ae0748e2e1', u'op': u'client'}, u'message': u'Unknown command', u'success': False, u'op': u'remark'}


If someone has enough mercy to have a closer look I would be really happy!
Since this probably takes more than just a few moments, dont forget to quote your bitcoin-address too ;-)

Ente

/who now goes doing some woodwork to clear his head from this
1938  Bitcoin / Pools / Re: [320GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 23, 2012, 11:53:40 PM
P2Pool release 0.10.3 signed tag: 0.10.3 UPGRADE REQUIRED before April 1st (BIP 16 date), March 27th for Litecoin

* New graph implementation (works on Windows!) with per-miner graphs. Go to http://127.0.0.1:9332/static/graphs.html once installed to view.

RELEASE NOTES: You have to go to http://127.0.0.1:9332/static/graphs.html , not http://127.0.0.1:9332/static to see graphs.

I am playing around with usernames (to change difficulty). Now the whole username (including the postfix /1000+1) is shown in the statistics, and whenever I change the postfix a new miner shows up in the stats.
WHen I delete the rrd stuff, the deprecated rrd graphs are cleaned.
How can I clean/reset the new graphs? I deleted most files in /data/bitcoin (or similar), no help. I had to reinstall p2pool, which starts the whole sharechain-load+verify again.

I would love to see the postfix ignored in the graphs altogether?

In the meantime, where is the data stored?

Ente
1939  Bitcoin / Pools / Re: [340GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 23, 2012, 11:44:46 PM
Sure, 1 share per hour is on the very low end. But with a block every 5 hours, it should already even out after a day?
(I am too lazy to write "on average after a long time" behind every number)

Anyway, with your numbers people might get a feeling for these things and decide for themselves what diff they feel comfortable with.

Remember avg can be deceptive.  1/6th to 6x the average isn't that rare.  So shooting for goal of 1 share per hour means you will have some hours with 6 shares and sometimes go 6 hours (oops missed an entire block = payout) without a single share.  That can be frustrating for some miners.

Uhm, even if you dont find a single share in one block, you get almost your full payout. Its the shares from last 24 hours which are counted. Maybe I just misunderstood your words ;-)

Ente
1940  Bitcoin / Pools / Re: [340GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool on: March 23, 2012, 07:41:19 PM
Im down with this, what would your recomended settings be for 1.7GS/s. Also I wouldnt mind a detailed howto on the setup, I browsed ~5 pages backwards in this thread and cant seem to find one.

Its all much easier than expected!
You dont have to change anything on your p2pool, you just change the miner's name:

Minername/sharedifficulty+localdifficulty

So for example:

Miner/1500+1

You set this on all miners. You can give different difficulty targets, but I dont see too much sense in this..

Miner01/1500+1
Miner02/1500+1
Miner03/1500+1

Maybe this is worth stating on the first page, and/or hinting in the help/wiki/etc?
Lets drop dat diff!

Ente
Pages: « 1 ... 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 [97] 98 99 100 101 102 103 104 105 106 107 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!