Show Posts
|
Pages: [1] 2 3 »
|
2
|
Local / Кодеры / Будущее базы данных цепи Bitcoin
|
on: January 05, 2013, 06:57:43 PM
|
Из официального документа Сатоши: Once the latest transaction in a coin is buried under enough blocks, the spent transactions before it can be discarded to save disk space. To facilitate this without breaking the block's hash, transactions are hashed in a Merkle Tree [7][2][5], with only the root included in the block's hash. Old blocks can then be compacted by stubbing off branches of the tree. The interior hashes do not need to be stored.
A block header with no transactions would be about 80 bytes. If we suppose blocks are generated every 10 minutes, 80 bytes * 6 * 24 * 365 = 4.2MB per year. With computer systems typically selling with 2GB of RAM as of 2008, and Moore's Law predicting current growth of 1.2GB per year, storage should not be a problem even if the block headers must be kept in memory. Как известно, в блоке львиную долю места занимает тело блока. То есть, типа не обязательно хранить тела блоков все время. Для того, чтобы стереть тело блока с диска, достаточно, чтобы выстроилась некая большая цепь над ним. Но хидеры хранить обязательно. Однако здесь есть проблема. Во-первых, кто то обязательно должен хранить всю цепь - хоть убей. Для разрешения угрозы форков цепи, дабы возможно было проследить историю каждой монетки вплоть до ее генерации. То есть, часть сети, обязательно должна хранить вот эту почти экспоненциально растущую базу: http://blockchain.info/ru/charts/blocks-sizeВо-вторых, полная цепь с телами блоков - это железная защита каждого клиента. Пока она есть у него локально, он может отличить правду от лжи, получаемую из сети. Текущая сеть состоит преимущественно из ванильных клиентов, хранящих полную цепь локально. И если в сети кто то балуется и начинает слать левые транзакции, этот индивидум жестко банится сетью ванильных клиентов. Если на клиенте не будет полной цепи - он будет гораздо более уязвим к Sybill и DoS атакам злых анонимусов. Ну представьте себе клиента только с хидерами. Он получает новую транзакцию из сети. Как ему проверить предыдущие Ouput'ы этой транзакции, если их просто нет? А если он не может проверить, он не может знать, верна ли транзакция или нет. Но по протоколу он обязан сохранить ее. Получается, его можно просто завалить левыми транзами. А если он еще их и брокастнет, то ванильные клиенты его жестко побанят. Другими словами, клиент только с хидерами блоков - вещь весьма стремная. Конечно лайт клиенты возможны, но они не должны составлять бОльшую часть сети, чтобы сеть была устойчива к проискам злых анонимусов. А что насчет фулл клиентов с полноценной базой? А Сатоши в оф документе ничего не говорил о проблемах полной базы. А ведь они уже есть и выходят за рамки использования ванильного клиента на среднестатистическом пользовательском ПК. Я кое что знаю о высоких нагрузках. В частности, о высоких нагрузках на базу данных. И эта история не про нехватку места, а про нехватку пропускной способности шины винта. Пока индекс помещается в размер ОЗУ - проблем особо нет. Или беркли-бекенд его кеширует, или буфера OS. В любом случае, поиск по такому индексу не является проблемой. Но как только индекс начинает превышать объем ОЗУ, особенно, в 2-5 раз, то все методы кеширования данных оказываются бесполезны. И тогда при поиске ключа, комп начинает лопатить очень много гигабайт данных на винте. А ведь клиенту при получении транзакции надо найти все предыдущие аутпуты, а при получении нового блока - повторить тоже самое для всех транзакций блока. Я уж молчу про процесс синхронизации. Мое мнение - в недалеком будущем, ванильный клиент Bitcoin выйдет за рамки возможностей стационарного домашнего/офисного ПК. Главный боттлнек - пропускная способность шины SATA и скорость позиционирования головки. Твердотельные накопители конечно могут немного облегчить эту проблему, но не намного и не надолго. Если учитывать что Биткоин - это быстро растущая сеть, объем информации обещает экспоненциальный рост.
|
|
|
3
|
Bitcoin / Wallet software / I need help with slogan for DIANNA [BTC Bounty]
|
on: December 24, 2012, 02:49:26 PM
|
Hi all! I am DIANNA Project leader. This project started a year ago from idea of distributed DNS, but this idea growed to global key/value database. And now its time to step forward. I have completed with designer the main logo (great job!):  But I need a slogan. The current is: - The Mother of all records or maybe: - The Source of all records or may be something different? Please give your advices. Thanks.
|
|
|
4
|
Local / Кодеры / DIANNA: цикл технических статей о Bitcoin
|
on: December 20, 2012, 10:51:12 AM
|
Начал цикл русских статей с подробной препарацией всех внутренностей Bitcoin и DIANNA. По скольку DIANNA планируется как дополнение к Bitcoin (не форк!), техническим специалистам надо рассказать сначала что такое Bitcoin. Потом расскажу что такое DIANNA. Цель - привлечь разработчиков. Не только с этого форума, но и с хабра тоже. Народ просит знаний. Их есть у меня. Подписывайтесь, будет интересно. Цикл русских статей о внутреннем устройстве Bitcoin.
|
|
|
5
|
Local / Oбcyждeниe Bitcoin / Закон Коперника — Грешема
|
on: July 03, 2012, 09:59:25 PM
|
Бытует мнение что Биткоины, в следствии своей ограниченности эмиссии, склонны накапливаться в каком то ограниченном круге рук, что в принципе может парализовать данный вид экономики. То есть, типа, дефляция, Великая Депрессия и всякие такие страшилки. Бороздя просторы тырнетов, наткнулся на интересный закон Коперника-Грешема, постулированный аж 500 лет назад. Сводится он к следующему: Коперник первым обратил внимание на закономерность, известную как Закон Коперника — Грешема (независимо обнаружен также английским банкиром Томасом Грешемом). Согласно этому принципу, более устойчивые по своему курсу деньги (например, золотые) будут вытесняться из обращения, так как люди будут накапливать в них сбережения, а в реальном обороте будут участвовать «худшие» (например, медные) деньги. Следует заметить, что такой эффект наблюдается только в том случае, если государство установило фиксированный курс обмена золота к меди (или серебру). В условиях действительно свободного обмена золота на медь (серебро) и обратно никакие деньги не являются "хорошими" или "плохими" и вследствие этого не вытесняются с рынка одни другими. Согласно этому закону, нам это не грозит, так как никто в принципе не может диктовать курс обмена.
|
|
|
7
|
Economy / Trading Discussion / Withdraw USD from mtgox
|
on: April 24, 2012, 08:54:01 PM
|
As I have long positions, I didn't withdraw money from mtgox for a long period of time.
But few days ago I tried to do this with some not significant amount - $400... And found this possible only with wild comission (aurumxchange 6.5% with huge limitations on amount) or wild delays (bank transfers).
Bitinstant does not allow withdraw LRU from MtGox.
I must admit that I don't know what is dwolla and in what amounts and delays money go there. If you have expirence - please share.
In other side - LR deposits go instantly into market and with 0% comission.
So I make a conclusion, that MtGox inflates market with fiat funds by this way. And now Bitcoin is just a bubble. Its exchange rate not dropped only because there is no good way for fiat to go out.
And when any instant way for fiat out will appear - exchange rate could drop significantly.
|
|
|
8
|
Local / Разное / Мысленный эксперимент: странные деньги
|
on: April 21, 2012, 05:59:00 PM
|
Насмотрелся и начитался я за долгое время все эти док. фильмы и материалы, связанные с деньгами, пирамидами и т.п.
Вот многие умы сходятся во мнении что причины всех этих кризисов в растовщичистве (ссуда за%) и жлобстве (накоплении материальных благ).
Предлагаю мысленный эксперимент, решающий эти проблемы.
Странные деньги.
Предположим, существует некоторый вид денег с особым свойством.
Особое свойство заключается в том, что они прогрессивно утекают из рук своего владельца во времени. Утекают в равной части ко всем остальным людям.
Единственный способ их задержать - это заплатить ими за товар или услугу. Иначе они постепенно распределятся по остальным участникам.
То есть, такая денежная масса сама по себе стремится расплыться равномерно по всем участникам.
Что это дает? Нет богатых и нищих на финансовом уровне. Нет растовщичества, нет жлобства.
Как будет развиваться общество с таким видом денег?
|
|
|
9
|
Economy / Marketplace / Aurumxchange: out of LR?
|
on: April 21, 2012, 12:13:57 PM
|
I tried yesterday to exchange mtgox USD to LR via aurumxchange. The max available exchange amount on aurumxchange was 44 USD. Today it does not accept mtgoxusd temporary.
What a crap?
I didnt cashed out mtgox for a long time and now I see it is almost impossible to instant withdraw any serious amount (44 usd isnt serious), or you must wait weeks for this (bank wire).
Is that a marketplace with such payment proessing timing? Or it was done to bumb BTC price, as BTC withdrawn very quickly?
|
|
|
11
|
Economy / Gambling / MMM-2011 hugest Ponzi scheme :: Bitcoins accepted
|
on: April 19, 2012, 11:25:23 AM
|
MMM - financial anarchists social network How MMM works?MMM is a decentralized financial social structure. There are no companies, no LLCs, no contracts, no promises, no guaranties. Just regular people exchange money between themselves based on set of Sergey Mavrodi recommendations. There is no central place where all money are kept. MMM structure is similar to structure of Genghis Khan army. The bottom-level representative node of system called "foremen". They manage money flows between their participants. Actually they keep money backup. There are millions of them. The next level nodes manage money flows between their foremans. And so on going up and up, uniting groups of people, cities, provinces, countries, The World itself. Backup money are kept only by bottom-level nodes and sometimes by participatns. Every participant must have a foreman. MMM has internal virtual currency called MAVRO. When you make deposit - you buy MAVRO. MAVRO rates always grow from 20% to 75% a month (RALLY!!!). If you want to sell your MAVRO - you can do it at any time by rates published on MMM website to your or other foreman. It is impossible to destroy such structure. If foreman disappears for some reason, participants are moved to another foreman and their internal MAVRO deposits stay not affected by such incident. Who am I?I am a participant of MMM. What MMM offers? Since 23 Apr 2012 MMM offers single deposit plan 40% per month (complex, exponental percent)Only until 1 May 15 May 2012: You get bonus 50% to your deposit. Bonus is valid only if you dont withdraw money within 1 month. Official Russian MMM website is: http://sergey-mavrodi.com/ (It is 40th in Russian Alexa Top http://www.alexa.com/topsites/countries;1/RU, sbrf.ru - Central Bank of Russia is 47th and ebay.com is 42th) Russian site has a link to English version: http://i-mmm.com/en/And yes, ITS A FINANCIAL PYRAMID! MMM & Sergey Mavrodi. The Truth the Government doesn't w★nt you to know!http://www.youtube.com/watch?feature=player_embedded&v=iFHgJdn25Og#! How to participate?You can contact me directly for advise and consultation: Forum PM mail: pentarh@pentarh.comjabber: pent@pentarh.comI will give you advises and forward you to official foremen. Payment systems accepted: Liberty Reserve, Bitcoin, various bank transfers. If you need a bank transfer, I will search for a foreman with needed bank account in your region. About Bitcoins:You are able to buy or sell MAVRO-D virtual currency for Bitcoins with current BTC-E.com Volume rate. Comission is about 5% (no my own comission here). REGISTRATIONAnyone who want to register - do it here: http://i-mmm.com/en/invite.php (may still not work) OR http://sergey-mavrodi.com/op/view_485.html (english form at the bottom) Use invite code: pentThen you can ask me to deposit BTC. Note: I suggest to hold funds at least two weeks (20%) to get valuable profit with compensation of intermediate rates for Bitcoins. Financial PyraMMMid MOVIE (english version)Is a story about MMM'94. Full movie The Pyrammmid 2011 in english amateur translation. http://www.youtube.com/watch?feature=player_embedded&v=lFx9dxUCxTc
|
|
|
12
|
Other / Politics & Society / Occupy wall street and Sergey Mavrodi MMM - same objective
|
on: April 06, 2012, 03:15:25 PM
|
Sergey Mavrodi started decetralized offline pure financial pyramid MMM in x-USSR countries about 1 year ago. It has no central place where all money kept and no any organization responsible, so it is hard to destroy. It is a financial offline social network, pure financial Pyramid, where people exchange money between each other, generating them for each other. The objective of this project is to destroy existing pyramid called "World Economy" by another anti-pyramid and replace all fiat currencies by internal virtual currency called "Mavro". While the most competentive ecomists and even goverment of Russia laughted about this initiative and said "it will not fly even after two months - just coz its pyramid", more than year is past, pyramid successfully runs in several countries and more than 25 million people already involved. I'm one of them. I joined just for lulz, but currently I really attracted by scale of this social structure. So I thought, could "Occupy Wall Street" support this financial weapon to troll and possibly destroy financial slavery where one people print money and other people must earn them? I must admit this structure successfully trolled most of x-USSR goverments and banks and nobody can do anything with this structure for this time, coz people go there knowing all risks. It is actually not an advertising, financial pyramid is a ultra-mega high-risk venture even worse than gambling.
|
|
|
14
|
Bitcoin / Development & Technical Discussion / Safe Bitcoin blocks checkpointing
|
on: March 25, 2012, 02:09:00 AM
|
I am a DIANNA developer. DIANNA uses Bitcoin chain as a base timestamp server and has built-in lightweight Bitcoin client based on BitcoinJ. The primary target is make Bitcoin chain as thin as possible and safe enough simultaneously. I need an advice how to make it. DIANNA really don't have to know what happened in Bitcoin some number of blocks ago. So I think to use Bitcoin checkpoints merged into secondary Merkle Tree in DIANNA block with hashes of checkpointed Bitcoin blocks: genesis_hash chk1_hash@height1 chk2_hash@height2 ... chkN_hash@heightN So the latest hash in this sequence can be considered as secondary-genesis where to start from. The question is: how far it would be safe to make checkpoint from BitcoinCurrentBestHeight()? I see some checkpoints in bitcoin code. But they are hardcoded and seems that there is no way to determine them automatically on new addition to this list. So how is safe to do checkpointing every 100/1000/10000 blocks? What was the longest fork of Bitcoin chain? Also some practical suggestions of similar procedures are welcome. Thanks.
|
|
|
15
|
Economy / Trading Discussion / Mtgoxlive hangs after couple of minutes
|
on: March 20, 2012, 10:16:10 PM
|
I use Latest Chrome and Firefox on Fedora Linux desktop.
I don't know when it started - maybe month or earlier.
When I open mtgoxlive - my browser starts to consume CPU up to 99% and the screen hangs after several minutes. Both in Chrome and Firefox. Only hardcore process killing helps.
Does anyone have similar troubles on Windows/Mac ?
|
|
|
16
|
Local / Трейдеры / Тихо то как на бирже...
|
on: March 13, 2012, 02:45:36 PM
|
Как в эпицентре урагана =)
Народ один за другим рисуют триугольники и каждый обещает брекаут вот-вот через пару часов в разные стороны. Но как назло ничего не происходит. вообще. S3052 только вбросил г-на на вентилятор в рассылке, но и это не помогло.
Когда еще курс был настолько стабильный так долго?
|
|
|
17
|
Local / Трейдеры / Немного о мембере S3052
|
on: March 11, 2012, 01:05:16 PM
|
Манипулятор и просто мудак редиска.
Подписан на его рассылку. Любой взрыв на бирже происходит спустя несколько минут после его апдейта.
Трейдинг превратился не в технический анализ ситуации, а в перегонки, кто первый получит его рассылку.
Держу пари, он делает нехилый профит на шорт термах благодаря своим "прогнозам".
Это инсайдерство. Пожизненный эцих с гвоздями в США за это дают.
|
|
|
18
|
Bitcoin / Bitcoin Discussion / My tips to secure external bitcoind
|
on: March 07, 2012, 09:43:53 PM
|
1. Do not use VPS or Cloud hostings - only pure hardware. VPS and Cloud hosts have several ways to get staff login to your server without a password and without rebooting server. But even on pure hardware there is always a way to reset a root password when staff have access on console. Because of this: 2. Keep your wallet on crypted partitions. Use kernel-level partition encryption LUKS on Linux and ELI on FreeBSD. When server crashed or rebooted, on next boot crypted partition can not be mounted without entering a password. VPS and Clouds provide a theoretical fault-tolerance and safety of your data. So when you use a stand-alone server there is always small chance that HDD can be damaged causing loosing a wallet. So you need a backup to external host. If external backup host in a same DC, the chances of loosing both at ones - main and backup server - are high. So... 3. Do not keep main bitcoind host and backup host in a same datacenter.You also need to be sure your backups go through secure channel, So 4. Use secure protocols to make an external backup. Such as SSH (scp).Even if you backup your data via secure protocol, there always a chance that someone will get into the backup server and steal them. If you do not want to complicate the backup server setup: 5. Encrypt backup files on creation with gpg-like standard unix utility. And then send them to backup host via secure channel.This will let you use cheap untrusted VDS and Cloud services for backup purposes. And finally, you have to restrict most ways to get your hosts to be compromised. 6. There must be no applications running that listens network except bitcoind and sshd on main server, and sshd only on backup server.PS. I don't say about complex passwords and pubkey ssh authorization, I assume people understand this. Also you may consider restrict ssh access by IP. But dont try too hard, you can restrict yourself 
|
|
|
19
|
Local / Кодеры / Пора разобраться с Merged Mining
|
on: March 05, 2012, 05:52:54 PM
|
Итак, теоретическая база https://github.com/vinced/namecoin/blob/mergedmine/doc/README_merged-mining.mdhttps://en.bitcoin.it/wiki/Alternative_Chains#Sharing_workНа форуме похоже немногие вообще в курсе как это в действительности работает на низком уровне. Как я понимаю реализацию. 1. Строится дополнительный Merkle Tree (AUX Tree) где то в воздухе, из root Merkle хешей блоков всех доступных AUX чейнов. В простейшем случае неймкоин, это тупо хеш одного AUX'а неймкоина 2. В CoinBase scriptSig биткоина суется рут-хеш этого дерева (там по протоколу может быть что угодно) Таким образом, если мы майним блок биткоин с рут хешем дерева AUX'ов, то при успехе, у нас есть доказательство работы - намайненый блок биткоин и в нем есть рут этого древа AUX Tree. Майнится с наименьшей сложностью из всех. Кому подошла - тому повезло. Подошло к наибольшей сложности - повело всем =) В блок биткоин суется только рут хеш дерева AUX'ов в позволительное место (scriptSig нулевой транзакции). При этом к AUX блоку цепляется куча левой инфы для верификации: а) Меркль ветка AUX блока в AUX Tree б) Индекс а) в AUX Tree (зачем, если ветка есть?) в) Нулевая транзакция биткоин в найденом блоке, конкретно интересует ее scriptSig с рутом AUX Tree. г) Меркль ветка предыдущего пункта в дереве Bitcoin блока д) Хидер блока биткоин Верификация AUX блока: 1. Из ветки а) вычисляется рут хеш AUX Tree 2. В сохраненном хидере проверяем что этот хеш есть в в) 3. в) должна быть корректно втиснута в г) с соответствующим рут хешем 4. Хеш д) меньше таргета AUX chain 5. а) стоит четко на индексе б) AUX Tree Таким образом, даже если этот недо-биткоин блок не вошел в "официальную" цепь биткоин, он все равно служит доказательством Proof-Of-Work AUX блока, так как он к нему приаттачен. Это позволяет майнить AUX'ы и PARENT'ы на разных сложностях, независимо друг от друга, с одной и той же мощностью. А где хранится весь AUX Tree? Какие тут могут быть сюрпризы? Один из участников утверждал что это чревато дабл-спендами в AUX'ах.
|
|
|
|