Bitcoin Forum
April 24, 2024, 09:58:42 PM *
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 »
401  Bitcoin / Project Development / Re: [ANNOUNCE] ABE: Open Source Block Explorer Knockoff on: June 30, 2011, 05:50:48 PM
error, I look forward to your GPL competitor. Smiley  Meanwhile, for anyone who wants to customise a public Abe instance without using a Github fork, I've added the following To-Do item:

 * Optionally add a link to each page allowing the user to download the
   source code and supporting files as a tarfile created on the fly to
   satisfy the AGPL.

I won't make this automatic due to security concerns, but I intend to make the new link simply tar up the directory containing abe.py, minus *.pyc and .git, and stream it to the browser as application/x-gtar-compressed or similar.  By turning this on and keeping your changes in the directory, you will satisfy the AGPL.  [Edit: or I will weaken Abe's license so this satisfies it.]  If you implement this before I get to it, feel free to submit a patch or pull request.

I'll also allow config file nesting so that secret configuration such as a database password can be left out.
402  Bitcoin / Project Development / Re: [ANNOUNCE] ABE: Open Source Block Explorer Knockoff on: June 30, 2011, 01:27:56 PM
n0m4d, thank you.

Confucius, you are welcome to use the URL in the OP, but do not expect as consistent service as you would get from BlockExplorer.com.  I run the service for demonstration purposes, the server can not handle BBE's load, the code is not yet as optimal as BBE's, and I will probably move the site to another host/port soon.

Cheers,
John
403  Bitcoin / Project Development / Re: New release of MultiCoin client a branch of the BitCoin client on: June 30, 2011, 01:23:19 PM
Your C++ looks all right to me. Smiley

I'm imagining a world where there are 10,000+ chains of which I'm interested in 100+.  Or maybe I'd like to run an exchange or a service similar to Block Explorer that by default supports any new chain on the net.  I imagine one p2p network, one port number shared by many or all chains.  Peers would exchange lists of chains that interest them so they can avoid useless relaying.  The protocol would support a "new chain" message type.  Of course, chains would need a unique identifier, perhaps a hash of some implementation of its block acceptance rules.

I'd also like a way to start hashing a chain that does not yet have a genesis block, only rules to validate the genesis block.  The rules might require, for example, the coinbase script to contain the hash of a particular (perhaps future) Bitcoin block as timestamp.  This would give people a fair chance at the genesis reward (if any) and permit a high difficulty for the block, especially in conjunction with shared proof of work.
404  Bitcoin / Project Development / Re: [ANNOUNCE] ABE: Open Source Block Explorer Knockoff on: June 29, 2011, 06:24:23 PM
It's the front end stuff (HTML, CSS, images, etc.) that I really want to customize.

Would you prefer to change things server-side (e.g., through templating) or would client-side scripting work?  If you can do it client-side, and you serve your scripts in unprocessed source form with an AGPL-compatible license notice, I won't object.  In fact, I'll adjust the output format to suit the task, e.g., XML for Ajax or HTML with data-centric class attributes.  And I'll add an optional <script> element to load your code.  I just want developers using your site to find it easy to grab your scripts, style sheets, etc., replicate their functionality by simply rehosting them, and extend them by editing them.

If you want to work server-side, I'd like to draw a line between functionality and presentation.  I'll be happy to include configurable static fragments at various points in the output, so long as these don't bring in proprietary applications that process chain data or scripts that fail to meet the above conditions.
405  Bitcoin / Project Development / Re: [ANNOUNCE] ABE: Open Source Block Explorer Knockoff on: June 29, 2011, 04:04:30 PM
Oh, I don't need a permissive license, I'd be happy with GPL. Smiley

Tell me your specific needs, and I will amend the license to meet them if compatible with my goals.  Want to change the CSS?  No problem.  Put in banner ads or change the donation address?  Sure.  Those things will be configurable when I get around to it.  But I'll have to be careful to exclude stuff that interacts with the data in ways that extend functionality, unless of course you are willing to fork the Github project or otherwise keep your changes public under the AGPL.

Or you could keep your site private and not worry.
406  Bitcoin / Project Development / Re: New release of MultiCoin client a branch of the BitCoin client on: June 29, 2011, 03:53:00 PM
Very interesting, thank you!

Do you plan to support, or would you consider patches to...

...share work with the BTC chain as described in Alternative Chains?

...one daemon multiple chains?

...chain discovery via IRC or other means?

...plug-in interface for block acceptance rule modules?

I would like Abe to support as many new chains as possible.  I'd prefer not to run a new daemon for each one, though different processes with one bitcoind executable is a step in the right direction.
407  Bitcoin / Project Development / Re: [ANNOUNCE] ABE: Open Source Block Explorer Knockoff on: June 29, 2011, 12:45:23 PM
2.7GB under /var/lib/postgresql/8.4/main

 pg_database_size
------------------
       2737561892

-rw-r----- 1 bitcoin  bitcoin  328428819 Jun 29 08:33 /home/bitcoin/.bitcoin/blk0001.dat
-rw-r--r-- 1 namecoin namecoin  11748764 Jun 29 08:11 /home/namecoin/.namecoin/blk0001.dat

This is with hashes and scripts stored as hex.  With a little work, I'm sure I could store them as binary.  And I hope to make the "coin-days destroyed" feature optional, which would save a bit of space for those who don't use it.  On the other hand, I plan to cache data in tables (optionally) for rendering web pages.  And I am considering storing addresses (rather than just public key hashes) for substring search.  So it could go up or down.
408  Bitcoin / Project Development / Re: [ANNOUNCE] ABE: Open Source Block Explorer Knockoff on: June 29, 2011, 12:56:40 AM
Looks good, can't wait for a more complete API, are you going to match block explorer's urls?

I'll do my best to match them.  /block, /tx, and /address are compatible, apart from some differences in output format and content.  /b doesn't work yet, because Abe currently lacks a notion of "default currency", and /b/NUMBER could be ambiguous.  (/chain/Bitcoin/b/NUMBER gives the equivalent.)  Other URLs could match BBE but aren't implemented yet.
409  Bitcoin / Project Development / Re: [ANNOUNCE] ABE: Open Source Block Explorer Knockoff on: June 28, 2011, 04:16:28 PM
I've just rebranded the project "Abe" (formerly "ABE") so as to reduce any chance of confusion with the original "BBE" (theymos' Bitcoin Block Explorer).
410  Bitcoin / Project Development / Re: [ANNOUNCE] ABE: Open Source Block Explorer Knockoff on: June 28, 2011, 10:38:17 AM
It [AGPL] does guarantee is will be free forever but does limit the code it can be integrated in...if he keeps all the copyright I'm sure if someone gave him the right price he'd offer it under different terms while keeping the community one as is!  Wink

Correct.  The last thing I'd want is for Abe features to start showing up on a site like Block Explorer and growing closed-source enhancements.  But if someone will pay me for all the time I've put in, I will happily release it under a permissive license.  Or for a bit less, under an exclusive one.

For the sake of concreteness, as soon as 600BTC turn up at 1PWC7PNHL1SgvZaN7xEtygenKjWobWsCuf with 6 confirmations at difficulty over 1,000,000, you may have the current commit (8bd1c8609cab296174c68c7df06c60367c7b84c6) under the same license as bitcointools, bct-LICENSE.txt with my copyright next to Gavin's.  There are currently 0.05BTC, thanks to whoever.

With the software as is, it means (among other things) that I have to publish the source code to any changes made to it, such as changes to the site design.

Good point, and I should figure out which parts don't need AGPL protection, such as donation addresses and logos.

It would be extremely useful if at some point, ABE could get requests for (a) the merkle branch of a particular transaction, and (b) a list of all transactions involving a certain address (or some similar pattern matching).

Added to the to-do list, thanks.  Please note that the database will also need optimising before it can support uses like SPV on any scale.  I have ideas for how to optimise it, but they are not at the top of my list yet.

What is your policy regarding keeping history? I've heard here a few times about how using logs from an online block explorer it's possible to identify who owns what if they don't use a proxy. If you are the only one to check an address then *chances* are it's probably the owner!  Wink

My policy is that I sometimes look at my log files and get curious.  Cheesy  As for the software, it prints requested URLs to the standard output along with other information.  You may save or discard the output.
411  Bitcoin / Project Development / Re: [ANNOUNCE] ABE: Open Source Block Explorer Knockoff on: June 27, 2011, 09:18:38 PM
I've used Abe data to find some addresses that have had both BTC and NMC balances.  Example:

http://john-edwin-tobey.org:2750/address/128CYpCqrg9iWYLciBmV1FiQmS3bsPz3Jv

The Namecoin address with the same public key is MwhZkThpn4FH35b7z164DmsKVfSetrdwKe, but Abe shows the history of both at the above URL.  I consider this a "feature" not a "bug" though others may disagree  Grin

Found in a database with BTC, NMC, and no other currencies using:
Code:
create table dup_pubkey as
  select distinct pubkey_id
    from txout
    join block_tx using (tx_id)
    join chain_candidate cc using (block_id)
   group by pubkey_id
  having count(distinct cc.chain_id) > 1;
select pubkey_hash from dup_pubkey join pubkey using (pubkey_id);

And used BlockExplorer's hashtoaddress function.  (Block Explorer is still good for some things... Cheesy)
412  Bitcoin / Development & Technical Discussion / Re: [update] ABE: AGPL Block Explorer on github on: June 27, 2011, 07:26:13 PM
Announced under Project Development: http://forum.bitcoin.org/index.php?topic=22785.0
413  Bitcoin / Project Development / [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff on: June 26, 2011, 02:00:58 PM
!!! Announcing Abe, the open-source block chain browser !!!

Newbies post here: https://bitcointalk.org/index.php?topic=51139.0

While theymos' Bitcoin Block Explorer has served us well, there are benefits that can only be had by an open-source version of this critical Bitcoin infrastructure.

  • Privacy: you can view information without revealing your interest in it.
  • Extensibility: you can add features that you want.
  • Trust: you can audit the source code.
  • Reliability: you can run it on your own server free of charge.

Abe provides much of Block Explorer's interface, including the list of recent blocks, a search tool, and detailed block, transaction, and address history pages.  Abe can also present multiple currencies such as Bitcoin, Namecoin, Tenebrix, and whatever FooCoin tomorrow may bring.  Abe lets you page back and forth in the block list and presents some new statistics like Average Coin Age.

Abe's interactive performance approaches Block Explorer's, though it is untested under BBE loads.  Abe supports a subset of Block Explorer's API.

Source code on Github: https://github.com/bitcoin-abe/bitcoin-abe
Demonstration site: http://abe.john-edwin-tobey.org/ (a 512MB VPS, can't handle heavy loads)
Requirements: Python and an RDBMS; tested with PostgreSQL, SQLite, MySQL, Oracle, ODBC, and DB2.
Donations: 1PWC7PNHL1SgvZaN7xEtygenKjWobWsCuf (BTC) and NJ3MSELK1cWnqUa6xhF2wUYAnz3RSrWXcK (NMC).

Enjoy!

December 6, 2012: Version 0.7.2 released.
August 31, 2011: Version 0.6 released.
August 16, 2011: Version 0.5 released.
July 15, 2011: See changes since July 4.
414  Bitcoin / Bitcoin Technical Support / Re: help with wallet.dat on: June 24, 2011, 01:13:33 AM
Thnks for the response , I manage to find the public and key pair. In regards to the script you posted what is the significance of the numbers "0776657273696f6e
 027d00000a64656661756c746b657941" Is that the transaction hash?

I guess.. 07: length of string that follows; 76657273696f6e: ASCII for "version"; 027d0000: little-endian version number 32002 (0.3.20.2); 0a: length of string that follows; 64656661756c746b6579: ASCII for "defaultkey"; 41: length of public key that follows.
415  Bitcoin / Development & Technical Discussion / Re: [update] ABE: AGPL Block Explorer on github on: June 23, 2011, 09:20:35 PM
Very nice!
Thanks!

Quote
Do you plan on implementing the json return option for queries?
Do you mean the "raw" block and transaction pages?  It's on the to-do, but not near the top.  Patches are welcome.  Smiley
416  Bitcoin / Bitcoin Technical Support / Re: help with wallet.dat on: June 23, 2011, 09:17:58 PM
I don't mean to reraise a dead thread. I can't find the keypair using this method.  0xfd doesn't exist in my wallet. Any tools to extract the key pair for a transaction?

Does any string of 65 bytes starting with 04 occur more than once?  Can you convert it to an address (e.g., with Block Explorer) and see a balance belonging to that address?  If you can get past these steps, you may have a chance.
417  Bitcoin / Bitcoin Discussion / Re: Silverfuturist on bitcoin. on: June 22, 2011, 03:03:48 AM
I didnt watch the video, but bitcoin has parts of a ponzi scheme, namely the graph of money creation.

why the rate of money creation would be the biggest at the beginning, when it was obvious there would be no demand, is beyond me. money creation should have started slowly, then picked up when wider adoption was expected for a couple of years and then decline.
when other monetary systems were started they didnt distribute 10 mil each to 100 people.
the money supply was increased when the currency got more widely used (for example: more countries were added to the eurozone).

now I understand you can't manage this in the same way with bitcoin because there is no central authority, but the graph should have been shaped differently.

Yes.  The block chain concept is brilliant, the code is very good, but the BTC "monetary policy" leaves much to be desired.  This is not a criticism of Satoshi, whose brilliant work leaves us a foundation to build upon.

My hope is to make it easy for anyone with an economic theory (not just C++ programmers) to start a block chain with a new policy, get it mined at high difficulty (leveraging the Bitcoin network), and promote the new currency.  To this end, I am developing Another Block Explorer with a focus on multiple currencies.  I would hope someone (perhaps I) creates an open-source exchange for Bitcoin-like currencies, a client with multi-currency support (including genesis block creation and pluggable block acceptance rules), a set of configurable policy modules, and a "currency designer" application.

Over the ages, kings and banks have tried many monetary policies with varying success.  I believe the path to a better one lies through experiment and a wealth of options.
418  Bitcoin / Project Development / Re: [Bounty] Publish result of Days Destroyed calculation on: June 22, 2011, 01:19:50 AM
I'm in for 3BTC if it tracks BitcoinDays over time and updates with each block. Good for a month.

Not sure if I made 1 month or you paid out already, but ABE now does this.  https://github.com/jtobey/bitcoin-abe  Here is your query:

select cc.block_height, b.block_nTime, 100 * (1 - b.block_satoshi_seconds / b.block_total_ss) percent_btcdd from chain_candidate cc join block b using (block_id) where cc.chain_id = 1 and cc.in_longest = 1 and b.block_total_ss > 0 order by cc.block_height;

About to be on http://john-edwin-tobey.org:2750/chain/Bitcoin/ as soon as the schema upgrade completes.  Though that site is "development" and I know of no "production" ABE site.
419  Bitcoin / Bitcoin Discussion / Re: Silverfuturist on bitcoin. on: June 15, 2011, 03:02:15 AM
http://www.youtube.com/watch?v=OgYamdGLuA4

Quite sad that he is also going for the Ponzi scheme thing... actually it is an insult to all the early adopters, who are entrepreneurs!

Well, I don't think he understands the beauty of the block chain.  The Bitcoin "bag holder" still has private keys and proof of a lot of work attesting to their value.

But the early Bitcoin adopters got too much.  Not "too much" in the sense of "unfair" nor in the sense of "I want them" or "it can't work", but enough to plague the currency with exchange rate volatility for the foreseeable future.  Perhaps even enough to limit the exchange value's upside.
420  Bitcoin / Development & Technical Discussion / [update] ABE: AGPL Block Explorer on github on: June 13, 2011, 04:32:03 AM
Edit: latest features & discussion: https://bitcointalk.org/index.php?topic=22785

Tired of waiting for theymos to release the original Block Explorer code, just before khal's Namecoin explorer announcement, I went and started my own based on Gavin's bitcointools.

Code: https://github.com/jtobey/bitcoin-abe
Service: http://abe.john-edwin-tobey.org/ and anywhere you host it

June 26 updates in orange
Features:
  • free and open source (GNU Affero General Public License)
  • block, transaction, and address history pages similar to http://blockexplorer.com/
  • block/tx/address search box
  • does not require patching bitcoind (uses slightly modified bitcointools, not getblock)
  • low block delay: often shows blocks not yet on http://blockexplorer.com/
  • chain page can list more than the 20 newest blocks
  • can handle several chains in the same database (Bitcoin, Testnet, Namecoin, ...)
  • real-time Bitcoin Days Destroyed and Average Coin Age data
  • written in Python and portable SQL, tested with PostgreSQL and Sqlite

Coming later, maybe:

Enjoy!
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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!