Bitcoin Forum
May 25, 2024, 10:11:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 ... 195 »
141  Bitcoin / Development & Technical Discussion / Re: Transaction Malleability Reloaded on: March 22, 2014, 10:13:12 PM
Code:
  k = 908        #random k

 Huh

Well, whenever you sign a message/transaction/block you have to pick some random k value. If you ever pick k twice the same, people can recover your private key, so you are advised to pick it completely randomly. In this example k was picked to be 908.

Yeah, I'm fully aware of the meaning of k and why you need to pick it at random.  My concern is that you are setting yourself up for a repeat.  Do you remember that time when you wrote a shitty not-so-random key generator, and then wrote a program that "found" your shitty weak keys?

If you use a shitty not-so-random k generator, and then you exploit your shitty ks, no one gives a fuck because you are exploiting your own lousy programming, not the software people are using, and not the math it is based on.

I could be wrong about that, of course.  Your latest scam might not depend on using shitty k values.  It is also entirely possible that you don't understand that message signing is done on hashes instead of integers.  Or, you may have "discovered" the property of key-recovery that gmaxwell mentioned earlier.
142  Bitcoin / Development & Technical Discussion / Re: Transaction Malleability Reloaded on: March 22, 2014, 08:27:52 PM
Code:
  k = 908        #random k

 Huh
143  Other / Meta / Re: Proposal: Disallow Ads in Signatures on: March 22, 2014, 01:49:03 PM
This forum is in peril.

Trolls and morons have already driven most of the developers away.  Spam (and people padding their stats for future spamming) are killing old threads and making some boards nearly useless.  I monitor a bunch of old threads, and I don't even bother reading half of them when they pop up with new posts any more because I've learned that they are filled with "Me too" and "neat!" posts.

This place is a tool to foster communication.  Incentives should align with that goal.

Paid advertising in sigs and posts gives people incentives to hurt the community through hard and soft spamming, and should be stopped.

I propose a few options.

Option 1:  Disallow commercial advertising in sigs, even unpaid.  Any link to a product or service that isn't both free and Free, or text describing or pointing to same, is "commercial".  Give one warning and clear out their sig.  If they put it back (or a different ad), permanently disable their signature.

Option 2: Disallow all advertising in sigs.  Same as above, but even disallow mentions of free and Free projects (such as mine).

The second one would be much easier to enforce, with less effort from moderators and less whining from violators.

Neither one would put an end to the flood of useless posts, but they would help.

And that's why the changes were nonsense. Just check the box that says "ignore other's signatures" and nobody gets bothered. Smiley

This only helps a little.  Even when one user blocks sigs, they still see all of the posts that are used to bolster the user's activity to enable better advertising for the people that haven't blocked sigs.
144  Bitcoin / Development & Technical Discussion / Re: Can I send to an output that can only be spent to one of two addresses? on: March 22, 2014, 01:12:17 PM
Not the way you are thinking, no.  The script checker only looks at two things, the output script that is being redeemed, and the arbitrary data provided by the redeemer.  It has no view of the transaction amount, and it has no view of the upcoming output.

And it wouldn't help you at all if it could be done.  What you should do is make a 1-of-2 multisig address and send to it now instead of later.  If these other keys are more secure than the key that is receiving the money (like on a webserver), you should move the funds out quickly.
145  Bitcoin / Development & Technical Discussion / Re: TX Only Valid Until X Block on: March 21, 2014, 03:56:57 AM
Well, there is a business use case for knowing that if a transaction has not happened by X time, then it definitely will not happen.  A "drop dead date" is absolutely crucial for some contracts.  
Sure, and you can have that— conflict it with an alternative spend and then it cannot happen.

That was kinda the point.  Transactions becoming invalid due to double spends does not indicate fraudulent or gravely mistaken -- it just indicates a protocol move.  Transactions becoming invalid due to timeout are no more nor less than the same kind of protocol move. 

If anything, it would make it more defensible to consider double spends to be fraudulent or gravely mistaken because it would give people another, cleaner, more reliable option to accomplish the same kind of move in most cases.

The advantage is that it would eliminate an attack on protocol.  With cancellation via double spend somebody can try to prevent cancellation by forcing the potential canceller offline (via a DDoS if they're technical, or via lineman's pliers if they're old-school)  until the transaction he might need to cancel becomes valid and confirms.  If you can build an expiry time into the transaction in the first place, you don't get to confirm that transaction after the time, whether or not you can keep the other protocol participant offline.

I don't normally consider contracts expiring when their agreed-upon expiration dates hit to be fraudulent.  Why would I start now just because some software is mediating the event?

At any rate, the question is not "Could this feature be useful in some unusual situation some day?".  It is rather "Is this feature, upon consideration of many scenarios, expected to be a net gain for the system?".  In this case, the answer looks like a pretty clear no.  It would be misused and abused in ways that will cause mayhem, probably a thousand times for every time it is used properly and intentionally.

Right now, you can convince yourself of the safety of your transactions by taking simple steps like making sure that you are connected to the bulk of the network, making sure your received payment has a number of confirmations sufficient for your risk tolerance, and making sure that no competing transactions are visible.  Having expiration heights degrades that safety by a factor that is difficult to estimate.

P.S.  Your DOS scenario is the stuff of movie plots.
146  Bitcoin / Wallet software / Re: totalReceived is inconsistent - help improve it on: March 20, 2014, 04:26:37 PM
In my opinion, this topic belongs in Alternative Clients, not here.
147  Bitcoin / Development & Technical Discussion / Re: TX Only Valid Until X Block on: March 20, 2014, 01:12:01 AM
We've had some long reorgs during network events in the past which resulted in no losses, expirations would effectively guarantee losses in these cases and in general complicate the security analysis in accepting a transaction because now you not only need to worry about past fraud risk, you need to worry about past expiration exposure.

If transactions of blocks removed from trunk and not existent or double spent on the new trunk were resurrected in the memory pool, would then be a loss through expiry during reorg?

Because if the transaction stops being valid after block X, and X is in the middle of the reorg, then it can no longer be placed in a block.
148  Other / New forum software / Feature request: Ignore list syndication and sharing on: March 19, 2014, 07:04:08 PM
Sorta like the DNSBL systems for ignoring email spam.

Simple text box in your profile where you can list user names, and then when the ignore function is working, it operates on the union of your ignore list and the ignore lists of the people you've listed.

A more advanced version of this feature could add named ignore lists.  I could then organize my lists into categories, and people could select only the ones they want.  For example, rather than ignore everyone that I've ignored, someone could use kjj.scammer to ignore only people on my scammer sublist.
149  Bitcoin / Development & Technical Discussion / Re: network hardening or other ways to prevent forks in a war scenario on: March 19, 2014, 05:03:31 AM
Some are suggesting a mesh VHF network, but bandwidth on these frequencies, is too low.

I think you are either overestimating how much data bitcoin moves, or underestimating how much data packet radio can move.
150  Bitcoin / Development & Technical Discussion / Re: Consistent Estimater of Transaction Times - Block Timestamp? on: March 17, 2014, 08:50:41 PM

The closest that you can get meaningfully, is the timestamp of the block.  The timestamp in the block is usually very close* to the actual time that block was found, and is absolutely sure to be within the fuzzy window that the network defines for validity.

* And by "very close", I mean within the "reasonable accuracy of a few minutes" that you are asking for.

Interesting... I've been looking at just that solution. But the problem is that the address-transaction function only gives you the block height, and unless I'm mistaken, blockchain.info doesn't have a function for getting the block from it's block height. <sigh> My bitcoin-qt client doesn't give me all the blocks in the block chain, either. What's a poor coder to do?  Smiley

bitcoind getblockhash 291050
bitcoind getblock 00000000000000004642ed8eb619f2f84aaf201dbf0ba5fc87c425d040455d5a
151  Bitcoin / Development & Technical Discussion / Re: Consistent Estimater of Transaction Times - Block Timestamp? on: March 17, 2014, 08:02:42 PM
I'm using blockchain.info's address history api function and I'm finding some bogus transaction/block times in the output. Specifically, one transaction has a time stamp of 2005.12.24. Right Christmas Eve, 2005. Now... you KNOW that's not correct!  Cheesy

The lesson that you should learn from this is that a website named blockchain.info, despite the fancy name, is not a reliable source of information about bitcoin.

After reading this thread and a couple others, I surmise that the miner that generated the block didn't have the time set correctly on the machine. This tells me that these timestamps aren't reliable. So, how do I determine, within a reasonable accuracy of a few minutes, when a transaction actually made it into a block? Is there some independent source of accurate data on this?

The closest that you can get meaningfully, is the timestamp of the block.  The timestamp in the block is usually very close* to the actual time that block was found, and is absolutely sure to be within the fuzzy window that the network defines for validity.

You could also run your own service and keep track of the exact instant that you first see each block.  However, this will quickly run into the problem of no one giving a fuck when you first saw it.  In theory, this problem can be overcome by becoming important in the community, but most people would probably just prefer to use the global timestamp that is already in the block, and accept the limitations thereof.

* And by "very close", I mean within the "reasonable accuracy of a few minutes" that you are asking for.
152  Bitcoin / Development & Technical Discussion / Re: Backing up online wallet accounts on: March 14, 2014, 06:49:15 PM
I don't understand this part
Quote
Bitcoin-Qt (and bitcoind) do not segregate the bitcoin funds into accounts in the wallet
As far as i know, each account has receiving address(es), and funds received on these address(es), can only be spent by this account. i tested it my self, sendfrom <account> method choose transaction output sent to <account>'s addresses, and don't mess with other accounts' coins.

Your understanding of what is happening in the account system is completely and utterly wrong.  Please go educate yourself before you lose a bunch of money that doesn't belong to you.  The search function will probably help you in this matter, or google.
153  Bitcoin / Development & Technical Discussion / Re: anti-monopoly rules on: March 14, 2014, 06:44:48 PM
Your reasons for wanting it are speculation and you seem to be operating under some grave misunderstandings of what mining is all about.  It defines the order of transactions.  Everyone still always validates everything.

1. Cap by top level domain

VPN

2. Cap by physical location

VPN.  Also, physical location of what?  Reported by what?  Authenticated by what?
154  Bitcoin / Development & Technical Discussion / Re: anti-monopoly rules on: March 14, 2014, 11:06:03 AM
No.

Though if it concerns you, you could create your own cryptocurrency that requires that blocks be signed, and then use PKI to enforce authentication, and then impose whatever other rules you desire using that identification.  I don't recommend it, and no one will use it.
155  Bitcoin / Development & Technical Discussion / Re: Can coins be destroyed in a more 'polite' way? on: March 14, 2014, 10:56:13 AM
Hi if that picture is true then can someone please she'd some light for example on why a stupid thing such as a remotely managed electric car battery charger is running SHA-1024? Thanks, btw they used to run SHA-256 before...

There is no SHA-1024.

http://en.wikipedia.org/wiki/SHA-2
156  Other / Meta / Re: Possible spambots "hey, i am fresh here" on: March 14, 2014, 10:49:53 AM
https://bitcointalk.org/index.php?action=profile;u=235717
157  Bitcoin / Development & Technical Discussion / Re: bitcoind - how "move" mechanism works on: March 13, 2014, 07:09:43 PM
Stop.  Accounts do not work the way you think they do.  Odds are good that you are setting up to shoot yourself in the foot  Stop right now and go find out how they really work.

Accounts are credited when transactions come in to an address owned by that account.  They are debited when transactions are created that specify the account.  They can be adjusted in pairs by a move.

Those are the ONLY times that accounts are updated.  Assigning a used address to an account is not in that list.  Most spends are not in that list either.

Keys do not belong to accounts, and the wallet pays absolutely positively no attention to accounts when picking transactions to spend.
158  Bitcoin / Development & Technical Discussion / Re: Anyone know the structure of a mutli-sig address? on: March 13, 2014, 06:59:38 PM
Make a couple of bogus privkeys, use bitcoind to generate the 2-of-2 address, and use your script to generate it.  Post the keys, the redeemscripts (both of them) and the two resulting p2sh addresses.
159  Bitcoin / Development & Technical Discussion / Re: Can coins be destroyed in a more 'polite' way? on: March 12, 2014, 07:29:40 PM
Since we are all repeating what always is said in these threads, I'll add my 2 cents.

We have no promise that each possible outputs of our hashing algorithms are reachable by some valid input.  So, addresses where the private key has been lost are fundamentally different from addresses that never had a private key to begin with.  Thus, coins sent to the bitcoin eater are "more lost" than coins sent to bitomat depost addresses.

Physics won't let us iterate all possible private keys, but if we could, we are sure to find the bitomat coins.  We aren't sure at all that we'll find the bitcoin eater coins.
160  Bitcoin / Development & Technical Discussion / Re: Can double-spending be prevented by design? on: March 12, 2014, 07:23:11 PM
Account?  Methinks you have some more books to be hitting.

Also, this won't work.  For either rule to work, you need some way to decide which of two events was first, which is exactly what the bitcoin network is doing.
Pages: « 1 2 3 4 5 6 7 [8] 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 ... 195 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!