xxTeDYxx
Member
Offline
Activity: 69
Merit: 10
|
|
October 21, 2014, 12:47:06 PM |
|
http://coinexplorer.org/q <API - Bitcoin-Abe I have questions How to add more coins to block explorer ?
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
October 21, 2014, 02:13:31 PM |
|
I'm not sure how your question relates to the API specifically but for a pedantically-correct answer - you can add as many as your host is capable of running merely by extending the list of datadir members, using Python's built-in += operator, e.g.: datadir += [ { "dirname": "/home/gjh/.beecoinv2", "chain": "BeeCoin2Chain", "policy": "X11PosChain", "code3": "BEE2", "address_version": "\u0005", "magic": "\u0070\u0035\u0022\u0005", "loader": "blkfile", # See the comments for default-loader below. "conf": "beecoinv2.conf" } ]
datadir += [ { "dirname": "/home/gjh/.chaincoin", "chain": "ChainCoin", "policy": "ChainCoin", "code3": "CHC", "address_version": "\u001c", "magic": "\u00a3\u00d2\u007a\u0003", "loader": "blkfile", # See the comments for default-loader below. "conf": "chaincoin.conf" } ]
Cheers, Graham
|
|
|
|
xxTeDYxx
Member
Offline
Activity: 69
Merit: 10
|
|
October 21, 2014, 02:53:41 PM |
|
I'm not sure how your question relates to the API specifically but for a pedantically-correct answer - you can add as many as your host is capable of running merely by extending the list of datadir members, using Python's built-in += operator, e.g.: datadir += [ { "dirname": "/home/gjh/.beecoinv2", "chain": "BeeCoin2Chain", "policy": "X11PosChain", "code3": "BEE2", "address_version": "\u0005", "magic": "\u0070\u0035\u0022\u0005", "loader": "blkfile", # See the comments for default-loader below. "conf": "beecoinv2.conf" } ]
datadir += [ { "dirname": "/home/gjh/.chaincoin", "chain": "ChainCoin", "policy": "ChainCoin", "code3": "CHC", "address_version": "\u001c", "magic": "\u00a3\u00d2\u007a\u0003", "loader": "blkfile", # See the comments for default-loader below. "conf": "chaincoin.conf" } ]
Cheers, Graham I have: dbtype MySQLdb connect-args {"user":"USER","db":"DATABASE","passwd":"PASSWORD"}
#port 2750 #host 5.39.87.211 upgrade
datadir += [ { "dirname": "/home/tedy/.plncoin", "policy": "Sha256Chain", "chain": "PLNcoin", "code3": "PLNc", "address_version": "\u0016", "magic": "\u00fb\u00c0\u00b6\u00db", "loader": "blkfile", "conf": "plncoin.conf" } ] datadir += [ { "dirname": "/home/tedy/.litecoin", "policy": "Sha256Chain", "chain": "LiteCoin", "code3": "LTC", "address_version": "\u0030", "magic": "\u00fb\u00c0\u00b6\u00db", "loader": "blkfile", "conf": "litecoin.conf" } ] binary-type=binary address-history-rows-max -1
And what wrong ?;o
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
October 21, 2014, 07:19:01 PM |
|
I have ... #host 5.39.87.211 upgrade
datadir = [ { "dirname": "/home/tedy/.plncoin", ... "conf": "plncoin.conf" } ] datadir += [ { "dirname": "/home/tedy/.litecoin", ... "conf": "litecoin.conf" } ] ...
And what wrong ?;o You need to first use ordinary "=" to bind a list to the variable, which can then be extended with "+=" --- it's got a "+" in it, so it has to have something to add to - (computers are even more pitilessly literal than children)Cheers Graham
|
|
|
|
xxTeDYxx
Member
Offline
Activity: 69
Merit: 10
|
|
October 22, 2014, 11:04:39 AM |
|
I have ... #host 5.39.87.211 upgrade
datadir = [ { "dirname": "/home/tedy/.plncoin", ... "conf": "plncoin.conf" } ] datadir += [ { "dirname": "/home/tedy/.litecoin", ... "conf": "litecoin.conf" } ] ...
And what wrong ?;o You need to first use ordinary "=" to bind a list to the variable, which can then be extended with "+=" --- it's got a "+" in it, so it has to have something to add to - (computers are even more pitilessly literal than children)Cheers Graham Dont work :< Im using abe with fastcgi, what i must do ?
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
October 22, 2014, 02:00:57 PM |
|
Dont work :< Im using abe with fastcgi, what i must do ?
Fix it yourself. Cheers, Graham
|
|
|
|
xxTeDYxx
Member
Offline
Activity: 69
Merit: 10
|
|
October 23, 2014, 03:48:58 AM |
|
[Thu Oct 23 00:18:46 2014] [warn] [client 66.249.65.47] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Oct 23 00:18:46 2014] [error] [client 66.249.65.47] Premature end of script headers: abe.fcgi [Thu Oct 23 01:48:27 2014] [warn] [client 66.249.65.47] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Oct 23 01:48:27 2014] [error] [client 66.249.65.47] Premature end of script headers: abe.fcgi [Thu Oct 23 05:03:11 2014] [warn] [client 24.45.136.160] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Oct 23 05:03:11 2014] [error] [client 24.45.136.160] Premature end of script headers: abe.fcgi [Thu Oct 23 05:03:15 2014] [warn] [client 24.45.136.160] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Oct 23 05:03:15 2014] [error] [client 24.45.136.160] Premature end of script headers: abe.fcgi [Thu Oct 23 05:43:19 2014] [warn] [client 89.66.244.243] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Oct 23 05:43:19 2014] [error] [client 89.66.244.243] Premature end of script headers: abe.fcgi
Any idea ?
|
|
|
|
xxTeDYxx
Member
Offline
Activity: 69
Merit: 10
|
|
October 23, 2014, 10:32:48 AM Last edit: October 23, 2014, 10:52:08 AM by xxTeDYxx |
|
[Thu Oct 23 00:18:46 2014] [warn] [client 66.249.65.47] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Oct 23 00:18:46 2014] [error] [client 66.249.65.47] Premature end of script headers: abe.fcgi [Thu Oct 23 01:48:27 2014] [warn] [client 66.249.65.47] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Oct 23 01:48:27 2014] [error] [client 66.249.65.47] Premature end of script headers: abe.fcgi [Thu Oct 23 05:03:11 2014] [warn] [client 24.45.136.160] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Oct 23 05:03:11 2014] [error] [client 24.45.136.160] Premature end of script headers: abe.fcgi [Thu Oct 23 05:03:15 2014] [warn] [client 24.45.136.160] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Oct 23 05:03:15 2014] [error] [client 24.45.136.160] Premature end of script headers: abe.fcgi [Thu Oct 23 05:43:19 2014] [warn] [client 89.66.244.243] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Thu Oct 23 05:43:19 2014] [error] [client 89.66.244.243] Premature end of script headers: abe.fcgi
Any idea ? Aff... Fucking chmod 755... Omg, my abe is very slowly :< WHY ?! Check: coinexplorer.org
|
|
|
|
John Tobey (OP)
|
|
October 24, 2014, 03:55:26 PM |
|
abe.bit Namecoin domain free to a good home
I no longer work with Abe and have no plans for the "d/abe" NMC name (abe.bit). If anyone would like it, please reply with your Namecoin address. I'll check back in a day or two.
|
|
|
|
A.Zimmerer
Newbie
Offline
Activity: 54
Merit: 0
|
|
October 28, 2014, 03:47:35 PM |
|
Hello everyone, I have a question regarding Bitcoin-Abe. If a wallet address has more than 1000 transactions I get this message: "I'm sorry, this address has too many records to display". I wanted to modify the code to show me the message and the address balance but it didn't work. Does anybody know what I have to add on line 812 to show me at least the address ballance ? if history is None: body += ["<p>I'm sorry, this address has too many records" " to display.</p>"] return Thanks for your help
|
|
|
|
coinflow
Legendary
Offline
Activity: 840
Merit: 1000
|
|
October 28, 2014, 04:53:24 PM |
|
Hello everyone, I have a question regarding Bitcoin-Abe. If a wallet address has more than 1000 transactions I get this message: "I'm sorry, this address has too many records to display". I wanted to modify the code to show me the message and the address balance but it didn't work. Does anybody know what I have to add on line 812 to show me at least the address ballance ? if history is None: body += ["<p>I'm sorry, this address has too many records" " to display.</p>"] return Thanks for your help Check this line in the config-file: https://github.com/bitcoin-abe/bitcoin-abe/blob/54ee67eafff81ec9cd1f5ef5cebea3514c267ae5/abe.conf#L267
|
|
|
|
A.Zimmerer
Newbie
Offline
Activity: 54
Merit: 0
|
|
October 28, 2014, 05:35:55 PM |
|
I don't want to change that parameter, because of denial of service attacks. Just want to show the address ballance if it has more than 1000 transactions.
|
|
|
|
xxTeDYxx
Member
Offline
Activity: 69
Merit: 10
|
|
October 28, 2014, 09:08:27 PM |
|
I don't want to change that parameter, because of denial of service attacks. Just want to show the address ballance if it has more than 1000 transactions. add to abe.conf or abe-my.conf address-history-rows-max -1
|
|
|
|
A.Zimmerer
Newbie
Offline
Activity: 54
Merit: 0
|
|
October 28, 2014, 10:34:57 PM |
|
Thanks for your quick answer, but like I already said I don't want to change "address-history-rows-max", because of denial of service attacks. Just want to show the address ballance if it has more than 1000 transactions. Like this: I'm sorry, this address has too many records to display. The address has a ballance of 33 coins. add to abe.conf or abe-my.conf
address-history-rows-max -1
|
|
|
|
GigaGrid
Jr. Member
Offline
Activity: 54
Merit: 1
|
|
November 02, 2014, 03:24:16 PM |
|
can Abe work with fresh algorithm? which policy can I use for fresh algorithm.
|
|
|
|
coinflow
Legendary
Offline
Activity: 840
Merit: 1000
|
|
November 05, 2014, 01:27:50 PM Last edit: November 05, 2014, 01:46:24 PM by coinflow |
|
What I have been asking myself from the beginning: Is it just me or is it common practice in Abe, that an update/changing of the HTML-template is not reflected, until the database is build up again? Or am I doing something wrong? Just changed some HTML in the template (again) and it does not show up on the frontend. Would not like to rebuild the database again from the whole blockchain ...
Any idea?
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
|
November 05, 2014, 05:06:41 PM |
|
What I have been asking myself from the beginning: Is it just me or is it common practice in Abe, that an update/changing of the HTML-template is not reflected, until the database is build up again? Or am I doing something wrong? Just changed some HTML in the template (again) and it does not show up on the frontend. Would not like to rebuild the database again from the whole blockchain ...
Any idea?
You dont have to rebuild the DB, just restart 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
|
|
|
coinflow
Legendary
Offline
Activity: 840
Merit: 1000
|
|
November 05, 2014, 05:12:08 PM Last edit: November 05, 2014, 05:28:33 PM by coinflow |
|
What I have been asking myself from the beginning: Is it just me or is it common practice in Abe, that an update/changing of the HTML-template is not reflected, until the database is build up again? Or am I doing something wrong? Just changed some HTML in the template (again) and it does not show up on the frontend. Would not like to rebuild the database again from the whole blockchain ...
Any idea?
You dont have to rebuild the DB, just restart Abe. OK, I will try that. What command would you use for that? killall or anything better? Edit: just restarted the server ...
|
|
|
|
K1773R
Legendary
Offline
Activity: 1792
Merit: 1008
/dev/null
|
|
November 06, 2014, 09:08:45 AM |
|
What I have been asking myself from the beginning: Is it just me or is it common practice in Abe, that an update/changing of the HTML-template is not reflected, until the database is build up again? Or am I doing something wrong? Just changed some HTML in the template (again) and it does not show up on the frontend. Would not like to rebuild the database again from the whole blockchain ...
Any idea?
You dont have to rebuild the DB, just restart Abe. OK, I will try that. What command would you use for that? killall or anything better? Edit: just restarted the server ... if you run it over FastCGI, restart your webserver. if you run it with the Abe's internal HTTP server, just restart this Abe instance.
|
[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
|
|
|
coinflow
Legendary
Offline
Activity: 840
Merit: 1000
|
|
November 06, 2014, 09:12:46 AM |
|
if you run it over FastCGI, restart your webserver.
You mean the whole server/machine (which I did), or just Apache? Only to be sure.
|
|
|
|
|