Bitcoin Forum
December 05, 2016, 02:44:25 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 »
  Print  
Author Topic: [ANNOUNCE] Abe 0.7: Open Source Block Explorer Knockoff  (Read 175638 times)
Greedi
Sr. Member
****
Offline Offline

Activity: 266


LitecoinTalk


View Profile WWW
September 15, 2012, 08:54:59 PM
 #341

no matter what i set in abe.conf
i get
/home/bitcoin-abe# python -m Abe.abe --config abe.conf
Abe initialized.
Listening on http://localhost:2750

and i've set the port to 5000
and ip to the local lan ip, since it only me that should access it
Have you removed the '#' from those lines?

Quote from: abe.conf
#port 2750
#host localhost

should become

Quote
port 5000
host XX.XX.XX.XX

Which version or Git commit do you use?


yes, i did remoce those Smiley

the newest one

LitecoinTalk - Sign up today!
Try out LTC-Aarade!
Buy Shares!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
September 16, 2012, 02:56:30 AM
 #342

the newest one

Well, with this abe.conf...
Code:
port 5000
host 127.0.0.1
dbtype = psycopg2
connect-args = { "database": "abe" }
datadir = /no/such/directory

I get this output as expected:
Code:
$ python -m Abe.abe --config abe.conf
Skipping datadir /no/such/directory: [Errno 2] No such file or directory: '/no/such/directory/blk0001.dat'
Abe initialized.
Listening on http://127.0.0.1:5000

What do you get when you put in your dbtype and connect-args?  What are your Python and OS versions?

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
Greedi
Sr. Member
****
Offline Offline

Activity: 266


LitecoinTalk


View Profile WWW
September 16, 2012, 04:50:57 PM
 #343

the newest one

Well, with this abe.conf...
Code:
port 5000
host 127.0.0.1
dbtype = psycopg2
connect-args = { "database": "abe" }
datadir = /no/such/directory

I get this output as expected:
Code:
$ python -m Abe.abe --config abe.conf
Skipping datadir /no/such/directory: [Errno 2] No such file or directory: '/no/such/directory/blk0001.dat'
Abe initialized.
Listening on http://127.0.0.1:5000

What do you get when you put in your dbtype and connect-args?  What are your Python and OS versions?


oh i'm sorry, i just saw i've edited on the wrong server, i have 2 server running and testing abe on, and i've edited the conf on wrong serv as i tested on, all works fine Smiley

is there a way to edit the limit on how many records there can be shown?

"I'm sorry, this address has too many records to display."

LitecoinTalk - Sign up today!
Try out LTC-Aarade!
Buy Shares!
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
September 16, 2012, 06:45:21 PM
 #344

is there a way to edit the limit on how many records there can be shown?

"I'm sorry, this address has too many records to display."

# History pages of addresses with more than this many receipts will be
# not be shown.  This protects against denial of service.  Use -1 for
# no limit.
#address-history-rows-max 1000

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
Greedi
Sr. Member
****
Offline Offline

Activity: 266


LitecoinTalk


View Profile WWW
September 16, 2012, 07:06:29 PM
 #345

is there a way to edit the limit on how many records there can be shown?

"I'm sorry, this address has too many records to display."

# History pages of addresses with more than this many receipts will be
# not be shown.  This protects against denial of service.  Use -1 for
# no limit.
#address-history-rows-max 1000


thank you very much Smiley
if you have a LTC donation addy, i'll like to donate in LTC; since i do not use BTC Smiley

LitecoinTalk - Sign up today!
Try out LTC-Aarade!
Buy Shares!
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
September 17, 2012, 03:02:57 AM
 #346

thank you very much Smiley
if you have a LTC donation addy, i'll like to donate in LTC; since i do not use BTC Smiley

Much appreciated.  Smiley  Assuming one can transfer keys from BTC/NMC to LTC clients, you could plug either of my donation addrs into /q/translate_address, and I can get the coins when I need them.  I'll see the donation on any LTC-enabled Abe server automatically when I look up my other donations.  Or if you want to donate a *lot* of LTC, I'd better go download it... Wink

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
September 17, 2012, 05:18:04 PM
 #347

On the charting branch there is /q/speed giving data in CSV format for network speed charts like Sipa's.

I got data from: http://localhost:2750/chain/Bitcoin/q/speed/1d,3d,7d,14d,30d/1d/2009-01-04

And used LibreOffice Calc to make:


Looking forward to seeing how my favorite alt chains look...

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
grimd34th
Member
**
Offline Offline

Activity: 89


NOPE


View Profile
October 18, 2012, 10:05:49 PM
 #348

fresh clone, getting this
Code:
block_tx 1 307
block_tx 1 308
Failed to catch up {'blkfile_number': 1, 'dirname': '/home/REDACTED/.bitcoin', 'chain_id': None, 'id': 1L, 'blkfile_offset': 0}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2281, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2315, in catch_up_dir
    store.import_blkdat(dircfg, ds)
  File "Abe/DataStore.py", line 2437, in import_blkdat
    store.import_block(b, chain_ids = chain_ids)
  File "Abe/DataStore.py", line 1712, in import_block
    if store.is_descended_from(block_id, int(oblock_id)):
  File "Abe/DataStore.py", line 1557, in is_descended_from
    block = store._load_block(block_id)
  File "Abe/DataStore.py", line 1537, in _load_block
    block_id, int(height),
TypeError: int() argument must be a string or a number, not 'NoneType'
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
October 19, 2012, 05:34:44 PM
 #349

Code:
  File "Abe/DataStore.py", line 1537, in _load_block
    block_id, int(height),
TypeError: int() argument must be a string or a number, not 'NoneType'

Good, good bug report.  It made me find lots of bugs related to loading blocks out of order.  With a fresh copy of the block chain, I don't think this will happen, because bitcoind writes the blocks in order and omits orphan blocks.  Anyway, my fixes committed today may get you past the error.

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
grimd34th
Member
**
Offline Offline

Activity: 89


NOPE


View Profile
October 19, 2012, 08:53:25 PM
 #350

MOAR BOAR HAS MOAR
Code:
block_tx 1 308
commit
Failed to catch up {'blkfile_number': 1, 'dirname': '/home/REDACTED/.bitcoin', 'chain_id': None, 'id': 1L, 'blkfile_offset': 110603}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2329, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2363, in catch_up_dir
    store.import_blkdat(dircfg, ds)
  File "Abe/DataStore.py", line 2485, in import_blkdat
    store.import_block(b, chain_ids = chain_ids)
  File "Abe/DataStore.py", line 1646, in import_block
    store.find_prev(hashPrev))
  File "Abe/DataStore.py", line 1600, in find_prev
    store.binout_int(chain_work),
  File "Abe/DataStore.py", line 429, in <lambda>
    store.binout_int = lambda x: int(binout_hex(x), 16)
TypeError: int() can't convert non-string with explicit base
mwally
Newbie
*
Offline Offline

Activity: 20


Long Nights, Impossible Odds...


View Profile WWW
October 22, 2012, 07:57:56 AM
 #351

I'm going to make a high-quality video series on installing and using Abe in a VM.

I can't guarantee how soon I can get it all done, but I'm going to make an effort.

I will update this post with links as the individual videos are complete.

Part 1: http://www.youtube.com/watch?v=UImXoukuF5Y
Part 2: http://www.youtube.com/watch?v=c6V70BdM7Sw

Gambling for WikiLeaks: http://www.bitcoingamer.com?donateto=1HB5XMLmzFVj8ALj6mfBsbifRoD4miY36v (http://www.bitcoingamer.com?donateto=1HB5XMLmzFVj8ALj6mfBsbifRoD4miY36v)
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
October 23, 2012, 01:59:28 AM
 #352


Nice!  Now I've added "privacy" to the top of the feature list. Smiley

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
October 23, 2012, 07:27:15 AM
 #353

MOAR BOAR HAS MOAR
Code:
block_tx 1 308
commit
Failed to catch up {'blkfile_number': 1, 'dirname': '/home/REDACTED/.bitcoin', 'chain_id': None, 'id': 1L, 'blkfile_offset': 110603}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2329, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2363, in catch_up_dir
    store.import_blkdat(dircfg, ds)
  File "Abe/DataStore.py", line 2485, in import_blkdat
    store.import_block(b, chain_ids = chain_ids)
  File "Abe/DataStore.py", line 1646, in import_block
    store.find_prev(hashPrev))
  File "Abe/DataStore.py", line 1600, in find_prev
    store.binout_int(chain_work),
  File "Abe/DataStore.py", line 429, in <lambda>
    store.binout_int = lambda x: int(binout_hex(x), 16)
TypeError: int() can't convert non-string with explicit base

Thanks.  I have fixed this error and many others related to out-of-sequence blockfiles.

I find it strange that the first block in your blockfile has 308 transactions.  That is the meaning of the "block_tx 1 308" message.  Perhaps bitcoind has become creative in the order in which it saves blocks to disk.  This may slow down Abe's initial load too much.  Please report the version of bitcoind that created your block file (and the currency if not BTC) so I can check.

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
becoin
Legendary
*
Offline Offline

Activity: 1428



View Profile
October 23, 2012, 08:10:08 AM
 #354

I'm going to make a high-quality video series on installing and using Abe in a VM.
It is much appreciated.

18sNtvUmtW6nrQXfYt1wvviGockSWxhPBX
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
October 23, 2012, 09:14:03 AM
 #355

I've released 0.7 to PyPI and GitHub.

Changes since 0.6:

  • Tell search engines not to crawl the whole chain.
  • Raw transaction output in JSON format.
  • Prevent denial of service via huge address history.
  • Optional short addresses resembling Firstbits.
  • Option to omit signature scripts for 20% space reduction.
  • HTTP API function: getdifficulty.
  • Work around failure to quit on Ctrl-C with SQLite.
  • Report line number of errors in config file.
  • Fixed bugs that cause wrong statistics when blocks arrive out of order.
  • Minor fixes and updates.

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
finway
Hero Member
*****
Offline Offline

Activity: 714


View Profile
October 23, 2012, 11:48:19 AM
 #356

Nice!  Thanks for your work.

grimd34th
Member
**
Offline Offline

Activity: 89


NOPE


View Profile
October 24, 2012, 07:09:39 PM
 #357

MOAR BOAR HAS MOAR
Code:
block_tx 1 308
commit
Failed to catch up {'blkfile_number': 1, 'dirname': '/home/REDACTED/.bitcoin', 'chain_id': None, 'id': 1L, 'blkfile_offset': 110603}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2329, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2363, in catch_up_dir
    store.import_blkdat(dircfg, ds)
  File "Abe/DataStore.py", line 2485, in import_blkdat
    store.import_block(b, chain_ids = chain_ids)
  File "Abe/DataStore.py", line 1646, in import_block
    store.find_prev(hashPrev))
  File "Abe/DataStore.py", line 1600, in find_prev
    store.binout_int(chain_work),
  File "Abe/DataStore.py", line 429, in <lambda>
    store.binout_int = lambda x: int(binout_hex(x), 16)
TypeError: int() can't convert non-string with explicit base

Thanks.  I have fixed this error and many others related to out-of-sequence blockfiles.

I find it strange that the first block in your blockfile has 308 transactions.  That is the meaning of the "block_tx 1 308" message.  Perhaps bitcoind has become creative in the order in which it saves blocks to disk.  This may slow down Abe's initial load too much.  Please report the version of bitcoind that created your block file (and the currency if not BTC) so I can check.

any time there is a new commit im on it
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
October 29, 2012, 07:33:55 PM
 #358

A maintenance release for upgraders: 0.7.1

* Fixed bug affecting database upgrade.

Credit: bitfoo

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
November 28, 2012, 08:39:35 AM
 #359

if i try to use it with i0coin or namecoin i get the following output:

Code:
Traceback (most recent call last):
  File "/usr/lib/python2.6/wsgiref/handlers.py", line 93, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/local/lib/python2.6/dist-packages/Abe/abe.py", line 205, in __call__
    handler(page)
  File "/usr/local/lib/python2.6/dist-packages/Abe/abe.py", line 459, in handle_chain
    ss = int(ss)
TypeError: int() argument must be a string or a number, not 'NoneType'

abe.conf:
Quote
datadir = [{
        "dirname": "/home/k1773r/.i0coin",
        "chain":   "I0Coin",
        "code3":   "I0C",
        "address_version": "\u0069" }]

datadir += [{
        "dirname": "/home/k1773r/.namecoin",
        "chain":   "NameCoin",
        "code3":   "NMC",
        "address_version": "\u0034" }]

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
November 28, 2012, 06:09:01 PM
 #360

Code:
Traceback (most recent call last):
  File "/usr/lib/python2.6/wsgiref/handlers.py", line 93, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/local/lib/python2.6/dist-packages/Abe/abe.py", line 205, in __call__
    handler(page)
  File "/usr/local/lib/python2.6/dist-packages/Abe/abe.py", line 459, in handle_chain
    ss = int(ss)
TypeError: int() argument must be a string or a number, not 'NoneType'

Thanks for the report.  I've replied on GitHub.  Unfortunately, I don't think it will be easy to debug, since it appears to depend on the order the blocks were loaded, and that in turn depends on network timings.  I will post when I have time to address this.  Meanwhile, I suggest using an older version of Abe, either v0.6 or the Sept. 15 commit (fc10484).

Can a change to the best-chain criteria protect against 51% to 90+% attacks without a hard fork?
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!