slyslick has joined #stellar-dev
slyslick has quit [Ping timeout: 264 seconds]
Games324 has joined #stellar-dev
<Games324> hello?
Games324 has quit [Client Quit]
<stellar-slack1> <jed> hi
<stellar-slack1> <buhrmi> hello
<stellar-slack1> <dzham> HELO
<stellar-slack1> <matschaffer> Update: stellar-core testnet is now running stellar-core ae1aa82 - no reset was required for the upgrade.
<stellar-slack1> <dzham> I just noticed that ed25519 has fixed their node issues, and you’ve upgraded to that version too <3:+1::beers:
de_henne has joined #stellar-dev
slyslick has joined #stellar-dev
pixelbeat_ has quit [Ping timeout: 244 seconds]
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #stellar-dev
slyslick has quit [Ping timeout: 250 seconds]
de_henne has quit [Read error: Connection reset by peer]
de_henne has joined #stellar-dev
nivah has joined #stellar-dev
DigitalFlux has quit [Ping timeout: 255 seconds]
DigitalFlux has joined #stellar-dev
DigitalFlux has joined #stellar-dev
pixelbeat_ has joined #stellar-dev
<stellar-slack1> <raymens> When sending a TX to the core using the ruby-stellar-base I get a PENDING. What does that mean exactly?
<stellar-slack1> <lab> pending mean your tx passed basic validation
<stellar-slack1> <raymens> the `doCheckValid`?
<stellar-slack1> <raymens> or even before that check?
<stellar-slack1> <lab> what is `doCheckValid` ?
<stellar-slack1> <raymens> `bool CreateAccountOpFrame::doCheckValid`, I thought that might be the basic validation check. But nevermind
<stellar-slack1> <raymens> Found out I get a `tx_bad_seq`
<stellar-slack1> <raymens> How can I find out what happened to the posted transaction?
<stellar-slack1> <raymens> as the running core just notes: `[Herder TRACE] recv transaction .... for GBRPY [HerderImpl.cpp:986]`
<stellar-slack1> <lab> you can look at txhistory table
<stellar-slack1> <raymens> that's funny, it's empty :)
<stellar-slack1> <raymens> I'm running a standalone node
<stellar-slack1> <sacarlson> maybe your not pointing your app at your instance of horizon?
<stellar-slack1> <raymens> That's correct, I'm using the ruby-stellar-base connected to the core :)
<stellar-slack1> <powderfan> Question: I know how to do a path payment (at least in theory), but how am I supposed to find possible paths and exchange rates?
<stellar-slack1> <sacarlson> powerderfan I wrote a very primitive function for mss-server that just looks for all offers of an asset from ether any issuer or point at a issuer's asset offers. but horizon might have better tools for that now
<stellar-slack1> <sacarlson> I haven't been able to keep up with what's available on horizon
<stellar-slack1> <raymens> So, I switched it to Postgresql. Now all tables do get filled etc. There seems to be a problem with SQLite
<stellar-slack1> <sacarlson> maybe it just needed a full database reset it sounds like
<stellar-slack1> <raymens> I've tried that multiple times
<stellar-slack1> <sacarlson> I still use sqlite don't have any know problems at this time
<stellar-slack1> <raymens> And the stellar.db did get created. It didn't get modified from that point forward though. Using the same config
<stellar-slack1> <sacarlson> I'm not sure what version of stellar-core your running but I'm presently on b2b1ae0c700c5576eabacf54cba3ee0e8a4e10cc
<stellar-slack1> <sacarlson> we would also have to see your configs, but if it works with postgress and you can live with that go with it
edubai__ has joined #stellar-dev
<stellar-slack1> <sacarlson> I almost have my supper crapy client almost working. it at least spits out the envelope data for both payment and create account but fails to send the transaction to the server
<stellar-slack1> <sacarlson> I don't see any errors in the console only warnings so I must be brain farting again
<stellar-slack1> <jed> Raymens can you file an issue if you haven't already
<stellar-slack1> <raymens> jed I'll check if I can reproduce it again and if so, I'll create one
<stellar-slack1> <raymens> What's the easiest way to force something being written in the SQL db?
<stellar-slack1> <raymens> By stellar-core
<stellar-slack1> <jed> something should be written there every ledger close
<stellar-slack1> <raymens> Oh yeah I forgot :)
<stellar-slack1> <jed> are you saying there is *nothing* in the DB?
<stellar-slack1> <raymens> I was checking if I had the same problem on Windows. But problem I had before was on a Ubuntu VM. I'll check and see it I can reproduce it in the VM
<stellar-slack1> <raymens> Nope, it does work as intended now with SQLite. No clue what might've happened
<stellar-slack1> <jed> weird ok
<stellar-slack1> <sacarlson> I love those things that just fix themselves
<stellar-slack1> <sacarlson> and for those that want to see the worst stellar client ever written here is mine that doesn't even work yet http://zipperhead.ddns.net/stellar_min_client.html
<stellar-slack1> <raymens> UI of the year award ;)
<stellar-slack1> <sacarlson> ha ha
nivah has quit [Ping timeout: 265 seconds]
<stellar-slack1> <raymens> What do you use to package the compiled stellar-core to a debian file?
<stellar-slack1> <scott> @powderfan: I just pushed js-stellar-sdk 0.2.15, which includes the bugfix for the link helper bug you found. Thanks again for the report!
<stellar-slack1> <powderfan> Wow, this is great, thanks!
<stellar-slack1> <powderfan> Any idea on my question concerning possible payment paths?
stellar-slack1 has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
<stellar-slack> <scott> I don’t fully understand what you’re asking regarding payment paths. If you’re talking about exposing how much of a given asset an account has issued, I wouldn’t expect that in the near term. The solution isn’t trivial given how the stellar-core db is indexed, so I need to work with the core guys to see if I can get schema changed or go down the route of importing that information into a horizon-m
<stellar-slack> <scott> By “near term”, I mean “in the next couple of days”. It’ll probably be something that I get around to over the next couple of weeks
<stellar-slack> <sacarlson> raymens I have simple tools to package deb files that I've used before. I might be able to write a script the would package it. but the problem being it changes too fast to be worth it
<stellar-slack> <raymens> sacarlson Yeah that's why there are Continuous Integration/Deployment services that do that automatically. Stellar uses it to build the docker images
<stellar-slack> <sacarlson> ya that would be cool to auto create a deb file
<stellar-slack> <sacarlson> but other problem is that it compiles into a big package of like 100meg I think
<stellar-slack> <sacarlson> not a big problem
nivah has joined #stellar-dev
<stellar-slack> <sacarlson> my build is now up to 162.3 MB
<stellar-slack> <raymens> That's not that big right :)
<stellar-slack> <sacarlson> bigger than most but in todays world with fast internet I guess it's ok
<stellar-slack> <sacarlson> hay I got my supper crapy client working !! ha ha
<stellar-slack> <sacarlson> not sure why I had to take the console print out to make it work
<stellar-slack> <powderfan> @scott: thanks it is not super urgent. I was referring to >Question: I know how to do a path payment (at least in theory), but how am I supposed to find possible paths and exchange rates?<
<stellar-slack> <scott> ah! the reference is here: https://www.stellar.org/developers/horizon/reference/path-finding.html
<stellar-slack> <powderfan> ah ok, didn't see this, sorry! Is there already support for it in stellar-sdk?
<stellar-slack> <scott> Not yet, I believe. Not sure who is going to be doing it, but I’ll make sure it ends up in our next sprint
slyslick has joined #stellar-dev
slyslick has quit [Ping timeout: 255 seconds]
pixelbeat_ has quit [Ping timeout: 250 seconds]
<stellar-slack> <powderfan> @scott: the link helper works fine now, thanks!
<stellar-slack> <scott> sweet! happy to help
<stellar-slack> <powderfan> I'm almost done with my migration, and everything seems to work on testnet. On live net I can query my account and transactions, but when it comes to sending a transaction I keep getting `tx_bad_auth error`. Sounds like something's wrong with my signature, but I use the very same code and keys as on testnet.
<stellar-slack> <powderfan> Or is it supposed to work only after official launch next week?
<stellar-slack> <scott> By default the client libraries are configured to work against the testnet only. Each network has a passphrase that is used in signature generation to keep them separate. When running in against the public network you need to call `Stellar. Network.usePublicNetwork()` prior to signing transactions (assuming you’ve imported the SDK into a var named `Stellar).
<stellar-slack> <scott> This scheme prevents someone from replaying transactions destined for one network on another network
<stellar-slack> <powderfan> clever 8)
<stellar-slack> <powderfan> hmm, now I keep getting `tx_bad_seq` error
<stellar-slack> <scott> can you paste a transaction blob that causes that error?
<stellar-slack> <powderfan> wait, maybe I'm hitting the wrong endpoint. I use http://horizon.stellar.org|horizon.stellar.org while network explorer seems to use http://horizon-live.stellar.org|horizon-live.stellar.org
<stellar-slack> <scott> they’re the same node, shouldn’t matter which one you use
<stellar-slack> <powderfan> ok. this is the envelope_xdr from the errormessage: AAAAAMZspzKlbN/4LYG6wZN380wCORoUzCcpMlYMiUSXJ9a1AAAAZAAGPkYAAAABAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAA33K5RRMepccHX+kyj0ls1z1411T6uXhAYF/l6puSl7wAAAAAFEP9AAAAAAAAAAABlyfWtQAAAEC76wZ9hCL5xM2oNiKsiRtIsxTwWJaL4BtFomGT+EbFLZsEA1OmoT6QRLcd8nbs3HKjrxVy5d37nSQ5O/59srkI
<stellar-slack> <powderfan> is that the blob you asked for?
<stellar-slack> <scott> yep! let me check it out for one sec, see what’s wrong
<stellar-slack> <powderfan> this is my account sequence from account_single: 1757320228896768
<stellar-slack> <scott> yeah, it looks correct to me
<stellar-slack> <scott> let me check out the server logs, see if it gives me anything
<stellar-slack> <scott> it’s perhaps a stellar-core bug, we’re looking into it
<stellar-slack> <powderfan> ok, hope it's nothing severe so close before launch
<stellar-slack> <scott> I
<stellar-slack> <scott> It seems that non-validating nodes have an edge case where an account will get stuck in this state until you restart stellar-core
<stellar-slack> <scott> I’ll ping you with the issue when I open it
<stellar-slack> <scott> @powderfan @monsieurnicolas https://github.com/stellar/stellar-core/issues/890
<stellar-slack> <powderfan> ok, then I'll wait for the bug to be solved or stellar-core to be restarted. Thank you
<stellar-slack> <powderfan> @bartek: I know this has not been deployed: https://github.com/stellar/stellar-client/blob/upgrade/app/scripts/services/upgrade-message.js However producing and signing the message should work already, right?
<stellar-slack> <jed> yeah it should
<stellar-slack> <powderfan> guess my secret is not Base64?
pixelbeat_ has joined #stellar-dev
<stellar-slack> <powderfan> well it's midnight in germany, so I'll give it another try tomorrow :sleeping:
<stellar-slack> <jed> powderfan: your wallet is mobile only right?
<stellar-slack> <scott> secrets are “strkey” encoded, which I think we need to document
<stellar-slack> <scott> The signing scheme used by the network is not quite as simple as you’re trying. I highly recommend you use the `KeyPair` helper class: https://github.com/stellar/js-stellar-base/blob/master/src/keypair.js#L9
<stellar-slack> <scott> oh, nvm. I see you’re trying to sign for the upgrade process, not for a transaction.
<stellar-slack> <scott> Still, the keypair class makes it pretty easy: `Stellar.KeyPair.fromSeed(“S…”).sign(data)`
<stellar-slack> <bartek> or `Keypair.fromBase58Seed` if you have the old network secret seet
<stellar-slack> <scott> +1
bitcoin22 has joined #stellar-dev
bitcoin22 has quit [Client Quit]