<stellar-slack> <lab> @matschaffer: is there any node run on testnet using sqlite?
<stellar-slack> <jed> no all are using postgres
<stellar-slack> <lab> I started a stellar-core and the WAL file exceed 4GB in catching up.
<stellar-slack> <jed> are you using full history with sqlite?
<stellar-slack> <lab> i didn't see it in former deployments.
<stellar-slack> <lab> yes
<stellar-slack> <jed> yeah not sure if that will work
<stellar-slack> <lab> CATCHUP_COMPLETE=true
<stellar-slack> <jed> in memory?
<stellar-slack> <lab> how many txs from genesis?
<stellar-slack> <jed> maybe a bug. can you make an issue?
<stellar-slack> <lab> i saw master account seq is only 11
<stellar-slack> <lab> yes. i'm collecting more clues for the issue
<stellar-slack> <sacarlson> lab yes I run stellar-core node in sqlite
<stellar-slack> <lab> sacarlson: is you node synced with testnet?
<stellar-slack> <sacarlson> it was yestarday, I'll check
<stellar-slack> <sacarlson> no it's now "state" : "Joining SCP"
<stellar-slack> <sacarlson> it ran for over 24 hours with no problems
<stellar-slack> <lab> what's the size of ".db" and ".db-wal" file?
<stellar-slack> <sacarlson> I'll check
<stellar-slack> <sacarlson> 2015-08-25T19:54:03.850 743e66 [140025850402688] [Herder] INFO Lost track of consensus
<stellar-slack> <sacarlson> I only show 11 transactions from the master account
<stellar-slack> <lab> thank you sacarlson
<stellar-slack> <sacarlson> I see a file /buckets/stellar-core.lock I think about the time we lost it
<stellar-slack> <sacarlson> I'll try restart it to see if it comes back
<stellar-slack> <lab> try reset all
<stellar-slack> <lab> maybe you will see db-wal explosion too.
<stellar-slack> <sacarlson> oh that stellar-core.lock file was aug 24th 6:58pm maybe when I started it
<stellar-slack> <sacarlson> db-wal is very big at like 300mb+
<stellar-slack> <sacarlson> looks like it failed almost exactly 24 hours after I started it
<stellar-slack> <lab> 300mb is normal. mime is increasing in 30MB/s ..
<stellar-slack> <lab> -rw-r--r-- 1 35840 Aug 26 00:53 stellar.db -rw-r--r-- 1 24641536 Aug 26 01:20 stellar.db-shm -rw-r--r-- 1 3227733136 Aug 26 01:20 stellar.db-wal
<stellar-slack> <sacarlson> so did you reset your to get it running again?
<stellar-slack> <lab> every time
<stellar-slack> <lab> it's the same in my node
<stellar-slack> <sacarlson> reset all you mean delete all db files I assume
<stellar-slack> <lab> it look like the ledger replaying is not throttled well
<stellar-slack> <sacarlson> wow my support software is all writen around sqlite, hope if it's just the sqlite that causes it that it can be fixed
<stellar-slack> <sacarlson> I'll do a simple shutdown restart to see if it changes before a complete reset
<stellar-slack> <sacarlson> simple reset without db distruction seems to get my stellar-core back to "state" : "Synced!"
<stellar-slack> <sacarlson> not sure for how long. I'll let it run for 48 hours or more to see if this happens again
<stellar-slack> <sacarlson> if it only happens every 24 hours maybe have to write a work around with a task that detects it's lost sync for more than 1 hour to restart it
<stellar-slack> <lab> synced too. :)
<stellar-slack> <sacarlson> :+1:
<stellar-slack> <lab> jed: i filed a issue about this. https://github.com/stellar/stellar-core/issues/717
<stellar-slack> <sacarlson> I note in your 717 that it didn't mension the freeze or failure to sync. you think that's another issue?
<stellar-slack> <sacarlson> @lab
<stellar-slack> <lab> they are seperated
<stellar-slack> <sacarlson> ok
sv-logger has quit [Remote host closed the connection]
sv-logger has joined #stellar-dev
[7] has quit [Disconnected by services]
TheSeven has joined #stellar-dev
<stellar-slack> <buhrmi> can we get a safe quorum on testnet? ^^
<stellar-slack> <buhrmi> no idea what that means, but i think safe is better than unsafe
<stellar-slack> <sacarlson> I don't know I guess change the value and find out?
<stellar-slack> <sacarlson> maybe with such a small number of nodes not so easy?
de_henne has joined #stellar-dev
de_henne has quit [Ping timeout: 264 seconds]
<stellar-slack> <buhrmi> Wheeee https://github.com/buhrmi/open-core
<stellar-slack> <buhrmi> here we goooo :)
<stellar-slack> <sacarlson> I'll take a look at it
<stellar-slack> <buhrmi> cool :)
<stellar-slack> <sacarlson> not enuf documentation for me to run it
<stellar-slack> <sacarlson> but someone that knew java probly could
<stellar-slack> <buhrmi> updated the readme a little bit. u don't need Java
<stellar-slack> <buhrmi> just meteor and a running stellar-core that writes to postgres
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
<stellar-slack> <sacarlson> ok I'll look again
<stellar-slack> <sacarlson> also I seem to be the first gateway on testnet with GBPJR44JZVXBGRXRQ7PN34IUERQOJ64OG44UIF7ICOIUWLN7H5MALVIU
<stellar-slack> <sacarlson> ready to issue you BEER
miracle2k__ has joined #stellar-dev
miracle2k_ has quit [Ping timeout: 240 seconds]
miracle2k__ is now known as miracle2k_
<stellar-slack> <sacarlson> @buhrmi: and with your new docs I think I could even run it, very good
<stellar-slack> <buhrmi> isn't there a stellar-base.js that i just can include in my project......
<stellar-slack> <buhrmi> without bower, without npm
<stellar-slack> <buhrmi> just plain old js?
<stellar-slack> <buhrmi> (one that works in node *as well as* in the browser)
<stellar-slack> <buhrmi> @bartek: say i have a base64 encoded xdr in javascript, how to i decode it to inspect the contents?
<stellar-slack> <buhrmi> i'm trying StellarBase.xdr.TransactionEnvelope.fromXDR(atob(base64)) , but that gives me XDR Read Error: Got 1062733056 when trying to read a bool
<stellar-slack> <sacarlson> best I have is in ruby and it won't decode everything
<stellar-slack> <sacarlson> I think at this point I was trying to decode other stuf, only the top will decode if I recall
<stellar-slack> <sacarlson> but I think it would be cool if we could look at a base64 encoded transaction and put it back to human readable like json
<stellar-slack> <sacarlson> if that's even posible
<stellar-slack> <bartek> > isn't there a stellar-base.js that i just can include in my project...... @buhrmi: for browser usage you can 1) use bower, 2) copy a `stellar-base.js`/`stellar-base.min.js` file from https://github.com/stellar/bower-js-stellar-base or (-lib) 3) _not ready yet but in the works_ use CDN > say i have a base64 encoded xdr in javascript, how to i decode it to inspect the contents? does `var transaction = new St
<stellar-slack> work?
<stellar-slack> <buhrmi> yes
<stellar-slack> <buhrmi> lol ... thanks
<stellar-slack> <buhrmi> easier than expected :)
<stellar-slack> <bartek> :)
<stellar-slack> <buhrmi> haha... somebody traded BEER http://open-core.meteor.com
<stellar-slack> <buhrmi> looks at @sacarlson
<stellar-slack> <sacarlson> ya I stocked up on BEER prepared to trade for sausages
<stellar-slack> <sacarlson> oh ya that's perfect now you can read the transactions in english
regisg27 has joined #stellar-dev
regisg27 has quit [Client Quit]
sacarlson has quit [Ping timeout: 246 seconds]
<stellar-slack> <dzham> anyone else still on old the testnet? sequence numbers are acting weird today, all my tx’s have the same seq. all are valid.
<stellar-slack> <sacarlson> I don't run stellard but I still have code that should work on old stellar
<stellar-slack> <dzham> if only stellarcore was a bit more stable, I’d migrate
<stellar-slack> <sacarlson> you want me to look at an account balance or something on old stellar?
sacarlson has joined #stellar-dev
<stellar-slack> <dzham> not sure if it would help.. individually they all make sense
<stellar-slack> <dzham> currency balances gets updated
<stellar-slack> <dzham> sequence numbers get updated, from 16 to 17
<stellar-slack> <dzham> but then all tx’s have seq# 16
<stellar-slack> <dzham> :)
<stellar-slack> <sacarlson> I just checked balance of my old account and it's still there
<stellar-slack> <sacarlson> I never looked at seq# so I'm not sure. it didn't seem important on stellard
<stellar-slack> <dzham> well, they are supposed to be increasing
<stellar-slack> <dzham> and if you send a tx with an old seq# you should get an error
<stellar-slack> <dzham> right now it’s the other way around :S
de_henne has joined #stellar-dev
<stellar-slack> <sacarlson> ya that would make sence but I'm not sure seq# is even visible from api
<stellar-slack> <sacarlson> are you running stellard?
<stellar-slack> <dzham> no, just connecting to http://test.stellar.org|test.stellar.org
<stellar-slack> <dzham> it has to be visible, otherwise you can’t sign your own tx's
<stellar-slack> <sacarlson> ok well none of my code even looks for it. I never signed my tx I did it direct low security
<stellar-slack> <dzham> :)
<stellar-slack> <buhrmi> developing with stellar core is what taking the red pill must feel like
<stellar-slack> <sacarlson> matrix ya
<stellar-slack> <buhrmi> haven't watched it in aaages
<stellar-slack> <regisg> trying to build stellar-core on ubuntu 13.04. the configure step fails with this message : './configure: line 16441: syntax error near unexpected token `sqlite3,'' even if sqlite3 and libsqlite3-dev are installed :(
<stellar-slack> <buhrmi> @regisg: no clue, I only ever built it on 14.04
<stellar-slack> <regisg> I'll try on 14.04
<stellar-slack> <sacarlson> see buhrmi with your site running people are now getting more confident that it might work
<stellar-slack> <sacarlson> and they can see we trade in BEER
<stellar-slack> <sacarlson> the only real currency
<stellar-slack> <buhrmi> hehe yeah i, i wanna work on the UI tomorrow if i find time
<stellar-slack> <buhrmi> some CSS
<stellar-slack> <buhrmi> @regisg: good luck ^^ as long as the number of nodes is not that big you can confirm that the network sees your node here: http://open-core.meteor.com (at the bottom)
<stellar-slack> <sacarlson> I saw my IP listed twice I guess at some point when my ip changed
<stellar-slack> <sacarlson> I saw my old and new
<stellar-slack> <buhrmi> cool, yeah takes some time to notice that a node is gone..
<stellar-slack> <sacarlson> oh and mine is stuck again "state" : "Joining SCP"
<stellar-slack> <buhrmi> hope they gonna add IPv6 support for stellar-core
<stellar-slack> <sacarlson> I see mines been stuck now for 10 minutes so I guess it needs a restart
<stellar-slack> <sacarlson> buhrmi: so yours has run for more than 24 hours without this problem?
<stellar-slack> <buhrmi> yeah
<stellar-slack> <sacarlson> now that I have postgres figured out I can migrate to that to see if it improves things.
<stellar-slack> <sacarlson> looks like sqlite version might be broken or just unstable
<stellar-slack> <buhrmi> sqlite3 was never meant as a production database anyway
<stellar-slack> <buhrmi> according to the developer
<stellar-slack> <sacarlson> well I should have 24 hours to fix it so I'll do that tomaro
<stellar-slack> <sacarlson> time for some BEER
<stellar-slack> <buhrmi> haha
<stellar-slack> <buhrmi> i wonder ...
<stellar-slack> <buhrmi> if you issue BEER, and somebody else also issues BEER
<stellar-slack> <buhrmi> and I accept the BEER as payment
<stellar-slack> <buhrmi> will it become the same BEER?
<stellar-slack> <fredolafritte> a asset/currency is defined by its name + its issuer
<stellar-slack> <buhrmi> k so sacarlson has to make sure that his beer is the best beer
<stellar-slack> <buhrmi> man, minified stellar-base.js is over 250kb
<stellar-slack> <fredolafritte> xdr encoder decoder ...
de_henne has quit [Remote host closed the connection]
rejon has joined #stellar-dev
<stellar-slack> <sacarlson> buhrmi: no my BEER is not the best beer but it is my favorite beer Leo Beer that is a Thai brand in 330ml can container per unit of trade
<stellar-slack> <buhrmi> cool
<stellar-slack> <buhrmi> hope i can get some time sponsored by my company to put into stellar
<stellar-slack> <sacarlson> trade does not include shiping. pick up at Soi 13 and beach road in Pattaya
<stellar-slack> <buhrmi> okay
<stellar-slack> <buhrmi> no idea how to get there but oka
<stellar-slack> <sacarlson> I'll throw in one of my girls if you buy 20 cases
<stellar-slack> <sacarlson> I'll publish the GPS lat long later
<stellar-slack> <buhrmi> loool
rejon has quit [Ping timeout: 250 seconds]
<stellar-slack> <buhrmi> wee just saw a "setoptions" tx on the network
<stellar-slack> <sacarlson> wierd doesn't it need an account?
<stellar-slack> <sacarlson> and I thought the code for native was native not "code":"XLM\u0000"
<stellar-slack> <bartek> @sacarlson: it’s only an internal js-stellar-base representation. it’s native in a ledger: https://horizon-testnet.stellar.org/operations/1708705494077440
<stellar-slack> <buhrmi> i think a valid definintion of "native currency" is simply "asset that does not have an issuer"
<stellar-slack> <buhrmi> correct me if i'm wrong
<stellar-slack> <sacarlson> I just put up the first manageOffer, asset: , dest: that is 24 beers for 1.25 usd each
<stellar-slack> <buhrmi> @sacarlson: lol awesome... should add "latest offers" section to open core
<stellar-slack> <bartek> @buhrmi: well, it depends, in js-stellar-base it's a correct definition, however in XDR there is a special type for native currency: `AssetType.assetTypeNative`. js-stellar-base will set correct type during transformation of `Asset` object to XDR.
<stellar-slack> <sacarlson> I can see it on you open-core already
<stellar-slack> <sacarlson> but not the price
<stellar-slack> <bartek> it works that way for developers’ convinience so you don’t have to think which internal type you need, you just create an asset by calling `Asset.native()` or `new Asset(code, issuer)`.
<stellar-slack> <buhrmi> yeah, need to put more work into it to show all the data and have a nicer UI
<stellar-slack> <buhrmi> @bartek: yeah I guess that's cool
<stellar-slack> <buhrmi> my initial idea was to kinda "fork" the network without XLM/lumens ... only assets
<stellar-slack> <sacarlson> you can do with just a small change in configs
<stellar-slack> <sacarlson> yet untested
<stellar-slack> <buhrmi> yeah as long as an account can be used without having received native currency
<stellar-slack> <sacarlson> ya it has min ballance you can set to zero
<stellar-slack> <buhrmi> k... but i gonna wait a bit more and do some UI work before doing that
<stellar-slack> <sacarlson> min trans cost and min balance not sure I have the config name correct
<stellar-slack> <sacarlson> ya and we also see some of the bugs now with more nodes connected
<stellar-slack> <sacarlson> ok its my nap time
<stellar-slack> <buhrmi> mine too haha
<stellar-slack> <buhrmi> cya
rejon has joined #stellar-dev
rejon has quit [Client Quit]
Kwelstr has quit [Quit: ugh]