wing_hk
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 28, 2014, 03:15:16 AM |
|
The original Abe UI seems too simple, any fork or branch with good looking? (any fork can show latest X blocks?) ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) I can only find one fork done for catcoin
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 28, 2014, 08:17:29 AM |
|
The original Abe UI seems too simple, any fork or branch with good looking? (any fork can show latest X blocks?) ![Sad](https://bitcointalk.org/Smileys/default/sad.gif) 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]BTC/DVC/TRC/FRC: 1 K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM A K1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: N K1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: L Ki773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: E K1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: b K1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
|
|
|
batmaninpink
Newbie
Offline
Activity: 16
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 28, 2014, 11:39:58 AM |
|
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
Newbie
Offline
Activity: 57
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 28, 2014, 12:32:27 PM |
|
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.htmlWow thank you! That is exactly what I needed! No more Overflow error ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
0btc
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 28, 2014, 03:22:31 PM |
|
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](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
mapleshadow
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 79
Merit: 10
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 29, 2014, 06:59:49 PM |
|
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
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 30, 2014, 05:51:09 PM |
|
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 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 python -m Abe.abe --config abe-smc.conf --commit-bytes 100000 --no-serve If the following error... 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
Newbie
Offline
Activity: 39
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 07, 2014, 04:13:52 PM |
|
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
Activity: 16
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 08, 2014, 07:02:32 PM |
|
git clone <whatevercoin>.git cd <whatevercoin>/src grep pchMessageStart *
|
|
|
|
MeatPopsicle
Newbie
Offline
Activity: 49
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 10, 2014, 02:48:34 AM |
|
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
Activity: 2772
Merit: 1019
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 11, 2014, 06:12:28 PM Last edit: February 11, 2014, 06:28:44 PM by molecular |
|
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):
datadir += [{ "dirname" : "/home/aur/.AuroraCoin", "chain" : "AuroraCoin", "code3" : "AUR", "address_version" : "u0030", "magic" : "u00fcu00c1u00b7u00dc" }]
Problem is addresses have wrong format, like this
6KZU2wRn17sLrxNryFK6CG8KUvBdpArbD8QxwHDW
instead of like this:
AL8vRddTujqaFJQ3feZpg1jYHz6Jv2Rkwc
I'm pretty sure the magic is correct. From auroracoin sources, main.cpp:
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:
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: [/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
Activity: 10
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/smiley.gif) |
February 16, 2014, 11:23:13 AM |
|
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
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 20, 2014, 03:28:12 PM |
|
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
|
[ANN][ETZ]EtherZero:Ethereum Fork|Thousands of TPS|Instant pay|0 TX fee|
|
|
|
John Tobey (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 20, 2014, 06:49:03 PM |
|
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?) 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.
|
|
|
|
novahash
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 84
Merit: 10
Novahash Pools
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 22, 2014, 06:05:48 PM |
|
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 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: 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 (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2014, 12:28:04 AM |
|
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 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
|
|
|
|
Jouke
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2014, 11:40:53 AM |
|
|
Koop en verkoop snel en veilig bitcoins via iDeal op Bitonic.nl
|
|
|
John Tobey (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2014, 02:14:49 PM |
|
I see 985c6346 tries to fix this. Any problem after that commit?
|
|
|
|
artiface
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 24, 2014, 11:29:29 PM |
|
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.
|
|
|
|
John Tobey (OP)
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
February 25, 2014, 04:03:11 PM |
|
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? I would like to make these chain properties configurable. In the meantime, you can do as I did for NVC and Cash. 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? I've removed that bit from README. The block page now does say something about proof-of-stake, example: http://115.29.51.156:7703/chain/CashCoin/b/52705. Thanks.
|
|
|
|
|