Bitcoin Forum
May 04, 2024, 03:52:21 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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 ... 195 »
601  Economy / Speculation / Re: Gold collapsing. Bitcoin UP. on: August 12, 2013, 03:18:51 AM
DU weapons, by any objective definition of the term, are dirty bombs and as such should be classified as weapons of mass destruction whose use is a war crime. There are two problems with this, however.

Firs,t like all governments, the US government is in no way interested in obeying the rules that it imposes on others. Second, the term "war crime" is misleadingly redundant.

You forgot #3, depleted uranium is less radioactive than the dirt you find it in, and of course, #4, "mass destruction" doesn't mean "reporters don't understand it", it has a specific meaning involving large areas.
602  Bitcoin / Development & Technical Discussion / Re: How to Tell if Miniupnp is working on: August 10, 2013, 12:26:26 PM
Well, first you could check with your router.  It may have a page showing upnp status.

upnpd on linux adds entries to filter.FORWARD and nat.PREROUTING, plus it logs to syslog (mine goes to /var/log/debug).

Another option is to set maxconnections to a number higher than 8.  The client usually tries to maintain at least 8 peers by making new outbound connections.  If you set maxconnections higher, it will accept incoming connections until it reaches that limit.  So, if you see 10 peers in your client, you know that at least 2 of them are incoming, and thus, upnp is working.
603  Bitcoin / Development & Technical Discussion / Re: Is there a better way to get notified of receives with bitcoind? on: August 10, 2013, 12:15:13 PM
Quoting for archival purposes. But wow, you catch on quick.

No kidding.  When I saw this, freeloader247 became my favorite person.

I still haven't had a chance to read his programs in detail, but he's certainly on the right track.

Also what is a proper transaction flow? Currently I have things set up like this, but as it is advised to avoid both accounts and getbalance this is clearly wrong.

  • Registration: getnewaddress for user setaccount to user ID.
  • Transaction: getbalance of users account and confirm that is larger than purchase price.

When you create a new address to accept a payment, stash a copy in your local database, along with whatever identification you need.  This could be as simple as {address,order number} or {address,userid}.  Since the notification system is transaction based, you use something like gettransaction or getrawtransaction with the verbose flag for processing.

If you pair this up with -blocknotify, you can really minimize the number of slow RPC calls you have to make.

Basically, you gettransaction each time -walletnotify triggers until it returns 1 confirmation.  If you want 6 confirmations, you make a note to come back and check again after -blocknotify hits 5 more times.  At that point, gettransaction should read 6 confirmations.  If it doesn't, then congratulations, your system was clever enough to not get fooled by a chain reorg, put it back in the queue to be checked again after X more blocks.
604  Bitcoin / Hardware / Re: Incoming Avalon News 8/9/2013 on: August 10, 2013, 03:19:49 AM
This is what unregulated looks like.  Sure there are fraudsters.  Nothing stops that.  Sure there are scams.  Nothing stops that either.  But at least here you have a CHOICE.  You weren't required to trust Yifu.  You decided to.  I decided to.  We all did.  We made a mistake.  We bet on someone who didn't already iron out all the kinks.  Turns out some of those kinks were pretty solid.

Yes, Yifu made promises he couldn't keep.  So did BFL.  This isn't the first time and won't be the last.  But Jesus you all wine so much about being "scammed" when part of the reason many of you are even HERE was because you believed in unregulated markets.  

Caveat Emptor, right?  Maybe this will teach us to properly vet the investments we choose to pursue.

You seem to be confused.  Fraud is a criminal matter, not the product of regulation.  For that matter, contracts are a civil matter, also not part of regulation.

Those that support deregulation are in favor of allowing honest ponzi schemes.  Like if someone says "I'm going to pay you from the money I get from people that join after you, and the people that join too late are screwed."  Most libertarians would be fine with that.  However, if the same guy said "I'm going to invest your money in postage futures." but really paid early investors with money paid in by later investors, that is both fraud (dishonesty) and breach of contract (didn't do what he promised).  Very few people in favor of deregulation are also in favor of legalizing fraud, and only the really extreme guys are in favor of gutting the civil court system.
605  Bitcoin / Bitcoin Discussion / Re: Realistically, how safe is a dedicated HD or SSD as cold storage? on: August 09, 2013, 04:13:44 AM
Drives in cold storage generally don't go bad

This is not the same as "unplugged drives don't go bad at all".  Spinning disks are subject to age, as well as wear.  SSDs leak.  A disconnected drive is an unknown drive.  It may be fine when you reconnect it, it might not be.  The only way to find out is to connect it.

In my opinion, the bigger problem is that drives carry executable code, as well as data.  Sadly, Windows isn't the only operating system that tries to execute programs on newly found disks.

I personally use boring old paper.  Cheap, light, easy to store.  Your paper will outlive you, even with mediocre archival practices.  If you are also careful about choosing your encoding system, the paper will not be capable of storing anything but what you can see and verify visually.  You can encrypt the keys stored on it, and you can use multisig too.
606  Bitcoin / Development & Technical Discussion / Re: Help using Multisig transactions on: August 09, 2013, 04:03:25 AM
Could it be that you're using "redeemscript" instead of "redeemScript", ie with a small "s" instead of a capital one?
Yep, what dserrano5 said. The error should point you in the right direction: "Missing redeemScript".
I'm an idiot. Thanks.

It pointed me at the right direction, but I didn't notice the case discrepancy, and since this datum was included in previous calls I assumed this kind of an error would have caused problems earlier.

In case you were wondering why it didn't trigger on previous calls, the redeemScript isn't needed until signing.  You can stuff arbitrarily named members into that object without a problem.  Those functions only check to make sure they have the parts they need, they don't reject extra stuff, they just ignore it.
607  Bitcoin / Development & Technical Discussion / Re: Is there a better way to get notified of receives with bitcoind? on: August 09, 2013, 03:59:04 AM
Yeah, don't do that unless you are sure that your transaction volume will be extremely low.

You want the process run by -walletnotify to be very fast.  Ideally, it should spit out a line into a pipe (or file or socket) and end promptly.

You should then have a different process, either a daemon or a cron job, read that stream and gather whatever information you need.  You should be checking the confirmation count of the transactions, not the balance of the account.  For that matter, using accounts can get you into trouble.  Make sure you know what you are doing if you are going to use them at all.

-walletnotify will trigger when a transaction is included in a block, but it might also trigger if the transaction shows up over the network as a loose transaction.  So, you should check the confirmation count each time -walletnotify hits, until you see at least one confirmation.  After that, you should check it every time you see a block to make sure the count has reached your threshold.  You could optimize that a bit by skipping the slow RPC calls until <threshold> number of blocks have been seen after the transaction was first included.
608  Bitcoin / Bitcoin Discussion / Re: U.S. Judge determines bitcoin is a currency on: August 08, 2013, 06:00:12 PM
Black's defines money as anything used as money, and currency as the subset of money that has been authorized by law.  The is different from conventional usage which holds the two terms to be synonyms, only weakly defined.


This could set a precedent in one federal district. That could also be appealed and may end being interpreted differently in different federal districts.

It will be important for a direct case challenging regulation to be brought when the feds finally decide to actually take one of the exchanges to court.

I think it is pretty clear in this context that the judge is right.  It is hard to imagine any judge applying the Howey test getting hung up on a narrow definition of money.

It is important to keep in mind that the judge is merely confirming what everyone already knows, namely that bitcoin is used as money.  In this case, he's deciding whether or not an "investment of money" was offered.  The law in question is about regulating "investment of money", not about money itself.

I wouldn't read a whole lot into this.  The judge isn't saying that bitcoin itself is a security subject to regulation under the Securities Act, just that contracts which would otherwise be covered by that act aren't excluded just because the money used isn't the dollar.
609  Bitcoin / Legal / Re: Bitcoin is Money, says Federal Court on: August 08, 2013, 01:07:52 AM
Posted in a different thread, but I see a lot of the same questions here, so cross posting...

Black's defines money as anything used as money, and currency as the subset of money that has been authorized by law.  The is different from conventional usage which holds the two terms to be synonyms, only weakly defined.

The judge in this case is clearly using the two words interchangeably, consistent with conversational English, and clearly also in the very broad definition that Black held for money.

Quote
It is clear that Bitcoin can be used as money.  [...]  The only limitation of Bitcoin is that it is limited to those places that accept it as currency.

If BTCST had traded in gold coins I would expect pretty much the same ruling.  For that matter, if there was a community that used sheep as money, and he had run this scam on them, I'd fully expect the judge to interpret the "investment of money" fork of the Howey test through the victim's eyes and issue the same ruling.

Lawyers have an ethical duty to try every possible defense, so this question was inevitable.  Of course, the answer was just as inevitable, as some of us have been saying for the last few years now.  Courts mostly operate on value, and most of the value that they see is not granted by the decree of some authority, but by the perceptions of the parties involved.

Let all of the scammers be on notice.  Your defense is now solely in your ability to keep your scams small enough that it isn't worth hunting you down.  Your claims that it wasn't really theft/fraud/whatever because bitcoins aren't issued by the government will fall on deaf ears, and some of you are going to end up in prison.
610  Bitcoin / Bitcoin Discussion / Re: U.S. Judge determines bitcoin is a currency on: August 08, 2013, 12:49:21 AM
Black's defines money as anything used as money, and currency as the subset of money that has been authorized by law.  The is different from conventional usage which holds the two terms to be synonyms, only weakly defined.

The judge in this case is clearly using the two words interchangeably, consistent with conversational English, and clearly also in the very broad definition that Black held for money.

Quote
It is clear that Bitcoin can be used as money.  [...]  The only limitation of Bitcoin is that it is limited to those places that accept it as currency.

If BTCST had traded in gold coins I would expect pretty much the same ruling.  For that matter, if there was a community that used sheep as money, and he had run this scam on them, I'd fully expect the judge to interpret the "investment of money" fork of the Howey test through the victim's eyes and issue the same ruling.

Lawyers have an ethical duty to try every possible defense, so this question was inevitable.  Of course, the answer was just as inevitable, as some of us have been saying for the last few years now.  Courts mostly operate on value, and most of the value that they see is not granted by the decree of some authority, but by the perceptions of the parties involved.

Let all of the scammers be on notice.  Your defense is now solely in your ability to keep your scams small enough that it isn't worth hunting you down.  Your claims that it wasn't really theft/fraud/whatever because bitcoins aren't issued by the government will fall on deaf ears, and some of you are going to end up in prison.
611  Bitcoin / Hardware / Re: Avalon ASIC users thread on: August 07, 2013, 06:45:26 PM
I emailed Avalon, and they asked me to post here.

For me, this is the most interesting part of the story.  In fact, it is downright amazing.  Quite a few people have been, for at least a month, trying everything from tickets and email through smoke signals and spiritual mediums in efforts to contact Avalon.  As far as I can tell, none of us have heard back so much as a "fuck you" in reply.

Please, please let us know how you established actual contact.
612  Bitcoin / Development & Technical Discussion / Re: Bitcoind taking up 380megs or more.. ?? on: August 07, 2013, 01:19:33 PM
a quote
Quote
There are other sources of memory usage:
  8MB - the default cache
  4MB - write buffer (though should only build up if you do 4MB worth of writing)
  very large - Unix buffer cache usage for opened files (they are mmapped). If you want to trim this, try tweaking MmapLimiter in leveldb/util/env_posix.cc so it initializes the "allowed mmaps" to 0 instead of 1000.  Though this is mostly an accounting issue.  The files will be sitting in the buffer cache regardless I think.

I think some people missed this, or don't understand how mmap works, or don't understand how unix systems account for memory usage.

Free memory is wasted memory.  Allocating memory is all about updating table entries, and it takes no more time to change a page from "buffer cache" to "heap" than it does to change it from "free" to "heap".
613  Economy / Securities / Re: ASICMINER: Entering the Future of ASIC Mining by Inventing It on: August 06, 2013, 09:07:44 PM
Only in bitcoin land would a 30% yield be considered low.

At a flat 30% yield, not compounded, it will take 172 weeks to break even.

How confident are you that they will be around in 3+ years?  How confident are you that they can maintain that yield?

You have to factor in the purchase AND sale price.

Only if you aren't the one holding it when it all goes to shit.  Bitcoin securities are always a game of hot potato.  None of them have a 3 year track record yet.
614  Economy / Securities / Re: ASICMINER: Entering the Future of ASIC Mining by Inventing It on: August 06, 2013, 03:40:33 PM
Only in bitcoin land would a 30% yield be considered low.

At a flat 30% yield, not compounded, it will take 172 weeks to break even.

How confident are you that they will be around in 3+ years?  How confident are you that they can maintain that yield?
615  Bitcoin / Bitcoin Discussion / Re: Bitcoin irony on: August 05, 2013, 02:09:22 PM
Bitcoin is considered the ultimate tool of the free market, this is the reason it is popular in the cyberpunk, crypto-anarchistic and libertarian counterculture communities. Yet it is completely artificial and arbitrary with most of the values being modified by the selected few that own the bitcoin.org domain, the algorithm that controls the amount of Bitcoins created through time is also completely arbitrary.

I believe I have found the source of the problem.

The proof of work function needs special properties.  So far, the only class of functions that have the properties we need are cryptographic hashes.  Among the few cryptographic hashes available and trusted at the time of release, SHA2-256 provides the best tradeoff between dynamic range and length of output.  Others could have been chosen, and can be chosen in the future, if some pressing need arises.  But don't fool yourself into thinking that there is some function out there that does useful work at the same time.  That would be the holy grail of proof-of-work systems, and lots of people are looking without results.

Then, there are fundamental constants.  These were arbitrary (within a broad range) at the time the system was started.  Why is 600 seconds the goal for the average block time instead of 500 or 700?  Why was the initial subsidy 50 BTC rather than 10 or 100?  No particular reason.  But, once we started using bitcoin, these arbitrary constants stopped being arbitrary.  Now we maintain them because we all agreed to them, and no one has the power to force a change.

And last, there are implementation values.  These are the ones that are, in your words, "being modified by the select few that own the bitcoin.org domain".*  Things like the fee for relay values, etc.  These influence how nodes interact with each other, but don't change the fundamental rules of the system.

Also, there is a fourth class, protocol constants.  These are really a subset of the implementation values, which is why I don't mind putting them after the "last" thing.  These are things that would require wide adoption to work, but don't really change the rules of the game.  For example, If we ever find that 8 places of precision aren't enough, we can make a new transaction version with a wider field and/or a different scaling factor.  This would hard fork old versions off, but wouldn't change the rules of the system.

Just for the record, that totally isn't how it works.  The developers can make changes to the software, but they can't make anyone actually use it, so their power to change these values is limited by the public's willingness to accept their changes.  And the software is totally open and free, so any person or group that doesn't like something can fork their own version.
616  Bitcoin / Bitcoin Discussion / Re: Practical Guide to Cold Storing your bitcoins on: August 05, 2013, 01:36:50 PM
Someone should patch the satoshi client to accept encrypted WIFs.  That would greatly simplify things by cutting out a bunch of steps.
617  Bitcoin / Bitcoin Discussion / Re: Famed Trader Joe Lewis Backs Bitcoin on: August 05, 2013, 12:42:23 PM
Quote
The bitcoin deal was put together by Andrew Laurus, a former government-bonds salesman at Lehman Brothers who is also an investor in the fund. Avalon was set up by Yifu Guo, a pioneer in the bitcoin-mining industry. He was part of the team that developed the first ASIC bitcoin mining hardware. ASIC stands for application-specific integrated circuit, a type of custom-designed microchip. Mr. Guo couldn't be reached for comment.

Not surprising.  He can't be reached for customer support either.
618  Economy / Economics / Re: Very nice story about John Law on: August 02, 2013, 12:06:03 AM
In the same way, you and I are descriptive.  We view money as being that which is used as money and try to understand where it comes from and where it goes.*

Johnyj seems to be proscriptive.  He defines money as being a peculiar thing that no one actually encounters in real life, and has constructed a model to explain how it can appear to be in several places at once.  When money does things other than what he thinks it should do, he sees theft and fraud.
I think you're right, this is the core issue.

Based on kjj's description, he defines money as being a peculiar thing (M1) that no one actually encounters in real life, and has constructed a model to explain how it can be used to explain money creation

I can't imagine where this idea would come from.  I have posted several times saying the exact opposite.  The stuff that people use as money, is money.  And the model that explains where it comes from is very simple, banks create it.  By an amazing stroke of luck, my model just happens to be what really happens every day, all around the world.

But I suggest starting with a gold based monetary system, because things are much easier to understand in such a system. And since there was no dramatic change in society when we changed from a gold standard into fiat standard, I suppose the basic rules still hold.

You can suppose what you want, but gold is nowhere used as money, and the rules governing gold very explicitly do not apply any more.

Under a gold standard, you create money by mining gold, and gold is the only valid medium of payment, a gold smith can't just write some numbers and lend it to customer as money, he must provide them with real gold. He can still practice FRB by lend out the same gold again and again, but the maximum amount of gold that he can lend out will decrease over time if his do not add some new mined gold

When goldsmiths invented FRB, they didn't do so by physically handing out gold, they did so by handing out claims for gold.  These claims circulated as money, and thus, in my view, they were money.  Not that it matters a whole lot any more.  The stuff we use as money isn't a claim on anything in particular, it is just a claim in general.

Just imagine that you are a central banker for a country and how you are going to organize the whole thing, that is what John Law's story about

His scheme is indeed useful as a warning.
619  Economy / Economics / Re: Very nice story about John Law on: August 01, 2013, 02:01:17 PM
Hey Peter, long time no see.

You are wasting your time here.  I'll do my best to be charitable towards johnyj and attempt to describe the point of impasse in the most neutral terms possible.  I look at it like the fork in linguistics.  On one side, you have descriptive linguists that attempt to describe how language is actually used by real humans.  On the other side, you have proscriptive linguists that try to write rules about how language should be used.

In the same way, you and I are descriptive.  We view money as being that which is used as money and try to understand where it comes from and where it goes.*

Johnyj seems to be proscriptive.  He defines money as being a peculiar thing that no one actually encounters in real life, and has constructed a model to explain how it can appear to be in several places at once.  When money does things other than what he thinks it should do, he sees theft and fraud.

I have attempted to explain several times how the narrow view of money is simply not useful for understanding reality.  In short, even if it were true that there was "one true money", the world does not act as if it were true.  If I sell the same property twice, I'm committing fraud, but the second buyer is just shit out of luck, he doesn't have any claim to it because it isn't mine to sell after the first sale.  Money doesn't act this way (in reality).  Courts do not trace money back to the original title and tell everyone else to fuck off.**

As a side note, johnyj seems to be very heavily invested in the fiction that banks are constrained by reserves.  I made an error by posting the M1 chart before, when it would have been wiser to post the MB chart.  I remedy that error here, and this is just a bonus.  Sadly, I don't think they will help.  Understanding these charts requires an understanding of the mechanics of banking as it really works, but I do look forward to hearing what epicycles have been invented to shoehorn them into the proscriptive view.

*  I hope that I'm not oversimplifying your view here.  I know that you are an actual trained economist, and have a more nuanced view of money than what I'm describing.  But, based on our conversations at and around the conference, I feel fairly confident which side of this particular spectrum you are on.

**  If courts did this, the entire system would collapse into a puff of smoke the first time it happened.
620  Economy / Economics / Re: Very nice story about John Law on: July 31, 2013, 08:56:14 PM
In my view, all of those things are money.  The money in your account, the negative money in your loan, the physical paper money, the money in your bank's account with their reserve branch, etc.  Typically when I have this discussion with academic economists, they pick the one slice of the picture that they prefer, and call that slice "money" and everything else is "money substitutes".

The problem with that approach is that it defines away virtually everything that is actually used as money in practice by real human beings as being something that is not-money.  It sure makes the study of economics easier to have careful definitions, but the exercise provides no real insight into how anything actually works.

I don't follow you, why all of those things are money? In my opinion, there is only one kind of money: Those created by central bank. This is simple enough. If you regard all these different concept as money, then you won't be able to spot what is really happening, since what you see is just an illusion

If you desire to study the stuff that does not circulate and that no one uses as money, I've already given my blessing.

I would strongly disagree though on which of us is interested in what really happens.  We all live in the illusion.  The illusion is how the world really works.  By restricting your view to only the part that doesn't matter*, you miss out on the show.

The central bank does indeed hold the monopoly on creating the stuff that you call money: deposits in the federal reserve system, the stuff that does not circulate, the stuff that no one uses as money.

Deposits in the FED is only a small part of the created money. For every 10 dollar that banks get from FED, they only need to keep 1 dollar at FED as reserve, they are free to loan out the rest 9 dollar

Sigh.  No, you have this backwards and inside-out.  The bank lends 10 dollars out of thin air, and then borrows one FED-dollar from the federal reserve.  That FED-dollar sits in an account at the federal reserve.

You keep mixing up cause and effect because you refuse to learn how the system actually works.  The "reserve" in "federal reserve" is a metaphor.  It isn't actually a stockpile of something that people dip into.  It is an accounting fiction that tracks what has already happened.

*  The exact degree to which central bank money is unimportant in reality can be seen here
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 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 ... 195 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!