<stellar-slack> <meetreks> Hi
<stellar-slack> <meetreks> I know this is the old network, but still worth asking
<stellar-slack> <meetreks> When I sign & submit a payment, I get an error like invalid parms :)
<stellar-slack> <meetreks> when I change the end point to just submit and include my secret key then it works as a doddle :)
<stellar-slack> <meetreks> is this a bug with the old API?
sv-logger has quit [Remote host closed the connection]
sv-logger has joined #stellar-dev
tectonic has joined #stellar-dev
TheSeven has quit [Ping timeout: 246 seconds]
TheSeven has joined #stellar-dev
sacarlson1 has joined #stellar-dev
sacarlson has quit [Ping timeout: 244 seconds]
de_henne has joined #stellar-dev
nivah has quit [Ping timeout: 260 seconds]
nivah has joined #stellar-dev
tectonic has quit []
bit2017 has joined #stellar-dev
nivah has quit [Ping timeout: 256 seconds]
Kwelstr has quit [Ping timeout: 246 seconds]
Kwelstr has joined #stellar-dev
<stellar-slack> <fredolafritte> Given as asset pair, how can we get the order book ?
<stellar-slack> <sacarlson> on horizon or the old network @fredolafritte
<stellar-slack> <fredolafritte> on the new one
<stellar-slack> <sacarlson> @fredolafritte: I don't seem to see anything about it in the http://docs.stellarhorizon.apiary.io/#reference/default/operation/all-transactions. maybe you could try take a direct look at the sqlite database file
<stellar-slack> <fredolafritte> stellar=# select * from offers ; sellerid | offerid | sellingassettype | sellingassetcode | sellingissuer | buyingassettype | buyingassetcode | buyingissuer | amount | pricen | priced | price | flags ----------+---------+------------------+------------------+---------------+-----------------+-----------------+--------------+--------+--------+--------+-------+-------
<stellar-slack> <fredolafritte> Work has to be done on go-horizon to grab these data and forward them to the web client
<stellar-slack> <sacarlson> I would think so
<stellar-slack> <jed> scott should be online in a bit and he will be able to help you
<stellar-slack> <sacarlson> I'm still stuck on my trustline problem
<stellar-slack> <fredolafritte> works for me
<stellar-slack> <fredolafritte> :)
<stellar-slack> <sacarlson> trustline works? cool
<stellar-slack> <sacarlson> did you have to allow trust or something?
<stellar-slack> <fredolafritte> the js-stellar-base lib is used on my side for all operations
<stellar-slack> <sacarlson> I don't get any error when I submit it but no trust line apears
<stellar-slack> <sacarlson> I'm using ruby-stellar-base on my side
<stellar-slack> <fredolafritte> not a ruby fan, sorry
tectonic has joined #stellar-dev
<stellar-slack> <sacarlson> and you go through horizon to do it then?
<stellar-slack> <fredolafritte> check the txhistory table and het the tx result
<stellar-slack> <sacarlson> I did but I can't decord the results
<stellar-slack> <sacarlson> WQvVAlmvblK3ZFPMj3FhG2xAR1KYLdhGLxwutQ+srAYAAAAAAAAACv////8AAAABAAAAAAAAAAb////9AAAAAA==
<stellar-slack> <sacarlson> decode
<stellar-slack> <fredolafritte> "result": { "_switch": { "name": "txFailed", "value": -1 }, "_arm": "results", "_armType": { "_maxLength": 2147483647 }, "_value": [ { "_switch": {
<stellar-slack> "value": 0 }, "_arm": "tr", "_value": { "_switch": { "name": "changeTrust", "value": 6 }, "_arm": "changeTrustResult",
<stellar-slack> "_switch": { "name": "changeTrustInvalidLimit", "value": -3 }, "_arm": {}, "_armType": {} } } } ]
<stellar-slack> <fredolafritte> hope it helps
<stellar-slack> <sacarlson> oh cool so that's what it is, I was trying to read your code
<stellar-slack> <sacarlson> invalid limit -3?
<stellar-slack> <sacarlson> wonder were this -3 value comes from
<stellar-slack> <fredolafritte> double check the ruby code lib, there were a bug in the js lib where the limit was not taken into account and was set to 0
<stellar-slack> <fredolafritte> -3 is maybe just an error code
<stellar-slack> <sacarlson> oh you had mentioned you branched your js lib ok. well at least I know were to start looking thanks
<stellar-slack> <fredolafritte> BTW, use changeTrust, not allowTrust
tectonic has quit []
<stellar-slack> <sacarlson> I was using changetrust, I didn't see any examples with allowtrust and don't understand what it's for
<stellar-slack> <sacarlson> maybe so the gatway can disable your transactions on your account?
<stellar-slack> <sacarlson> I had limit: 1000000 now changed to limit: (2**63)-1 still doesn't work
<stellar-slack> <sacarlson> txresult: PZw6k2uLzwJaQsW3hfDXlilEYnQq3jvKX2C7DkZXh5gAAAAAAAAACgAAAAAAAAABAAAAAAAAAAYAAAAAAAAAAA==
<stellar-slack> <sacarlson> maybe it's too big?
sacarlson has joined #stellar-dev
sacarlson1 has quit [Ping timeout: 264 seconds]
hatch has joined #stellar-dev
hatch has quit [Quit: ZZZzzz…]
hatch has joined #stellar-dev
hatch has left #stellar-dev [#stellar-dev]
graydon has joined #stellar-dev
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev