1 2014-06-05 03:17:30 <bassguitarman> I have a quesion
  2 2014-06-05 03:17:42 <bassguitarman> where in the bitcoin source code is the alert public key?
  3 2014-06-05 03:18:24 <bassguitarman> \register
  4 2014-06-05 03:19:14 <CoinHeavy> https://github.com/bitcoin/bitcoin/search?q=alert&ref=cmdform
  5 2014-06-05 03:19:18 <CoinHeavy> https://en.bitcoin.it/wiki/Alerts
  6 2014-06-05 03:19:54 <CoinHeavy> Is there a mining expert on?  I may have an potentially exposed vector and I would like to consult with a trusted dev if possible.
  7 2014-06-05 03:32:26 <phantomcircuit> CoinHeavy, i guess you can pm me
  8 2014-06-05 03:34:26 <SomeoneWeird> lol
  9 2014-06-05 04:09:33 <Michail1> Is anyone running 'insight' ?    I can't seem to get it to run at boot/cron; however, I am able to run at cmd line and shell and even daemonize it.   I would like to run from cron in case machine reboots, etc.
 10 2014-06-05 04:44:59 <wumpus> Michail1: that's usually a matter of setting up the environment right before launching the command, just log output to a file and see where the start fails
 11 2014-06-05 04:45:36 <wumpus> Michail1: ie, cron will have a much more limited environment set up than your user, think of things like PATH, LD_LIBRARY_PATH etc
 12 2014-06-05 04:50:26 <Michail1> Thanks, I have even tried to have cron write a shell script of it's own and run it.   still it fails (no errors).  If I started the script it runs, then it works fine, but simply not from cron.
 13 2014-06-05 04:52:33 <Michail1> If I type in the command from shell, it works.  If I copy that exactly to s.sh and have cron run s.sh, still no go.     Missing something, but no errors.   Even redirect output to dump.txt (simply makes a blank file and does nothing).  It's not stuck running in memory or anything, but by having the dump.txt even exist shows it at least getting to the command.
 14 2014-06-05 04:52:45 <Michail1> debian wheezy
 15 2014-06-05 04:53:55 <gwillen> Michail1: is the redirect to dump.txt in the cronjob or inside the script?
 16 2014-06-05 04:54:08 <gwillen> (I ask because in the latter case it's definitely running the script, whereas in the former case we can't tell)
 17 2014-06-05 04:55:57 <Michail1> script.
 18 2014-06-05 04:56:09 <Michail1> cron runs    check-bitcoind
 19 2014-06-05 04:56:59 <Michail1> check-bitcoind runs fine (check if bitcoind is running and if not then starts it)  If running it will then check for npm/insight.  If not running, it will run    insight.sh
 20 2014-06-05 04:57:34 <Michail1> insight.sh sets up variables, then tries to run  (I know it gets this far, because it makes the empty dump.txt)
 21 2014-06-05 04:58:39 <Michail1> I have even after the variables being setup had it create s.sh and run that with same results.  If I am in bash and start s.sh, then it works.  Just simply not from cron.
 22 2014-06-05 05:51:46 <moarrr> <moarrr> does "Failed to read block" mean?!!??¬!
 23 2014-06-05 05:51:46 <moarrr> <moarrr> I spent all night downloading the blockchain :(
 24 2014-06-05 05:51:46 <moarrr> <moarrr> WTF
 25 2014-06-05 05:57:44 <sipa> what OS, filesystem, storage system?
 26 2014-06-05 05:59:38 <wumpus> it means that it's unable to load the block from disk, there may be a more detailed error in debug.log
 27 2014-06-05 06:11:48 <moarrr> sipa: Ubuntu, ext2 i think, not sure
 28 2014-06-05 06:11:52 <moarrr> HDD i think
 29 2014-06-05 06:12:44 <sipa> does dmesg tell you anything about bad sectors?
 30 2014-06-05 06:16:10 <moarrr> urgh
 31 2014-06-05 06:16:13 <moarrr> looking now
 32 2014-06-05 06:16:20 <moarrr> if this crap has bad sectors im gonna be furious, this is brand new from the shop
 33 2014-06-05 06:17:17 <moarrr> doesnt seem to be anything out of the ordinary in dmesg
 34 2014-06-05 06:17:22 <wumpus> but is there more in debug.log?
 35 2014-06-05 06:17:42 <wumpus> in any case you don't need to redownload the block chain, a -reindex should be enough
 36 2014-06-05 06:18:05 <moarrr> well
 37 2014-06-05 06:18:05 <moarrr> yeh
 38 2014-06-05 06:18:08 <moarrr> debug.log is 34mb
 39 2014-06-05 06:18:19 <moarrr> im not sure how to just view the end part
 40 2014-06-05 06:18:26 <moarrr> linux is complicated and strange
 41 2014-06-05 06:18:30 <wumpus> but it is sorted by time, so you can look up the point where the error happened
 42 2014-06-05 06:18:44 <moarrr> could you help me out?
 43 2014-06-05 06:19:10 <wumpus> well this is not really linux help but ok: tail -n <numlines> debug.log
 44 2014-06-05 06:19:36 <moarrr> ok
 45 2014-06-05 06:19:40 <moarrr> its all ProcessBlock: ACCEPTED
 46 2014-06-05 06:19:42 <moarrr> for 100 lines
 47 2014-06-05 06:19:51 <moarrr> how do i get it to page?
 48 2014-06-05 06:19:58 <moarrr> like after a screen full?
 49 2014-06-05 06:21:08 <wumpus> something like  tail -n 1000 debug.log | less
 50 2014-06-05 06:21:21 <wumpus> then you can use pgup/pgdn to page through it
 51 2014-06-05 06:22:29 <Michail1> [21:45] <wumpus> Michail1: ie, cron will have a much more limited environment set up than your user, think of things like PATH, LD_LIBRARY_PATH etc
 52 2014-06-05 06:22:31 <Michail1> Thank you.
 53 2014-06-05 06:22:46 <moarrr> strangely enough, the retards who designed my keyboard decided to complicate the pgup/pgdw functio
 54 2014-06-05 06:22:54 <moarrr> by reusing the same keys for up/down/left/right
 55 2014-06-05 06:22:55 <moarrr> GRR
 56 2014-06-05 06:23:16 <wumpus> moarrr: well that's not really our fault is it :p
 57 2014-06-05 06:23:25 <wumpus> Michail1: so you got it to work, great
 58 2014-06-05 06:23:39 <moarrr> ok
 59 2014-06-05 06:23:41 <moarrr> i know
 60 2014-06-05 06:23:47 <moarrr> is there any way to grep for i donno an error mesesge
 61 2014-06-05 06:23:48 <moarrr> ?
 62 2014-06-05 06:23:52 <moarrr> cause this is gonna take me a week
 63 2014-06-05 06:23:55 <moarrr> to go through all of this
 64 2014-06-05 06:24:09 <wumpus> moarrr: stop spamming so much
 65 2014-06-05 06:24:15 <moarrr> sorry wumpus
 66 2014-06-05 06:25:04 <moarrr> or maybe an anti-grep or something i donno, 99% of this file seems to be ProcessBlock: accepted / UpdateTip: new=000....
 67 2014-06-05 06:25:24 <wumpus> there are zillion ways to grep or browse through text files in *nix, but that's not the topic here, a lot has been written about that and I'm sure it can be found using a search engine
 68 2014-06-05 06:26:29 <wumpus> 'inverse grep' is grep -v
 69 2014-06-05 06:26:41 <moarrr> ok
 70 2014-06-05 06:26:51 <moarrr> so how do I exclude all lines that doesnt cointain ProcessBlock or UpdateTip ?
 71 2014-06-05 06:26:59 <moarrr> grep -v ProcessBlock ?
 72 2014-06-05 06:27:09 <moarrr> im really new to this, i havent used linux in years
 73 2014-06-05 06:27:54 <wumpus> again, please take that somewhere else, this is not ##linux
 74 2014-06-05 06:28:21 <moarrr> ... ok
 75 2014-06-05 06:29:43 <moarrr> my bad - thought i could come here for help
 76 2014-06-05 06:30:00 <Luke-Jr> help with Bitcoin development, not Linux in general..
 77 2014-06-05 06:31:18 <moarrr> someone helped me in ##linux - ill figure out what the errors are
 78 2014-06-05 06:33:51 <moarrr> i dont believe this
 79 2014-06-05 06:33:54 <moarrr> there doesnt actually seem to be any errors
 80 2014-06-05 06:34:01 <moarrr> that explain why it told me Unable to read block
 81 2014-06-05 06:34:58 <moarrr> oh wait
 82 2014-06-05 06:35:12 <moarrr> I see something, it says: Unable to open file /home/polymeric/.bitcoin/blocks/blk00004.dat
 83 2014-06-05 06:35:16 <moarrr> could that it be?
 84 2014-06-05 06:35:24 <wumpus> yes, that's it
 85 2014-06-05 06:35:32 <moarrr> why would it say that?
 86 2014-06-05 06:35:56 <wumpus> can you try reading from the file, for example doing a sha256 sum on it?
 87 2014-06-05 06:36:19 <Luke-Jr> moarrr: my guess would be you ran BCCore as root at some point, probably with su or sudo
 88 2014-06-05 06:36:26 <Luke-Jr> and therefore the file is owned by root
 89 2014-06-05 06:36:50 <wumpus> yes it may be a permissions issue, or disk corruptioin, either way you'll find out more by trying to read the fiel
 90 2014-06-05 06:36:54 <moarrr> yeh works fine, 7837b9...
 91 2014-06-05 06:37:16 <moarrr> nope Luke-Jr, i ran it as my main user
 92 2014-06-05 06:37:19 <wumpus> huh
 93 2014-06-05 06:37:21 <moarrr> it has admit privs only with sudo afaik
 94 2014-06-05 06:37:31 <moarrr> all the files are owned by my main user
 95 2014-06-05 06:39:21 <wumpus> hm ok, it's openable for reading, but bitcoin tries to open it r+w
 96 2014-06-05 06:39:30 <wumpus> try 'touch /home/polymeric/.bitcoin/blocks/blk00004.dat'
 97 2014-06-05 06:39:50 <moarrr> ive got bitcoin core running atm, is that safe to do wumpus?
 98 2014-06-05 06:39:55 <wumpus> no it isn't
 99 2014-06-05 06:40:19 <moarrr> its currently doing a reindex and reindexing the blocks from disk
100 2014-06-05 06:40:24 <wumpus> so it gave that error and continued?!
101 2014-06-05 06:40:29 <moarrr> so i donno why it would have problems reading and writing
102 2014-06-05 06:40:32 <wumpus> oh okay
103 2014-06-05 06:40:39 <moarrr> no that error was when i woke up
104 2014-06-05 06:40:47 <moarrr> i restarted bitcoin-qt with -reindex just now
105 2014-06-05 06:41:06 <moarrr> i left it overnight to download the blockchain and i was sad to see all these errors :(
106 2014-06-05 06:44:02 <moarrr> i am thuroughly not impressed :(
107 2014-06-05 06:44:24 <moarrr> even ubuntu is crashing
108 2014-06-05 06:44:31 <moarrr> im wondering if this box is working ok
109 2014-06-05 06:45:39 <SomeoneWeird> maybe your hdd is dying
110 2014-06-05 06:46:01 <moarrr> urgh if my brand new hdd is dying, im gonna be pissed
111 2014-06-05 06:46:22 <SomeoneWeird> ssd?
112 2014-06-05 06:46:59 <moarrr> nah, magnetic drive afaik
113 2014-06-05 06:47:04 <moarrr> although the box just says 1TB Hard Disk
114 2014-06-05 06:47:17 <moarrr> litecoin-qt is complaining left right and center
115 2014-06-05 06:47:25 <moarrr> strangely enough i instlaled darkcoin from source without any problems
116 2014-06-05 06:47:39 <SomeoneWeird> how new is new?
117 2014-06-05 06:47:51 <moarrr> SomeoneWeird: I bought it yesterday
118 2014-06-05 06:47:55 <SomeoneWeird> i doubt it's a 1tb ssd :P
119 2014-06-05 06:48:04 <moarrr> lol not for the price I paid Someguy123
120 2014-06-05 06:48:25 <SomeoneWeird> hdd's still DOA sometimes
121 2014-06-05 06:48:38 <SomeoneWeird>  /kick Someguy123 you're making people tab your name instead of mine
122 2014-06-05 06:48:41 <moarrr> i installed debian twice, and ubuntu once
123 2014-06-05 06:48:48 <moarrr> lol, no hdd related complaints
124 2014-06-05 06:48:55 <SomeoneWeird> weird
125 2014-06-05 06:48:57 <moarrr> (debian didnt work with my network thoough so couldnt use it)
126 2014-06-05 06:49:01 <SomeoneWeird> 0.o
127 2014-06-05 06:49:38 <moarrr> also no problems in dmesg that i can find
128 2014-06-05 06:49:57 <SomeoneWeird> offtopic: https://twitter.com/adam__brady/status/474094495974166528
129 2014-06-05 06:49:58 <SomeoneWeird> i lold
130 2014-06-05 06:50:07 <SomeoneWeird> moarrr, run memtest?
131 2014-06-05 06:50:19 <moarrr> ok
132 2014-06-05 06:50:36 <SomeoneWeird> it's just a suggestion, i have no idea if it might be the problem
133 2014-06-05 06:50:38 <moarrr> command not found
134 2014-06-05 06:50:38 <moarrr> lol
135 2014-06-05 06:50:44 <SomeoneWeird> oh, it's a bootable thing
136 2014-06-05 06:50:49 <SomeoneWeird> wait till reindex is done
137 2014-06-05 06:50:52 <moarrr> oh
138 2014-06-05 06:51:25 <moarrr> can i ask for advice on litecoin-qt here? im having a wallet.dat cross-compatibility problem
139 2014-06-05 06:52:02 <SomeoneWeird> ehhh
140 2014-06-05 06:52:07 <SomeoneWeird> is it happening with bitcoinqt too?
141 2014-06-05 06:52:31 <moarrr> bitcoin-qt doesnt seem to have the problem, although to be sure id have to wait until the blockchain is usable and its reindexing
142 2014-06-05 06:52:47 <moarrr> im just wondering in general, shouldnt you be able to move wallet.dat files between windows and linux machines?
143 2014-06-05 06:53:19 <moarrr> it worked with my darkcoin wallet at least
144 2014-06-05 06:54:16 <SomeoneWeird> yes
145 2014-06-05 06:54:29 <SomeoneWeird> but make sure (bit|lite|whatever)coin is not running when you copy the wallet file
146 2014-06-05 06:54:36 <moarrr> its not
147 2014-06-05 06:55:08 <moarrr> i tried getting litecoin working with my old wallet.dat and it came up with an error message, unable to recognise wallet or something, then i a mv wallet.dat old.dat and started it up, and it seemed to work
148 2014-06-05 06:55:22 <moarrr> it downloaded the blockchain and seemed fine, then I decided to copy the old.dat back to wallet.dat
149 2014-06-05 06:55:25 <wumpus> yes you can copy the files between machines, only the leveldb (sst) files you cannot copy between architectures (at least ARM and x86)
150 2014-06-05 06:55:34 <moarrr> and now im getting errors trying to start it up
151 2014-06-05 06:57:46 <moarrr> ah i see it, problems in debug.log "init message: Loading wallet..." nFileVersion = 80307 Error loading wallet.dat
152 2014-06-05 06:57:52 <moarrr> then it says wallet 78ms ...
153 2014-06-05 06:57:54 <moarrr> its really strange
154 2014-06-05 07:04:06 <moarrr> urgh
155 2014-06-05 07:04:10 <moarrr> im getting strange errors
156 2014-06-05 07:04:24 <moarrr> EXCEPTION: ST13runtime_error
157 2014-06-05 07:04:34 <moarrr> CWalletDB::ListAccountCreditDebit() : cannot create DB cursor
158 2014-06-05 07:04:36 <moarrr> litecoin in Runaway exception
159 2014-06-05 07:04:56 <moarrr> if anyone can help me get Bitcoin/Litecoin running on my box, ill give you a 20 dollar tip :)
160 2014-06-05 07:05:02 <moarrr> i really need it working soon
161 2014-06-05 07:05:54 <moarrr> also says: XSMP error: Offending minor opcode = 5 (InteractRequest) sequence number = 23 Error class = BadState Severity = Cancontinue
162 2014-06-05 07:06:06 <moarrr> and another one with 5, 30, BadState, CanCotinue
163 2014-06-05 07:12:33 <moarrr> ok i think i got it, they said in #litecoin i might not have all the dependancies, so i apt-get installed libdb-dev
164 2014-06-05 07:12:38 <moarrr> just to let you know
165 2014-06-05 07:49:41 <aburan28> https://docs.google.com/file/d/0B7r4osQgWVqKTHdxTlowUVpsVmJRcjF3Y3dtcTVscFhEaW5F/view?sle=true
166 2014-06-05 07:50:42 <aburan28> They introduce a Proof of Bandwidth in that paper for Tor called TorCoin
167 2014-06-05 07:53:30 <aburan28> This could be a way to address the lack of reward for full-nodes
168 2014-06-05 07:54:06 <gmaxwell> offtopic for this channel.
169 2014-06-05 07:54:13 <gmaxwell> Also, I don't think it's interesting.
170 2014-06-05 07:54:40 <gmaxwell> They offer no mechenism at all for sybil resistance.