Bitcoin Forum
December 04, 2016, 12:04:58 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   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 175578 times)
ddirt
Jr. Member
*
Offline Offline

Activity: 57


View Profile
January 27, 2014, 11:00:08 PM
 #601

Does Abe work with coins that use transaction messaging?

I'm trying to set this up with SolarCoin and hitting the same "overflowerror: Python int too large to convert to C long" that others seemed to be getting with coins using transaction messaging. Anyone get past that problem yet?
1480809898
Hero Member
*
Offline Offline

Posts: 1480809898

View Profile Personal Message (Offline)

Ignore
1480809898
Reply with quote  #2

1480809898
Report to moderator
1480809898
Hero Member
*
Offline Offline

Posts: 1480809898

View Profile Personal Message (Offline)

Ignore
1480809898
Reply with quote  #2

1480809898
Report to moderator
1480809898
Hero Member
*
Offline Offline

Posts: 1480809898

View Profile Personal Message (Offline)

Ignore
1480809898
Reply with quote  #2

1480809898
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480809898
Hero Member
*
Offline Offline

Posts: 1480809898

View Profile Personal Message (Offline)

Ignore
1480809898
Reply with quote  #2

1480809898
Report to moderator
1480809898
Hero Member
*
Offline Offline

Posts: 1480809898

View Profile Personal Message (Offline)

Ignore
1480809898
Reply with quote  #2

1480809898
Report to moderator
1480809898
Hero Member
*
Offline Offline

Posts: 1480809898

View Profile Personal Message (Offline)

Ignore
1480809898
Reply with quote  #2

1480809898
Report to moderator
wing_hk
Full Member
***
Offline Offline

Activity: 182


View Profile
January 28, 2014, 03:15:16 AM
 #602

The original Abe UI seems too simple, any fork or branch with good looking? (any fork can show latest X blocks?)  Sad

I can only find one fork done for catcoin
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
January 28, 2014, 08:17:29 AM
 #603

The original Abe UI seems too simple, any fork or branch with good looking? (any fork can show latest X blocks?)  Sad

I can only find one fork done for catcoin
then use it, UI is html + template stuff, so you can just port it to your abe.

[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
batmaninpink
Newbie
*
Offline Offline

Activity: 16


View Profile
January 28, 2014, 11:39:58 AM
 #604


Does Abe work with coins that use transaction messaging?

I'm trying to set this up with SolarCoin and hitting the same "overflowerror: Python int too large to convert to C long" that others seemed to be getting with coins using transaction messaging. Anyone get past that problem yet?

You are probably looking for this:

http://nopaste.info/108a9a1e99_nl.html
ddirt
Jr. Member
*
Offline Offline

Activity: 57


View Profile
January 28, 2014, 12:32:27 PM
 #605


Does Abe work with coins that use transaction messaging?

I'm trying to set this up with SolarCoin and hitting the same "overflowerror: Python int too large to convert to C long" that others seemed to be getting with coins using transaction messaging. Anyone get past that problem yet?

You are probably looking for this:

http://nopaste.info/108a9a1e99_nl.html

Wow thank you! That is exactly what I needed! No more Overflow error  Smiley
0btc
Sr. Member
****
Offline Offline

Activity: 251

0x0a.nl operator


View Profile WWW
January 28, 2014, 03:22:31 PM
 #606

Please forgive my ignorance and other negative qualities: what is the current status of the ABE license, both officially and pragmatically?
It seems that there has been no discussion about it for at least a year. In addition, my brain sadly goes cross-eyed when trying to interpret legalese, therefore I cannot trust my interpretation of AGPL. I think I understand that all will be fine if I make sure I publish all the used and modified code, but I do not understand how far that goes.

Tobey stated once: "Now, it gets a little hairy if you offer a proprietary service based on Abe's tables, and it needs a running Abe to keep those tables up to date." - but what constitutes 'a proprietary service' in this case?

There are a couple altcoins for which I'm running p2pool nodes that I would also like to set up a block explorer for; the nodes collect 0.9% fee, and would benefit from a working block explorer (as it now links to non-existent pages for user addresses). The block explorer would link to the nodes and to the overarching p2pool hub, logo and all. It feels proprietarish, and I feel that I shouldn't go for it as long as I don't properly understand the license. Any insight would be much appreciated!

Again apologies for the idiocy - had I found a LICENSE.interpretationfordummies.txt, I would not have bothered thee Smiley

p2p.0x0a.nl for all your Cryptographic Anomaly, Cypherfunks, FryCoin, GameCredits, Gulden, PenguinCoin, and TittieCoin p2pool nodes! Err.. I mean needs! .. Both.
mapleshadow
Member
**
Offline Offline

Activity: 74


View Profile
January 29, 2014, 06:59:49 PM
 #607

ddl_implicit_commit=true
create_table_epilogue=''
Abe/DataStore.py:526: Warning: Converting column 'a' from VARCHAR to TEXT
  store.cursor.execute(stmt)
Abe/DataStore.py:526: Warning: Converting column 'b' from VARCHAR to TEXT
  store.cursor.execute(stmt)
max_varchar=4294967295
clob_type=LONGTEXT
Abe/DataStore.py:526: Warning: Converting column 'test_varbit' from VARCHAR to TEXT
  store.cursor.execute(stmt)
binary_type=hex
int_type=int
Created silly table abe_dual
sequence_type=mysql
limit_style=native
Abe/DataStore.py:526: Warning: Converting column 'txout_scriptPubKey' from VARCHAR to TEXT
  store.cursor.execute(stmt)
Abe/DataStore.py:526: Warning: Converting column 'txin_scriptSig' from VARCHAR to TEXT
  store.cursor.execute(stmt)
Opened /home/mapleshadow/.chncoin/blk0001.dat
block_tx 1 1
block_tx 2 2
block_tx 3 3
Siggi84
Full Member
***
Offline Offline

Activity: 128


View Profile
January 30, 2014, 05:51:09 PM
 #608

Hello community,

I need your help once.

I try all the time to set up the Abe with the CacheCoin. Only I get it back, unfortunately not.

This is my abe.conf

Code:
dbtype MySQLdb
connect-args {"user":"abe","db":"abe","passwd":"xxxxx"}
port 333
host 84.200.24.190

datadir += [{
  "dirname" : "/root/.cachecoin",
  "chain": "Cachecoin",
  "code3": "CAC",
  "address_version": "u001c",
  "magic": "u00d9u00e6u00e7u00e5"
}]

If I want to make the run now

Code:
python -m Abe.abe --config abe-smc.conf --commit-bytes 100000 --no-serve

If the following error...

Code:
failed to load /root/.cachecoin/bitcoin.conf: [Errno 2] No such file or directory: u'/root/.cachecoin/bitcoin.conf'
catch_up_rpc: abort
Opened /root/.cachecoin/blk0001.dat
Exception at 72056512947683466
Failed to catch up {'blkfile_offset': 0, 'blkfile_number': 1, 'chain_id': Decimal('2'), 'loader': None, 'dirname': u'/root/.cachecoin', 'id': 4L}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2623, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2881, in catch_up_dir
    store.import_blkdat(dircfg, ds, blkfile['name'])
  File "Abe/DataStore.py", line 3008, in import_blkdat
    b = store.parse_block(ds, chain_id, magic, length)
  File "Abe/DataStore.py", line 3039, in parse_block
    d['transactions'].append(deserialize.parse_Transaction(ds))
  File "Abe/deserialize.py", line 88, in parse_Transaction
    d['txIn'].append(parse_TxIn(vds))
  File "Abe/deserialize.py", line 46, in parse_TxIn
    d['sequence'] = vds.read_uint32()
  File "Abe/BCDataStream.py", line 71, in read_uint32
    def read_uint32 (self): return self._read_num('<I')
  File "Abe/BCDataStream.py", line 110, in _read_num
    (i,) = struct.unpack_from(format, self.input, self.read_cursor)
error: unpack_from requires a buffer of at least 4 bytes

Can someone help me here?

All Scypt Coins I get to run, but that's here so scrypt_jane?

Thank you in advance for your help!
diwskwmx
Jr. Member
*
Offline Offline

Activity: 39


View Profile
February 07, 2014, 04:13:52 PM
 #609

I'm trying to set this up for an alt coin and I'm having trouble with the magic.

Can anyone give me some info on how to find this value?

batmaninpink
Newbie
*
Offline Offline

Activity: 16


View Profile
February 08, 2014, 07:02:32 PM
 #610

git clone <whatevercoin>.git
cd <whatevercoin>/src
grep pchMessageStart *


MeatPopsicle
Jr. Member
*
Offline Offline

Activity: 48


View Profile
February 10, 2014, 02:48:34 AM
 #611

Stupid question, but how do you keep it up to date? Surely there's a better way then having to continuously run it with --no-serve.
molecular
Donator
Legendary
*
Offline Offline

Activity: 2128



View Profile
February 11, 2014, 06:12:28 PM
 #612

Hello everyone,

after a long while I'm back using abe. Want to make a blockexplorer for Auroracoin.

I configured like this initially (copied from litecoin):

Code:
datadir += [{
 "dirname" : "/home/aur/.AuroraCoin",
 "chain" : "AuroraCoin",
 "code3" : "AUR",
 "address_version" : "u0030",
 "magic" : "u00fcu00c1u00b7u00dc"
}]

Problem is addresses have wrong format, like this

Code:
6KZU2wRn17sLrxNryFK6CG8KUvBdpArbD8QxwHDW

instead of like this:

Code:
AL8vRddTujqaFJQ3feZpg1jYHz6Jv2Rkwc

I'm pretty sure the magic is correct. From auroracoin sources, main.cpp:

Code:
       pchMessageStart[0] = 0xfc;
        pchMessageStart[1] = 0xc1;
        pchMessageStart[2] = 0xb7;
        pchMessageStart[3] = 0xdc;

So the "magic" is correct, right?

Don't know what to set address_version to, though. People have been pointing me to base58.h:

Code:
       
PUBKEY_ADDRESS = 23,
SCRIPT_ADDRESS = 5,
PUBKEY_ADDRESS_TEST = 111,
SCRIPT_ADDRESS_TEST = 196,

What value for address_version and magic do I need to use in order for the addresses to start with the correct prefix?

Am I missing something else in the config?


scratch the above, I got it figured out:

Code:
[/datadir += [{
 "dirname" : "/home/aur/.AuroraCoin",
 "chain" : "AuroraCoin",
 "code3" : "AUR",
 "address_version" : "\u0017",
 "magic" : "\u00fb\u00c0\u00b6\u00db"
}

(forgot the slashes before the 'u's in JSON hex encoding (web-pages seem to eat these), needed to subtract one from each magic byte and got the address_versoin wrong (it's 23, not 30 for AUR)

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
CuriousCarl
Newbie
*
Offline Offline

Activity: 10


View Profile
February 16, 2014, 11:23:13 AM
 #613


I have set up Abe and it's now indexing all the transactions into a PostgreSQL database. Would it be easy to query the database for e.g. the top 10 largest unspent outputs?

I know SQL but I don't know the details of the Abe schema yet, that's where I'm looking for some guidance.
befree8
Member
**
Offline Offline

Activity: 100


View Profile
February 20, 2014, 03:28:12 PM
 #614

I am working on an CASHCoin Abe, seems didn't work. Is that something wrong?

http://115.29.51.156:7000/


My abe-my.conf:

dbtype MySQLdb
connect-args {"user":"root","db":"abe004","passwd":"xxxx"}

port 7000
host 115.29.51.156

datadir = [{
        "dirname": "/root/.Cash/",
        "chain": "CashCoin",
    "code3": "CAS",
    "address_version":"\u0022",
         "magic" : "\u00fc\u00d9\u00b7\u00dd"
   }]
default-loader=blkfile
binary-type=binary

John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
February 20, 2014, 06:49:03 PM
 #615

I've failed to receive topic reply email notifications since mid-August.  I think Yahoo! Mail classified them as spam, but not anymore.  If you'd like a reply to a post in the last six months, please repost it or PM me.  Sorry for the trouble.  (It's been years since I evaluated free spam filters... perhaps I should again?)

I am working on an CASHCoin Abe, seems didn't work. Is that something wrong?

http://115.29.51.156:7000/

When Abe loads a chain into the database but shows only the genesis block, the chain probably computes hashPrev using an algorithm other than double-SHA256.  NovaCoin does this, and I recently added support for it (thanks to Drak's sponsorship).  However, there is not yet a generic way to specify this property.  It will take some code changes.

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

Activity: 84

Novahash Pools


View Profile WWW
February 22, 2014, 06:05:48 PM
 #616

Hi,

I am working on Crapples block explorer and get the following error upon running python -m Abe.abe --config abe.conf --commit-bytes 100000 --no-serve

Code:
Exception at 103
Failed to catch up {'blkfile_number': 1, 'dirname': u'/root/.crapples', 'chain_id': Decimal('8'), 'id': 2L, 'blkfile_offset': 0}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2422, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2475, in catch_up_dir
    store.import_blkdat(dircfg, ds, filename[0])
  File "Abe/DataStore.py", line 2599, in import_blkdat
    store.import_block(b, chain_ids = chain_ids)
  File "Abe/DataStore.py", line 1675, in import_block
    raise MerkleRootMismatch(b['hash'], tx_hash_array)
MerkleRootMismatch: Block header Merkle root does not match its transactions. block hash=e3328341fb132cdbd261ba75472d8e85a5db48b987bc8f13ea244fd470040000

my abe.conf:

Code:
dbtype MySQLdb
connect-args {"user":"root","db":"cheblockexplorer","passwd":"*****"}
port 2750
host 1.2.3.4
upgrade
datadir = [{
        "dirname": "/root/.crapples",
        "chain":   "Crapples",
        "code3":   "CHE",
        "address_version": "\u0088" }]

Could some one help please?




John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
February 24, 2014, 12:28:04 AM
 #617

Hi,

I am working on Crapples block explorer and get the following error upon running python -m Abe.abe --config abe.conf --commit-bytes 100000 --no-serve

Code:
Exception at 103
Failed to catch up {'blkfile_number': 1, 'dirname': u'/root/.crapples', 'chain_id': Decimal('8'), 'id': 2L, 'blkfile_offset': 0}
Traceback (most recent call last):
  File "Abe/DataStore.py", line 2422, in catch_up
    store.catch_up_dir(dircfg)
  File "Abe/DataStore.py", line 2475, in catch_up_dir
    store.import_blkdat(dircfg, ds, filename[0])
  File "Abe/DataStore.py", line 2599, in import_blkdat
    store.import_block(b, chain_ids = chain_ids)
  File "Abe/DataStore.py", line 1675, in import_block
    raise MerkleRootMismatch(b['hash'], tx_hash_array)
MerkleRootMismatch: Block header Merkle root does not match its transactions. block hash=e3328341fb132cdbd261ba75472d8e85a5db48b987bc8f13ea244fd470040000

Please see:
https://bitcointalk.org/index.php?topic=22785.msg750417#msg750417

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

Activity: 427



View Profile WWW
February 24, 2014, 11:40:53 AM
 #618

If you'd like a reply to a post in the last six months, please repost it or PM me. 

I think these posts are worth looking at:

https://bitcointalk.org/index.php?topic=22785.msg3394513#msg3394513
https://bitcointalk.org/index.php?topic=22785.msg3416641#msg3416641

Koop en verkoop snel en veilig bitcoins via iDeal op Bitonic.nl
John Tobey
Hero Member
*****
Offline Offline

Activity: 481



View Profile WWW
February 24, 2014, 02:14:49 PM
 #619


I see 985c6346 tries to fix this.  Any problem after that commit?

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

Activity: 238


View Profile
February 24, 2014, 11:29:29 PM
 #620

I'm trying to set up an abe instance for a coin that is primarily proof-of-stake.  I see there were mods for NVC and Cash, do I need to add something similar? Any special config required for proof-of stake?  In the read-me i noticed that the web interface doesn't understand proof of stake transactions.  Since this coin is going to be nearly all proof of stake will abe even work? 

Thanks for any advice you can give.
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!