error
|
|
June 29, 2011, 02:13:32 AM |
|
Oh, I don't need a permissive license, I'd be happy with GPL.
|
3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
|
|
|
kseistrup
|
|
June 29, 2011, 09:04:37 AM |
|
Following this thread…
|
Klaus Alexander Seistrup
|
|
|
just_someguy
|
|
June 29, 2011, 11:41:58 AM |
|
How big is the database + indexes at the moment?
|
|
|
|
John Tobey (OP)
|
|
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.
|
|
|
|
John Tobey (OP)
|
|
June 29, 2011, 04:04:30 PM |
|
Oh, I don't need a permissive license, I'd be happy with GPL. 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.
|
|
|
|
error
|
|
June 29, 2011, 05:13:51 PM |
|
Oh, I don't need a permissive license, I'd be happy with GPL. 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. It's the front end stuff (HTML, CSS, images, etc.) that I really want to customize.
|
3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
|
|
|
John Tobey (OP)
|
|
June 29, 2011, 06:24:23 PM Last edit: June 29, 2011, 07:34:10 PM by John Tobey |
|
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.
|
|
|
|
n0m4d
Member
Offline
Activity: 70
Merit: 10
|
|
June 29, 2011, 07:01:48 PM |
|
Donated and following.
|
|
|
|
Confucius
Newbie
Offline
Activity: 46
Merit: 0
|
|
June 30, 2011, 03:13:02 AM |
|
Great to see more open source efforts! Will be using your site for now on
|
|
|
|
John Tobey (OP)
|
|
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
|
|
|
|
John Tobey (OP)
|
|
June 30, 2011, 05:50:48 PM Last edit: June 30, 2011, 06:01:06 PM by John Tobey |
|
error, I look forward to your GPL competitor. 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.
|
|
|
|
becoin
Legendary
Offline
Activity: 3431
Merit: 1233
|
|
July 02, 2011, 01:27:51 PM |
|
Abe or another competing open source, it is a much needed service. Following this thread...
|
|
|
|
lemonginger
Full Member
Offline
Activity: 210
Merit: 100
firstbits: 121vnq
|
|
July 02, 2011, 05:35:04 PM |
|
much thanks to OP for the open source alternative! Happy to see this flourish and watch the closed source alternatives die off (they were useful for awhile, but really think that where open source alternatives can exist they should)
donation sent
|
|
|
|
Ryland R. Taylor-Almanza
Legendary
Offline
Activity: 882
Merit: 1001
|
|
July 02, 2011, 07:23:54 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
I could donate some space on my 4GB linode for you if you'd like.
|
|
|
|
.BITSLER. | ▄███ ▄████▀ ▄████▀ ▄████▀ ▄██▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▄████▄ ▄████▄ ▀████▄ █████ ██████ ██████ █████ ▀████▄ ▀████▀ ▀████▀ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄ ▄████▀ ▀████▄▄████▀ ▀██████▀ ▀▀▀▀ | | ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ ▄▄▄▄▀▀▀▀ ▄▄█▄▄ ▀▀▄ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▀▄▄ ▀█▀▀ ▄ ▀████ ▀▀▄ █ █▄ ▀▄ ▀████ ▀▀ ▄██▄ ▀▀▄ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ ▀▀ ▀▄▄ ▀████ ▄▄▄▀▀▀ █ █ ▄ ▀▄ ▄▄▄▀▀▀ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ █ ▄▄ ███ ▀██ █ ▀▀ █ █ ███ ▀██ █ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▄ █ ▀▀ █ ▀▀▄ ███▄ █ ▄▄ █ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▄ █ ▀▀▄▄▄▀▀▀ ▄▄▄▄▄▄▄▄▄▄▄█▄▄▀▀▀▀ | | | | ▄▄▄██████▄▄▄ ▄▄████████████████▄▄ ▄██████▀▀▀▀▀▀▀▀▀▀██████▄ ▄ ▄█████▀ ▀█████▄ ██▄▄ █████▀ ▄ ▀█████ ████████ ▄██ █████ ████████▄ ███▀ ████▄ █████████▀▀ ▄███▀ █████ █▀▀▀ █████ █████ ▄▄▄ ████ █████ █████ ▀▀ ████▀ █████ █████ █████▄ ▄█████ ▀█████▄ ▄█████▀ ▀██████▄▄▄▄▄▄▄▄▄▄██████▀ ▀▀████████████████▀▀ ▀▀▀██████▀▀▀ | | | | ▄▄▄███████▄▄▄ ▄█▀▀▀ ▄▄▄▄▄▄▄ ▀▀▀█▄ █▀▀ ▄█████████████▄ ▀▀█ █▀▀ ███████████████████ ▀▀█ █▀ ███████████████████████ ▀█ █▀ ███████████████▀▀ ███████ ▀█ ▄█▀ ██████████████▀ ▀█████ ▀█▄ ███ ███████████▀▀ ▀▀██ ███ ███ ███████▀▀ ███ ███ ▀▀▀▀ ███ ▀██▄ ▄██▀ ▀█▄ ▀▀ █▄ █▄▄▄▄▄▄▄▄▄█ █▄ ▀█████████▀ ▀█▄ ▀▀▀▀▀▀▀ ▀▀█▄▄ ▄▄▄ ▀▀█████ | | | [ | | ] |
|
|
|
John Tobey (OP)
|
|
July 02, 2011, 11:40:31 PM |
|
I could donate some space on my 4GB linode for you if you'd like.
I'd appreciate it. PM or email me with details.
|
|
|
|
thallium205
Newbie
Offline
Activity: 42
Merit: 0
|
|
July 03, 2011, 03:05:12 AM |
|
I have to ask - how in the heck did you acquire enough knowledge about the block chain in order to do this? I have been looking everywhere and can't seem to find much about it.
|
|
|
|
John Tobey (OP)
|
|
July 03, 2011, 01:08:54 PM |
|
I have to ask - how in the heck did you acquire enough knowledge about the block chain in order to do this? I have been looking everywhere and can't seem to find much about it.
The block chain is just a sequence of "blocks" whose format is described here: https://en.bitcoin.it/wiki/Protocol_specificationI figured out that the blk0001.dat file is just a concatenation of blocks in wire format, each preceded by two four-byte words: the chain's "magic value" and the block length. I probably checked the C++ code to verify this. The Bitcointools project contains code to parse the blocks. Abe uses that code, only slightly modified to obtain each transaction's hash.
|
|
|
|
k
|
|
July 03, 2011, 01:31:48 PM |
|
excellent work. Just sent a small tip.
I really like the extra stats Average Coin Age, Cumulative Coin-days Destroyed etc. I don't know how difficult it would be but something like the nethash query on BBE which produces a csv would be great - or if it was something similar (i.e. giving a csv of average stats for 100 blocks or whatever) but gave stats for Average Coin Age, Cumulative Coin-days Destroyed, average tx fee that would be super.
keep up the good work. will be following with interest.
|
|
|
|
John Tobey (OP)
|
|
July 05, 2011, 04:57:35 AM |
|
AGPL? Shit. Guess I'll go back to coding my own.
I'm curious what your main complaints are about AGPL? It 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! 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. I'm not concerned about publishing any changes I make that fix bugs or add features; these I would just send in a pull request anyway even if it wasn't AGPL. But the license requires me to have a whole source code publishing infrastructure if I change a single byte, which is unavoidable. This is now automated, as described in README.txt: The Affero General Public License requires whoever modifies this code and runs it on a server to make the modified code available to users of the server. You may do this by forking the Github project (if you received this code from Github.com), keeping your modifications in the new project, and linking to it in the page template. Or you may wish to satisfy the requirement by simply passing "--auto-agpl" to "abe.py". This option makes all files in the directory containing abe.py and its subdirectories available to clients. See the comments in abe.conf for more information.
|
|
|
|
gentakin
Member
Offline
Activity: 98
Merit: 10
|
|
July 05, 2011, 08:47:45 PM |
|
|
1HNjbHnpu7S3UUNMF6J9yWTD597LgtUCxb
|
|
|
|