Re: [Bitcoin-development] Blockchain alternative storage

2013-06-05 Thread Petr Praus
BitcoinJ is storing parsed blocks (not the whole chunks of bytes) in H2, an embedded SQL database for Java. On 5 June 2013 19:53, Marko Otbalkana wrote: > Could anyone point me to work/project(s) related to storing the block > chain in a database, like PostgreSQL, MySQL? How about any tools tha

Re: [Bitcoin-development] Blockchain alternative storage

2013-06-05 Thread Patrick Strateman
If you're only interested in storing the best chain then a fairly simple schema is possible. CREATE TABLE blocks ( hash bytea NOT NULL PRIMARY KEY, index integer NOT NULL UNIQUE, CONSTRAINT block_hash_size_check CHECK ((octet_length(hash) = (256 / 8))) ); CREATE TABLE transaction_inpu

Re: [Bitcoin-development] Revocability with known trusted escrow services?

2013-06-05 Thread Melvin Carvalho
On 6 June 2013 02:19, Peter Vessenes wrote: > So, this > http://www.americanbanker.com/bankthink/the-last-straw-for-bitcoin-1059608-1.html?pg=1 > article got posted today, noting that FinCEN thinks irrevocable payments > are money laundering tools. > It's great that this article quotes the firs

[Bitcoin-development] Blockchain alternative storage

2013-06-05 Thread Marko Otbalkana
Could anyone point me to work/project(s) related to storing the block chain in a database, like PostgreSQL, MySQL? How about any tools that can read the block chain from the Satoshi client and convert it into different formats? Thanks, -Marko ---

Re: [Bitcoin-development] Revocability with known trusted escrow services?

2013-06-05 Thread Alan Reiner
The two most basic ways would be simply: (1) You create your transactions having a locktime of X days and has sequence numbers such that it can be replaced exactly once. The replacement, can be executed within 30 days. (2) You simply send money to 1-of-2 transactions: me-or-you. If the person

[Bitcoin-development] Revocability with known trusted escrow services?

2013-06-05 Thread Peter Vessenes
So, this http://www.americanbanker.com/bankthink/the-last-straw-for-bitcoin-1059608-1.html?pg=1 article got posted today, noting that FinCEN thinks irrevocable payments are money laundering tools. I will hold my thoughts about the net social good of rent-seeking large corporations taking money fro

[Bitcoin-development] Fwd: Creating a Currency for the (Read / Write) Web

2013-06-05 Thread Melvin Carvalho
FYI: I think this may be a possible blue print for a web version of bitcoin+ripple combined. -- Forwarded message -- From: Melvin Carvalho Date: 5 June 2013 18:50 Subject: Creating a Currency for the (Read / Write) Web To: public-rww , Nathan Rixham , Web Payments I've been thi