de_henne_ has quit [Remote host closed the connection]
de_henne has joined #stellar-dev
<stellar-slack>
<powderfan> there seems to be a sever bug in horizon or stellar-core testnet at the moment. When I submit payments, it takes a while and then throws an empty error (really no info at all). The balance is reduced but the effect for account does not show up neither in stream nor in batch retrieve.
akuukis is now known as zz_akuukis
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
DomKM has joined #stellar-dev
pixelbeat_ has joined #stellar-dev
DigitalFlux has quit [Quit: No Ping reply in 180 seconds.]
DigitalFlux has joined #stellar-dev
DigitalFlux has joined #stellar-dev
xiufei has joined #stellar-dev
xiufei has quit [Client Quit]
sdehaan has quit [Disconnected by services]
pixelbeat_ has quit [Ping timeout: 240 seconds]
de_henne has quit [Remote host closed the connection]
pixelbeat_ has joined #stellar-dev
<stellar-slack>
<eva> @powderfan: is this still happening for you?
<stellar-slack>
<sacarlson> I noted I was still able to do transactions after his problem was noted, but I don't use his stream stuf
DomKM_ has joined #stellar-dev
gst_ has joined #stellar-dev
gst has quit [Disconnected by services]
gst_ is now known as gst
gst has quit [Changing host]
gst has joined #stellar-dev
ggherdov` has quit [Ping timeout: 264 seconds]
termos_ has joined #stellar-dev
robins has joined #stellar-dev
<stellar-slack>
<bartek> @powderfan: @eva I can confirm it's happening
<stellar-slack>
<eva> thanks @bartek
DomKM has quit [*.net *.split]
olinkl has quit [*.net *.split]
robinsmidsrod has quit [*.net *.split]
termos has quit [*.net *.split]
DomKM_ is now known as DomKM
termos_ has quit [Ping timeout: 264 seconds]
<stellar-slack>
<eva> @powderfan and @sacarlson seems like something @scott will be able to help with when he’s around
ggherdov` has joined #stellar-dev
<stellar-slack>
<scott> I’ll check things out momentarily.
olinkl has joined #stellar-dev
<stellar-slack>
<eva> thanks!
termos_ has joined #stellar-dev
<stellar-slack>
<scott> @bartek: if you’re interested in looking at the code for my little experiment from yesterday: https://github.com/nullstyle/wallet-one
<stellar-slack>
<bartek> ok, great! thanks!
<stellar-slack>
<scott> So, it looks like a bug in horizon-importer got tripped on testnet. Working on a fix now. When history cannot be imported, a transaction submission will timeout since we cannot confirm the transaction was successful.
<stellar-slack>
<scott> Fix for testnet should be up in about 10 minutes
<stellar-slack>
<scott> Then I’ll get back to fixing the effect endpoint issues from yesterday
termos_ is now known as termos
<stellar-slack>
<powderfan> cool! brings me closer to my first official release on new network!
robins is now known as robinsmidsrod
<stellar-slack>
<scott> alright, horizon testnet is caught back up. Sorry about the snafu y'all
pixelbeat_ has quit [Ping timeout: 272 seconds]
pixelbeat_ has joined #stellar-dev
pixelbeat_ has quit [Ping timeout: 246 seconds]
pixelbeat has joined #stellar-dev
<stellar-slack>
<scott> deploying some fixes for horizon to testnet and prod.
<stellar-slack>
<powderfan> great! fixed it for me. thx
<stellar-slack>
<scott> sweet! happy to help
Kwelstr has quit [Quit: ugh]
Kwelstr has joined #stellar-dev
pixelbeat has quit [Ping timeout: 250 seconds]
pixelbeat has joined #stellar-dev
pixelbeat has quit [Ping timeout: 255 seconds]
<stellar-slack>
<jed> is there something in js-stellar-base that tells you if an address is valid?
<stellar-slack>
<jed> richiela you can just use that ^ to see if the address is valid or not. If it doesn't exist then use the create account op rather than payment
<stellar-slack>
<richiela> hmm...
<stellar-slack>
<richiela> ok
<stellar-slack>
<jed> scott did you add memo to the payments for account endpoint or you still have to look up the tx itself?
<stellar-slack>
<scott> presently I was thinking that would happen after we get the importer ported to go, but I can front load that if you like and get it done in the next couple of days if you’d like me to
<stellar-slack>
<richiela> that would help us out alot ;)
<stellar-slack>
<richiela> hmm to touch on isValidAddress again...
<stellar-slack>
<richiela> thats goign to return false if the accoutn is invalid or just bad input right?
<stellar-slack>
<richiela> our users enter the darnest things... so if they enter "aldksfjsladfkajsdfl" thats going to return invalid, but then we'd try to createaccount on it
<stellar-slack>
<jed> no I was just couldn't remember if it was there or not. I wouldn't reprioritize
<stellar-slack>
<jed> richiela: yeah it tells you if it is a validly formed address not if it exists or not
<stellar-slack>
<jed> so afdsfsf would fail
<stellar-slack>
<richiela> ok so i need to check if its valid, and then if its been funded?
<stellar-slack>
<jed> yeah
<stellar-slack>
<scott> To further jed’s point: You would normally use `isValidAddress` to decide whether or not you should perform federation on the input. If the address is invalid (i.e. it is a person's federated name) you would look their address up using the federation protocol.
<stellar-slack>
<richiela> honestly.. i'd keep it simple...
<stellar-slack>
<richiela> if the address isn't valid, i'm just going to reject it unless i have an easy way to tell invalid vs unfunded vs good
<stellar-slack>
<jed> you will be able to remove the extra call to look up the memo when we implement it but right now it is very minimal overhead
<stellar-slack>
<richiela> i dont think i can make that work cause i'm not streaming..
<stellar-slack>
<richiela> basically doing a .call() and returning the json blob
<stellar-slack>
<jed> it is the same
<stellar-slack>
<jed> .call() will return an object you can call .transaction() on like in the example to get the memo
<stellar-slack>
<jed> handlePaymentResponse will be the same
<stellar-slack>
<jed> you will just get one batch of responses instead of responses continuously
<stellar-slack>
<richiela> i must be reading this wrong
<stellar-slack>
<richiela> but the way this reads is a blob is passed to the handler, the handler deciphers the memo, and then acts on it..
Kwelstr has joined #stellar-dev
<stellar-slack>
<richiela> that wont work for us cause the way we're dmz'd crazily... the only thing i epxect is a list of transactions that i can process somewhere else..
<stellar-slack>
<richiela> this would work if i get the paymetns list.. enumerate through them to add the memo manually using the tx, and then creating a new list and returning it..
<stellar-slack>
<richiela> just a lot of json munging work heh
<stellar-slack>
<jed> Here I'll put an example of what you need to do in the docs...