Bitcoin Forum
May 26, 2024, 05:12:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 108 [109] 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 ... 288 »
2161  Bitcoin / Development & Technical Discussion / Re: Lightweight bitcoin relay node, how to setup. Does the network need it anyway? on: January 02, 2015, 06:59:48 PM
With this you mean a relay node without blockchain, right? (sorry for my noobness)
It's fine, yes. I mean a relay without a blockchain at all.  I think I misread your post as saying you had 1GB storage, but I'm guessing now that you have 1GB ram.

Soon-ish (probably in 0.11) we'll support running pruned nodes which could fully verify things but won't need the whole blockchain. They'll still require a couple gigs of storage and that amount will grow (but much slower, unless things that spam the utxo set become popular)... which might fit better on a small device like that, though it would be useful it wouldn't be as useful as something with the whole history.

Quote
So I can better attach a USB HDD and run a full node.
That you could do. Though right now you'll need, say, 60 gigs of storage though better if you have more since you'd be able to keep serving old blocks long into the future.  (Actual usage is more like 32GB at the moment, but since it can grow at a rate of about 25-50GB/yr, it's best to have plenty of headroom if you're going to store a full chain.

USB flash sticks often wear out quickly when there are many writes, so you'd want an actual SSD or spinning hard drive. On newegg it looks like one can get a 500GB usb external drive for under $50.

Quote
Are full nodes still useful for the network? Also when running on a low end machine (but 15Mbps bandwidth)?
I only want to run the node when it's really useful, otherwise it doesn't make sense.
Absolutely. One thing that would be pretty useful is to run a hidden service bitcoin node,  we're rather short on HS nodes and you can use tor to limit the bandwidth. ("BandwidthRate" in torrc).

The maximum long term average data rate for the blockchain is about 14kbit/sec. So even just a few megabits can do a lot to help keep more peers connected.
2162  Bitcoin / Development & Technical Discussion / Re: Lightweight bitcoin relay node, how to setup. Does the network need it anyway? on: January 02, 2015, 06:08:32 PM
A relay node that doesn't filter for validity is not very useful for Bitcoin (and can easily be caused to get banned by all its other peers) and at worst is an attack amplifier.

It's great that you want to support the network, but running another node on that host is probably not the best way that you can do so right now.
2163  Alternate cryptocurrencies / Altcoin Discussion / Re: New/Custom RPC calls on: January 01, 2015, 12:31:51 PM
Ah, it's the standard game of trying to con the Bitcoin technical community into doing the engineering work for some competing altcoin which doesn't actually have any technical backing.

Thanks Shorena.
2164  Bitcoin / Development & Technical Discussion / Re: fork detection behavior on: January 01, 2015, 06:55:50 AM
Of course, otherwise it would risk triggerable (or even spontaneous) convergence failures which could be exploited to cause loss of funds.
2165  Alternate cryptocurrencies / Altcoin Discussion / Re: 1 wallet 1 account on: January 01, 2015, 06:31:38 AM
The first reason would be when a person/entity is owed a specific amount of bitcoin (measured in bitcoin) (either because they borrowed money, because they were provided goods/services or otherwise), but cannot pay the entire amount all at once
This does fit within the model of "address as an invoice number", and it's strictly less harmful than other kinds of reuse. Though it would certainly be possible to provide multiple addresses for this purpose (the payment protocol accommodates this, IIRC). There may be reasons why the receiver cannot handle funds split up, and so the willingness to accept multiple payments really should be established up front or no payment should be made.

Quote
Another reason to reuse an address would be to maintain the integrity of a charity
This application was my primary inspiration for the type-2 deterministic wallet proposal, which became BIP32: The FSF started accepting Bitcoin donations and they asked about being able to issue receipts for donation in order to comply with IRS requirements for 501(c)(3) chartable contributions over $250 in value. Doing so required they use one address per contribution but they did not want to generate private keys on an exposed web server which could be hacked.

Quote
If potential donors had to contact, say the American Red Cross every time they wanted to make a donation then the money would not make it to the Red Cross in the event their website gets hacked (and the hacker directs donors to send bitcoin to address that the hackers control).
Using an extended pubkey to receive funds allows the sender to verify the correct receiver statically without reusing addresses. Though this is not yet common.

Quote
I would argue that the benefits gained by using a single address in these scenarios (especially the latter) outweigh the drawbacks.
Considering that the donor's ability to deduct donations is lost completely for donations over $250 if the recipient cannot issue receipts, and in the US an organization accepting quid-pro-quo donations without issuing receipts (which they cannot do if they're reusing addresses) is in violation of the tax code and could be subject to fines, I question your cost/benefit analysis in that context. Smiley
2166  Alternate cryptocurrencies / Altcoin Discussion / Re: New/Custom RPC calls on: January 01, 2015, 03:36:51 AM
I need help creating new RPC call list  that can give me the following information or if you know how to change/add a few lines that will provide the following results. (explicitly)

1) count of all incoming wallet tx - then all incoing wallet tx by account
2) count of all outgoing wallet tx  - then all outgoing tx by account
3) count of transactions to a specific address
5) total value of all incoming wallet tx
6) total of all outgoing wallet tx
7) count of mined blocks by this specific wallet
10) date of each accounts first tx
**note  i know of the existing call list and listtransactions, however it does not explicitly give these results.
As you note, these are indirectly accomplished via listtransactions already. It's not going to be faster to generate them directly as it will take the same process as a listtransaction to handle them internally.

Since you need help to do so, perhaps adding RPCs aren't the best way to handle your needs.

Keep in mind that errors made while programming here may cause funds loss. The threshold for where you need to add something new should be accordingly somewhat high.

Quote
4) count of transactions from a specific address
Bitcoin transactions do not have from addresses. https://iwilcox.me.uk/2014/no-from-address

Quote
8 )  total transactions in the entire blockchain
This data is in chainActive.Tip()->nChainTx

Quote
I have re-introduced IRC in my version of the wallet and wish to use it to automatically send payment requests (URIs), if anyone can help with that too  Smiley
IRC is a pretty crappy way to have a centralized server handle things... it's crappy because the server has few tools for DOS mitigation, because messages are very limited in size, and because it's frequently blocked.

If you're willing to trust a server to mediate communications, there are better options. Though, I won't if you really are willing... what happens when that IRC server replaces addresses in payment URIs?

Quote
Assistance is most appreciated.
You haven't actually asked a question. By assistance do you mean "I'd like someone to do the work for me, for free, and I'm not even going to tell you why"?  Thats what it sounds like, absent an actual specific question. If that isn't the impression you want to give you should try making it clear that you've attempted this stuff yourself already and ask specific questions.
2167  Alternate cryptocurrencies / Altcoin Discussion / Re: 1 wallet 1 account on: January 01, 2015, 02:42:50 AM
Is this in response to my question? And did you read my reasons for wanting it that way?
I did, but it doesn't follow. One does not need to use a constant address to have transparency. (As an aside, your goal has extreme scaling problems if implemented directly; part of the reason to have exchanges in the first place is to support high volume instantaneous transactions.)
2168  Alternate cryptocurrencies / Altcoin Discussion / Re: 1 wallet 1 account on: January 01, 2015, 02:34:06 AM
This is not good for security and it's also bad for not just your privacy but the privacy of everyone you transact with (and, ultimately) for all of Bitcoin. It also creates increased systemic risk for the system as parties that reuse addresses are trivially blockable and if many users are behaving in ways that can be blocked miners may be pressured to utilize their position in ordering transaction to block particular participants in the system, the same also applies to other services such as exchanges: if you behave in a identifiable way otherwise honest participants may be forced to block or seize your funds when they can.

Forcing a single address also generally incompatible with normal business practises. A Bitcoin address is emphatically not an "account"-- it's more like a serial number of a bill, alternatively it would be more accurate to think of it as an invoice number. Normal bitcoin usage requires you to use addresses to distinguish which of multiple payers has paid you.

For these reasons this behaviour is not generally supported by Bitcoin core and I question the level of understanding of the system of anyone who produces software which works in this manner.
2169  Bitcoin / Development & Technical Discussion / Re: could you be Satoshi - #1 did you learn about hashcash before bitcoin? on: December 29, 2014, 10:50:08 AM
Thats the point Adam is making. "Anyway I claim the hard part about bitcoin is the decentralised secure inflation control (and sybil resistant byzantine generals solution.) "
2170  Bitcoin / Development & Technical Discussion / Re: Can block rewards be sent to a multisig address? on: December 28, 2014, 07:29:23 AM
If you include a multisig transaction in your block, can you have the block reward go to that address?
Sure. Any scriptPubKey works... in that respect its no different from any other transaction.
2171  Bitcoin / Development & Technical Discussion / Re: Smart Contracts and Transaction Malleability on: December 28, 2014, 12:57:11 AM
"Counterparty" cannot actually implement a smart contract system for Bitcoin. It can only do so for its own altcoins, and only at the expense of being incompatible with SPV and being subject to blocking by miners (who might suffer loss of value of their bitcoin income should the counterparty altcoin manage to displace bitcoin to any great extent).
2172  Bitcoin / Development & Technical Discussion / Re: When are Sidechains going Live? And the Fork ... ? on: December 27, 2014, 04:39:25 PM
Well I'm not sure what you're expecting: releases are planned; and proceeding more or less on schedule: http://sourceforge.net/p/bitcoin/mailman/message/32971508/

Some features have had to slip here and there, mostly due to a lack of testing interest from the community; e.g. http://www.reddit.com/r/Bitcoin/comments/2krlob/wladimir_tweets_call_for_testing_and_review_help/

Please don't confuse Bitcoin with a product that is owned by someone who can just set out and tell you how you're going to be able to use Bitcoin in the future. Bitcoin's future is defined by what people make of it; not some schedule anyone imposes on it top down.
2173  Bitcoin / Development & Technical Discussion / Re: When are Sidechains going Live? And the Fork ... ? on: December 27, 2014, 04:27:51 PM
I haven't insulted anyone.  Dev team members have publicly stated that there has been a lack of progress, direction, and organization partially in part due to ongoing arguing, and other issues.  I am not insulting.  I am quoting.
No they haven't.

Mike Hearn has made some comments like that, but he's not a member of the development team of Bitcoin core, and I believe everyone who is actually involved in the development was more or less mystified by his comments. I certainly was. They certainly don't reflect the actual enormous amount of ongoing activity.

Quote
But its important for the community to know that this thing they hope for isn't even slated for development or release
Thanks for making the agenda in your post clear, I guess Smiley  But it's not so, things are actively being developed, but the design we came up with was one where much of the development could happen without any additions to Bitcoin at all (via the federated peg, described in the appendix of the sidechains whitepaper). It would be improper to take things out of order and suggest softforking additions to Bitcoin without making the use-case for it.
2174  Bitcoin / Development & Technical Discussion / Re: When are Sidechains going Live? And the Fork ... ? on: December 27, 2014, 07:44:12 AM
No fork is currently proposed.

Quote
Frustrating having a decentralized system when there's nobody managing timelines, milestones, and delivery dates.....
Plenty of people are. but you choose to ignore and insult the people working on the project, for which you don't pay... don't expect them to go out of their way to draw your attention to it.
2175  Bitcoin / Development & Technical Discussion / Re: Funding network security in the future on: December 26, 2014, 03:55:54 PM
The "right" chain is the chain that is supported by the exchange that is willing to swap your coins for other things of value.
Seems to have worked out great for all those buying into MTGOX's view of the world.
2176  Bitcoin / Development & Technical Discussion / Re: deleting old blocks to save space on: December 25, 2014, 11:43:10 AM
Making it potentially infeasible or much more costly to introduce new nodes to the network would undermine security enormously, it's critical that this not be undermined. In any case, we've been working on this for _years_ uninformed navel gazing on bct isn't going to move it along.

None of you showed up to test the patch when we made a public call in the hopes of having an initial version in 0.10. Perhaps in the next version.
2177  Bitcoin / Development & Technical Discussion / Re: Thoughts on type safety and crypto RNGs on: December 25, 2014, 10:26:13 AM
Yes, that "safe" subset of C++ is emulating a simple and restricted reference counting runtime by hand. Certainly doable.
That isn't the case. Yes, reference counting is one tool, in that box but it has considerable costs. Most things are handled by RAII. And then there is unique_ptr... "By hand" is also perhaps misleading... in that, for better or worse, the developer themselves doesn't see the machinery under the hood any more than they see boundary checking in Java.
2178  Bitcoin / Development & Technical Discussion / Re: [AUDIT] The Bitcoin Source Code Check! on: December 25, 2014, 09:12:03 AM
Now I plan to audit the source code of the client bitcoin. Offer a community to support me in this matter. My intention is focused on the idea Satoshi Nakamoto: I'm for freedom!
There are hundreds of contributors who have been auditing it for years as part of their use (and, in some cases, efforts to enhance it)-- the difference is that they went in and did it, they didn't step up here and ask for money before even showing that they had the skills to contribute useful review.
2179  Bitcoin / Development & Technical Discussion / Re: Thoughts on type safety and crypto RNGs on: December 24, 2014, 08:23:37 PM
I'm mainly concerned about whether or not using C(++) with manual memory management is acceptable practice. Screwing up manual memory management exposes you to the king of all implicit details: what garbage happens to be in memory at that very moment.
We mostly do not use manual memory management in Bitcoin core. Virtually all use of delete is in explicit destructors, most things are just RAII. I looked a while back and think found only something like three or four instances of use delete outside of destructors, and I assume those cases will all be changed the next time they're touched (e.g. examples include the wallet encryption, which hasn't been touched in years).

(I thought it was really weird of Mike brought up manual memory management, I see I made an error in not correcting him.
2180  Bitcoin / Development & Technical Discussion / Re: deleting old blocks to save space on: December 24, 2014, 08:18:03 PM
It is not quite so simple. You'll abuse your peers if you make them think you can serve them blocks but fail. If you erase too much you'll be unable to reorganize.   We plan on actually supporting this, in a sane organized manner probably in the next major version. (The fact that you were able to try that at all is a result of our work to facilitate that feature, prior to 0.8 there was no data you could just delete without making yourself unable to verify new blocks.)
Pages: « 1 ... 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 108 [109] 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 ... 288 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!