<sacarlson1> I just had some thoughts about this RPC client i've setup. It has to transmit the secreet key to perform some transactions so that I would assume is open for man in the middle attack?
<sacarlson1> I guess to use this without fear you would have to connect to your own local stellar node
<bittrex-richie> local sign it and just send the signed transaction
pixelb has quit [Ping timeout: 264 seconds]
pixelb has joined #stellar-dev
<sacarlson1> bittrex-richie: I'll have to look that up thanks
<sacarlson1> bittrex-richie: so to sign it then It would require that I had the ruby libs to sign installed
<sacarlson1> libsodium I think
koolhead17 has joined #stellar-dev
de_henne has quit [Ping timeout: 264 seconds]
de_henne has joined #stellar-dev
<sacarlson1> what's the probability that if I send a native STR transaction that it takes more than 20 seconds to be registered? I now have a loop that checks every 10 seconds wonder how many times I should try to loop
<sacarlson1> I'm auto creating new accounts so I have to wait for them to be active before I can perform other transactions with them.
<sacarlson1> with my present wait time of 10 seconds without check loop I get 6 out of 7 accounts created in 10 seconds on test.stellar.org
<sacarlson1> from my test of only 5 transactions so far I found that 1 out of 5 went through in 5 seconds 3 out of 5 went through in 10 secounds only 1 out of 5 took more than 10 seconds on test.stellar.org
sv-logger has quit [Remote host closed the connection]
sv-logger has joined #stellar-dev
<sacarlson1> I've now detected one transaction that failed to register after 35 seconds so maybe I have a problem?
koolhead17 has quit [Remote host closed the connection]
[7] has quit [Ping timeout: 256 seconds]
TheSeven has joined #stellar-dev
jdnc has joined #stellar-dev
jdnc has quit [Remote host closed the connection]
jdnc has joined #stellar-dev
jdnc has quit [Remote host closed the connection]
jdnc has joined #stellar-dev
de_henne has quit [Remote host closed the connection]
de_henne has joined #stellar-dev
jdnc has quit [Remote host closed the connection]
jdnc has joined #stellar-dev
jdnc has quit [Remote host closed the connection]
jdnc has joined #stellar-dev
jdnc has quit [Remote host closed the connection]
jdnc has joined #stellar-dev
jdnc has quit [Ping timeout: 255 seconds]
jdnc has joined #stellar-dev
jdnc has quit [Ping timeout: 256 seconds]
<stellar-slack> <epsilon> @monsieurnicolas: new Ubuntu box, disabled apport and have gdb watching it.
<stellar-slack> <epsilon> stellar-core d5257bb test cfg from docs
<stellar-slack> <epsilon> -c scp is reporting just {"you" : "000000"}
koolhead17 has joined #stellar-dev
<stellar-slack> <yaseenhamdulay> rake testnet:fund_friendbot gives me "bad value of v in _ext_t” any ideas?
koolhead17 has quit [Remote host closed the connection]
<sacarlson1> I as I have managed to create a new currency on test.stellar.org I thought I might as well see if I can test selling some of them for STR on any offers?
<sacarlson1> my currency at present is CHP
<sacarlson1> I want 20 STR for 1 CHP on testnet
jdnc has joined #stellar-dev
jdnc has quit [Ping timeout: 255 seconds]
<sacarlson1> are the value in "TransactionType": "OfferCreate", in integer or int/1E6 or floating point?
<sacarlson1> well it didn't work I get Unable to parse request
<stellar-slack> <bartek> @sacarlson1 https://www.stellar.org/api/#api-amount "An amount of stellars is always represented in microstellars (the smallest divisible stellar unit).”
<stellar-slack> <bartek> however: "An amount that represents a currency credit is a triplet of the following parameters: value: the amount of credit. currency: the 3 letter currency code, USD, BTC, EUR etc. issuer: the Stellar account that issued the credit."
<stellar-slack> <bartek> "When directly submitting transactions to stellard, make sure to quote the numbers. Normally, numbers would not be quotd in JSON so that they are interpreted as a number. However, when used to sign transactions, stellard is unable to parse JSON integers greater than 4,294,967,295 (2^32-1). This can cause transactions (such as one with more than 4294.967295 STR being sent) to be rejected by the stellard you
<stellar-slack> accepts quoted numbers and correctly interprets them."
<sacarlson1> cool thanks bartek
<sacarlson1> I'll try again
<sacarlson1> I found my first error I had left a comma in the "STR" part
<sacarlson1> now I get "error_message" : "Field 'tx_json.TakerPays' has invalid data.",
<sacarlson1> "TakerPays": {
<sacarlson1> "currency": "STR",
<sacarlson1> "value": "1000000000"
<sacarlson1> }
<sacarlson1> oh I think value has to be changed to "amount"
<stellar-slack> <bartek> @sacarlson1 check examples here: https://www.stellar.org/api/#api-amount for STR you simply need to pass the amount, like: "TakerPays": "1000000000"
<stellar-slack> <bartek> brb
<sacarlson1> well I tried replacement above with "amount" still same error "error_message" : "Field 'tx_json.TakerPays' has invalid data.",
<sacarlson1> also tried taking out "currency... with just ammount still same error "error_message" : "Field 'tx_json.TakerPays' has invalid data.",
<sacarlson1> "TakerPays": {
<sacarlson1> "amount": "1000000000"
<sacarlson1> }
<sacarlson1> sounds like it should be correct
<sacarlson1> maybe too many zero?? I'll try make it smaller
<sacarlson1> after a million trail and error it was as easy as "TakerPays": "1000000000" ha ha so my first order is now on the books
<stellar-slack> <bartek> @sacarlson1 exactly like in my message :) check it out above ;)
<sacarlson1> so for 1000 str I guess you get 1000 CHP
<sacarlson1> I thought I did try that but by that time I had already removed too many {} ha ha
<sacarlson1> so any body here ready to buy them?
<sacarlson1> I'll have to figure out how to buy them from myself
<sacarlson1> I won't buy them all to leave some for you guys ha ha
<sacarlson1> "issuer": "gLanQde43yv8uyvDyn2Y8jn9C9EuDNb1HF",
<sacarlson1> "currency": "CHP"
<sacarlson1> I don't see my order with "method": "book_offers",
<sacarlson1> "method": "account_offers", also doesn't show my orders
<sacarlson1> I got it up now. I guess the account didn't have enuf funds for that operation, I added 500 str now the order shows
<sacarlson1> "gPG3YuL7fXA4BtGrW5ZgaQ3JbGsENVj2Jn" has CHP for taker_gets 100.123 CHP for 1000_000000 str
jdnc has joined #stellar-dev
jdnc has quit [Read error: Connection reset by peer]
jdnc has joined #stellar-dev
<sacarlson1> my first transaction to buy 50 CHP with 500 STR between two accounts was a success. I left 50 CHP on the books
jdnc has quit [Remote host closed the connection]
jdnc has joined #stellar-dev
jdnc has quit [Remote host closed the connection]
jdnc has joined #stellar-dev
jdnc has quit [Remote host closed the connection]
sacarlson1 has quit [Quit: Leaving.]
sacarlson has joined #stellar-dev
Kwelstr has quit [Ping timeout: 248 seconds]
jdnc has joined #stellar-dev
jdnc has quit [Remote host closed the connection]
koolhead17 has joined #stellar-dev
jdnc has joined #stellar-dev
Vinnie_win has joined #stellar-dev
Kwelstr has joined #stellar-dev
jdnc has quit [Remote host closed the connection]
ultrashag_ is now known as ultrashag
de_henne has quit [Remote host closed the connection]
<stellar-slack> <monsieurnicolas> @epsilon: if you're running under gdb then on crash you should just be able to grab the stack for all threads. Version wise, testnet is running c0cbef4 right now. I've been making changes to the wire format so that we can easily perform upgrades and have a good experience for forward/backward compat, I have more changes coming this week. While those changes are happening, you probably want to be on
<stellar-slack> changes is done, the version should not matter as much.
nivah has joined #stellar-dev
sacarlson1 has joined #stellar-dev
sacarlson has quit [Ping timeout: 248 seconds]
sacarlson1 has quit [Quit: Leaving.]
sacarlson has joined #stellar-dev
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
koolhead17 has quit [Remote host closed the connection]