Search content
Sort by

Showing 20 of 165 results by telepatheic
Post
Topic
Board Bitcoin Technical Support
Re: What does "keypool reserve" & "keypool return" in the debug log indicate?
by
telepatheic
on 26/05/2014, 20:53:09 UTC
They indicate that a key has been temporarily removed from the pool and then returned to the pool while an operation involving it is taking place. See the wallet.cpp file.

These functions allow multi-threading (two threads can't be using the same key at the same time).
Post
Topic
Board Bitcoin Technical Support
Re: regex for bitcointransaction string
by
telepatheic
on 26/05/2014, 20:38:29 UTC
I got a string containing the "txid" which should be checked.

All the best;
the txid is the sha-1 hash of a transaction. you can't use the txid to determine whether a transaction is valid, because any 64 digit hexadecimal number can be a txid.

It's not the SHA-1 it is the SHA256d. Also quite confusingly, the output bytes are reversed when displayed to the user!

The RegEx you are looking for is:

Code:
/^[0-9a-f]{64}$/i
Post
Topic
Board Development & Technical Discussion
Re: BIP70 : Test vectors ?
by
telepatheic
on 24/05/2014, 15:24:13 UTC
I don't think there are any test vectors. I think the best you can do is compare against bitcoinj and modify bitcoinj's tests to test your implementation.
Post
Topic
Board Bitcoin Technical Support
Re: Help Relaying a non-standard tx
by
telepatheic
on 24/05/2014, 13:49:18 UTC
You are trying to spend P2SH transactions and your transaction is lacking any redeem scripts so it is not valid.
No, the transaction is valid according to sx.

Ignore what I said about redeem scripts. The transaction does seem to be valid but it is non-standard. The input script size is longer than 500 bytes. Eligius won't accept the transaction so you will need to contact Luke Dashjr and get him to see why Eligius is refusing to accept it.
Post
Topic
Board Bitcoin Technical Support
Re: Help Relaying a non-standard tx
by
telepatheic
on 24/05/2014, 11:19:32 UTC
You are trying to spend P2SH transactions and your transaction is lacking any redeem scripts so it is not valid.
Post
Topic
Board Altcoin Discussion
Re: [PoS] Economic Clustering
by
telepatheic
on 23/05/2014, 20:43:01 UTC
So this scheme achieves consensus via the trusted method of asking a friend. It will probably work but it won't scale.

Interesting. Scalability. Could you elaborate more on why not?

So a fork occurs at some point and an exchange has to decide which fork it should take. Does the exchange owner have to contact all his customers to see which forks they are on, contact other exchanges to see what forks they are on. And what happens if some people disagree? That doesn't sound very scalable to me.
Post
Topic
Board Altcoin Discussion
Re: [PoS] Economic Clustering
by
telepatheic
on 23/05/2014, 19:19:16 UTC
Quote
Another experiment. 20% of Bitcoin economy that owns 65% of hashing power decided to fork Bitcoin and add unlimited supply of the coins. Let's assume that they would mine 25 BTC per block forever. There are no other differences. What blockchain will a new user download? Of coz the one with unlimited supply because "the longest chain wins". Will the user agree on that? I doubt he will chose 20% of economy instead of 80%. And again we see that economic laws are more important than "mathematical" ones.

A new user will download the longest chain which meets the rules of the protocol. If the longest chain breaks the rules and mines more coins than allowed the blocks are not valid and hence do not count towards the definition of longest.

Quote
If a new user joins Nxt and there are several blockchains he should just ask friends, who brought him there, what blockchain to download (hash of a recent block is enough).

So this scheme achieves consensus via the trusted method of asking a friend. It will probably work but it won't scale.
Post
Topic
Board Bitcoin Discussion
Re: Market based energy distribution system using Bitcoin and Solar Roadways
by
telepatheic
on 23/05/2014, 17:31:23 UTC
It would make far more sense to place the panels above the road rather than under it. Above the road, they would be far cheaper to install, are out of the shade and can be angled towards the sun so far more efficient, keep cars underneath cool, keep the road surface dry and snow free and hence make the road last longer, are easier to maintain and replace without affecting road users, and can still be connected to lights embedded in the road surface or above the road.

The ideal location for solar panels is above car parks in warmer climates (southern states of the USA, southern Europe, Australia, South East Asia, Middle East) like in this image:

http://www.ereleases.com/pic/EEProCarport.jpg
Post
Topic
Board Development & Technical Discussion
Re: Incentivise Tx in blocks without changing block reward
by
telepatheic
on 23/05/2014, 17:14:02 UTC
Which leaves the smallest pool of unconfirmed transaction

Nice idea but the pool of unconfirmed transactions is not a global constant so this cannot possibly work.
Post
Topic
Board Off-topic
Re: Decentralized Operating System
by
telepatheic
on 23/05/2014, 17:11:18 UTC
Has anyone though about a decentralised burglar alarm?

People probably have thought about decentralised operating systems, but probably only people who don't know how an operating system works.
Post
Topic
Board Altcoin Discussion
Re: [PoS] Economic Clustering
by
telepatheic
on 23/05/2014, 17:08:12 UTC
Quote
From technical point of view it means that if someone decides to rewrite the history of the blockchain he won't be able to include transactions of those who don't take part in the attack, because every transaction contains the id of one of the recent blocks. When Alice sends money to Bob in exchange for something she'll get what she wants only if Bob validates the transaction. And this can happen only if they are both on the same branch.

This won't protect against most attacks because transactions are easy to create. An attacker can create lots of bogus transactions to and from himself to fill up his blocks. In all cryptocurrencies both users must be on the same branch for a transaction to be seen as valid. The problem is that merchants aren't always online. When they come online they will see two forks, how will they know which is the real fork and which is the attack. Under this scheme they won't know, they will see valid transactions occurring on both forks.

Quote
Forgers can't forge all branches at once, they are faced with a choice, an attempt to forge more than one branch will lead to their exclusion from one of the clusters.

How are users excluded? Surely this requires consensus, how will that consensus be achieved?
Post
Topic
Board Development & Technical Discussion
Re: BTC POS System
by
telepatheic
on 23/05/2014, 14:25:06 UTC
No, bitcoin transactions are push only however you can create your own systems which use bitcoin at the low level but they won't have the built in security of bitcoin.

For example the merchant scans the QR code giving the merchant computer an address of an endpoint which the computer can connect to, to make a payment protocol request. The customer authorises the app to make a payment to the address supplied in the payment request.
Post
Topic
Board Bitcoin Technical Support
Re: Encrypted wallet.dat, lost password, any solutions?
by
telepatheic
on 23/05/2014, 14:17:47 UTC
If you're just looking for a few missing characters in an otherwise exact password, it wouldn't be difficult to write a computer program that could try all possibilities. The program shouldn't take long at all to try them all and report back to you if any of them worked.

The program already exists: btcrecover. Use the
Code:
--typos-delete
feature to test all deleted character possibilities.
Post
Topic
Board Bitcoin Technical Support
Re: Encrypted wallet.dat, lost password, any solutions?
by
telepatheic
on 23/05/2014, 10:33:10 UTC
The problem is, again, that when I only remove the wallet.dat file and I insert the old wallet.dat backed up file, it still states the password is wrong.

When I am completely certain the password is correct...

I can't work out what is wrong then. Try using btcrecover https://github.com/gurnec/btcrecover

If that doesn't work, your file has probably become corrupted and you will need an expert to have a look at it and see if it can be repaired.
Post
Topic
Board Bitcoin Technical Support
Re: Encrypted wallet.dat, lost password, any solutions?
by
telepatheic
on 23/05/2014, 09:09:03 UTC
So, given that my old password is correct (which I am quite quite certain about), these would be the steps to follow?

1: Deinstalling current bitcoin client
2: Removing all data, blocks, and current wallet.dat
3: Downloading new Bitcoin client
4: Removing wallet.dat new bitcoin client
5: Inserting old wallet.dat in the folder where the new wallet.dat was located
6: Open command: "bitcoin-qt.exe -rescan"
7: Let the client rescan all the blocks and once it is finished, I should be able to make transfers with my old password

Am I correct here on these steps?

Best,

Clochard

No need to remove all data and blocks. Other than that those are the right steps.
Post
Topic
Board Bitcoin Technical Support
Re: Encrypted wallet.dat, lost password, any solutions?
by
telepatheic
on 22/05/2014, 22:27:33 UTC
Thanks for the suggestion. However I already tried that and it did not work. It still said the password was incorrect.

This is really incredibly weird since I have used that password before before I got the 'system error: database corrupt' notification on my old pc. It always worked perfectly and I always had the paper in front of me (with the password) when I typed it.

And now it does not work anymore...

OK try installing a fresh copy of bitcoin-qt.
Post
Topic
Board Bitcoin Technical Support
Re: Encrypted wallet.dat, lost password, any solutions?
by
telepatheic
on 22/05/2014, 21:46:38 UTC
Of course I did not Wink The old wallet.dat file is still backed-up on several usb sticks and since no transactions have been done since installing the new wallet, I suppose they should still work.

So I should go for deinstalling Bitcoin client from my pc, delete the new wallet.dat file, download again bitcoin client, deleting that new wallet.dat file as well, putting the old wallet.dat file in that folder and open the bitcoin client?

If I do that, I suppose it will still ask for a password when I want to do a transfer, but this will be my old password isn't it?

And if I am not misstaken, the old password should work like it has always done.

Am I right in these assumptions?

Thanks!

Clochard

No need to deinstall the client. Just rename your new wallet as newwallet.dat  and move a backup old wallet named wallet.dat  into the folder. Restart bitcoin-qt and you should be able to use the old password to change the password on the wallet.
Post
Topic
Board Bitcoin Technical Support
Re: Encrypted wallet.dat, lost password, any solutions?
by
telepatheic
on 22/05/2014, 20:59:16 UTC
When I installed the new Bitcoin client however, I felt a bit insecure and put a new password on it. I typed it twice and wrote it down and I am pretty sure also this password is correct. The coins and transactions showed up however.

Did you delete the old wallet.dat file? If not, you can use it to get your coins back and you can set a "new new password"
Post
Topic
Board Altcoin Discussion
Re: Proof of stake instead of proof of work
by
telepatheic
on 22/05/2014, 00:49:45 UTC
Fair point, we are working on a dynamic method of weighing although the fix worked thus far (8x hasing power increase within minutes on SHA algo did no damage at all to the chain and a few weeks earlier a scrypt pool with 51%+ forked resulting in just that their miners lost some mining time again with no consequences to the chain) we are aware that fixed factors are somewhat unreliable in long term.

Were these attackers actually being dishonest (not mining on top of the chain with greatest difficulty) ? Or were they just flooding the hashing power?
Post
Topic
Board Altcoin Discussion
Re: Proof of stake instead of proof of work
by
telepatheic
on 22/05/2014, 00:28:53 UTC
If yes who decides that? Does the algorithm have rules to change that automatically? Will miners approve that if they get penalized?

The miners essentially decide (with bitcoin the rules are sort of obvious so everyone agrees to them) but with multi-pow coins miners have to rely on working out what will make them the most money/coins.  In general this means sticking with what everyone else is doing, the only practical way of knowing what everyone else is doing is assuming everyone is following the software. In theory thus, optimum strategy is to follow the software and hence the developer gets to choose.

In reality, some miners might refuse to download new updates. Now you have different miners enforcing different rules, working out the optimum in this situation is far from trivial and could lead to instability. The full economic analysis of this is very complex.