pixelbeat has quit [Ping timeout: 240 seconds]
Anduck has quit [Ping timeout: 240 seconds]
Anduck has joined #stellar-dev
<stellar-slack1> <jed> stellar-core on testnet was just reved to the latest master
<stellar-slack1> <jed> if you have a node connected to it you will have to upgrade it
<stellar-slack1> <jed> sacarlson ^
<stellar-slack1> <sacarlson> ok will do
Anduck has quit [Ping timeout: 240 seconds]
Anduck has joined #stellar-dev
de_henne_ has joined #stellar-dev
de_henne has quit [Ping timeout: 260 seconds]
<stellar-slack1> <lab> it's 0.3.0
moo-_- has quit [Ping timeout: 240 seconds]
AhmedElGamil has quit [Ping timeout: 240 seconds]
DigitalFlux has joined #stellar-dev
DigitalFlux has joined #stellar-dev
Kwelstr has quit [Ping timeout: 240 seconds]
Kwelstr has joined #stellar-dev
moo-_- has joined #stellar-dev
<stellar-slack1> <jed> Lab live network can't go to it yet
<stellar-slack1> <lab> i saw overlay protocol changed
<stellar-slack1> <lab> we need an forcescp party again. :)
<stellar-slack1> <jed> Yeah Wednesday morning if all goes well
<stellar-slack1> <lab> ok. i will be ready for that. and it's also time for validators from sdf quit.
[7] has quit [Disconnected by services]
TheSeven has joined #stellar-dev
<stellar-slack1> <jed> Yeah
AhmedElGamil has joined #stellar-dev
Kwelstr has quit [Ping timeout: 246 seconds]
DigitalFlux has quit [Ping timeout: 246 seconds]
Kwelstr has joined #stellar-dev
dch_ has joined #stellar-dev
dch has quit [*.net *.split]
sdehaan_ has quit [*.net *.split]
dch_ is now known as dch
sdehaan_ has joined #stellar-dev
de_henne has joined #stellar-dev
de_henne_ has quit [Ping timeout: 260 seconds]
Anduck has quit [Ping timeout: 240 seconds]
Anduck has joined #stellar-dev
<stellar-slack1> <richiela> two really quick dumb questions... A) there is no real concept of confirmations with XLM now? We used to check valid or something. Are transactions on the chain good when we see them? B) there is a fee of "100" for each transaction.. what units is that in?
<stellar-slack1> <sacarlson> the fee of 100 is in stroops that is equivalent to XLM 0.0000100
<stellar-slack1> <sacarlson> for the transaction valid part I originally thought it was valid when I got a transaction valid return . but I'm a bit mistified by the meta data that I have been overlooking
<stellar-slack1> <sacarlson> if we checked the transaction 20 sec later and the balance was still there I guess we should be very confident as that time enuf for about 4 ledger updates
<stellar-slack1> <lab> 100 stroops (1 stroop = 1e-7 XLM)
nivah has joined #stellar-dev
bit2017 has joined #stellar-dev
nivah has quit [Ping timeout: 244 seconds]
Anduck has quit [Ping timeout: 260 seconds]
Anduck has joined #stellar-dev
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #stellar-dev
pixelbeat has joined #stellar-dev
<stellar-slack1> <raymens> @scott: is the inner type (e.g. int64 instead of Int64, byte[] instead of Hash) of the Discriminant known? (xdrgen)
<stellar-slack1> <raymens> or for any other member
<stellar-slack1> <powderfan> @bartek: It is solved for the moment. Think the above code was called too early (before cordova api has been fully initialized). Calling the same code again a little later works fine. So these are the tiny differences between browser and mobile webview. Thanks anyway!
Anduck has quit [Ping timeout: 260 seconds]
Anduck has joined #stellar-dev
bittrex-richie has quit [Ping timeout: 272 seconds]
bittrex-richie has joined #stellar-dev
bittrex-richie is now known as Guest33320
bit2017 has quit [Ping timeout: 260 seconds]
<stellar-slack1> <regisg> I'm trying to submit a transaction to send a custom asset. The trustline is ok, but the transaction always fails. I've created a gist, if someone knows what's wrong with my code, any advice would be greatly appreciated. https://gist.github.com/Proxiweb/2e3df8c095203f72d543
Anduck has quit [Remote host closed the connection]
<stellar-slack1> <jed> richiela: as soon as a tx shows up valid in a ledger you can trust it
<stellar-slack1> <raymens> @regisg: Not sure if it matters, but you can create refer to the asset like: `[:alphanum12, "PROXI", keyPairOfTheIssuer]`
<stellar-slack1> <jed> regisg:Yeah I think that is the issue. You can also add `console.log( transaction.toEnvelope().toXDR('base64') );` on line 20 and see what the blob looks like
<stellar-slack1> <jed> with https://stellar.github.io/xdr-viewer/
<stellar-slack1> <raymens> Lol, wish I had seen that xdr-viewer before :)
<stellar-slack1> <raymens> Oh yeah now I remember I did see the mention, but as I use a direct connection to the core and not Horizon I didn't check it because it says: *Examine XDR messages that get returned from Horizon.*. My bad :(
<stellar-slack1> <fredolafritte> @regisg: the seed may be incorrect, try to use a local variable for the keyPair and display its address
<stellar-slack1> <jed> Ah good point we should change that
<stellar-slack1> <fredolafritte> also, don't forget to call `loadAccount` to get the sequence number
<stellar-slack1> <regisg> @raymens: just an array instead of new StellarSdk.Asset('PROXI',"GBR..") ?
<stellar-slack1> <raymens> @regisg: yeah, that's how it's done in the ruby-stellar-base examples too
<stellar-slack1> <jed> regisg: I bet `new Asset` defaults to alphanum4 and your code is too long
<stellar-slack1> <jed> regisg: put in that log line so you can see what it is generating out.
<stellar-slack1> <regisg> what's the js equivalent of ':alphanum12' ... it's not a string ?
<stellar-slack1> <jed> no it should be a string. It is just longer than the alphanum4
<stellar-slack1> <scott> @raymens: Provided the discriminant is an instance of `XdrGen::AST::Definitions::Typedef", you can call `resolved_type` to get the underlying type (it will work recursively if needed).
<stellar-slack1> <scott> the other subclasess for `Definitions::Base` don’t respond to that message, so you’ll have to check. Feel free to add stub definitions of `resolved_type` for the other subclasses to make things simpler if needed
<stellar-slack1> <raymens> @regisg: sorry it's not what I said. I've been spending too much time in the ruby SDK :P
<stellar-slack1> <raymens> @scott: I'll check, thanks. I've created a PR for my progress thus far at https://github.com/stellar/xdrgen/pull/20
<stellar-slack1> <scott> sweet! I’ll check it out today
Anduck has joined #stellar-dev
Anduck has quit [Client Quit]
Anduck has joined #stellar-dev
<stellar-slack1> <bartek> @regisg it looks like you have outdated stellar-sdk, try to switch to the newest
Anduck is now known as Guest70400
de_henne has quit [Remote host closed the connection]
de_henne has joined #stellar-dev
Guest70400 has quit [Quit: Reconnecting]
Anduck_ has joined #stellar-dev
koshii has quit [Ping timeout: 276 seconds]
de_henne has quit [Remote host closed the connection]
koshii has joined #stellar-dev
<stellar-slack1> <regisg> @bartek : yes, it was outdated . I works fine now.
<stellar-slack1> <nelisky> I'm having some trouble setting options using python, so maybe you can help me out wrapping my head around what's expected:
<stellar-slack1> <nelisky> the XDR definition describes what is parsed as arrays of each option. Are the multiple options encoded as arrays of length 1? Is this used so they are optional?
<stellar-slack1> <scott> An optional field in XDR, when present in an struct being encoded, ends up encoded the same was a VarArray of length 1, yes
<stellar-slack1> <scott> it is used for optional fields, yes
Guest33320 is now known as bittrex-richie
<stellar-slack1> <nelisky> scott: ok, thanks. So there's no way around it, I'll have to wrap everything in lists :)
<stellar-slack1> <scott> I don’t understand the context. In our other languages we just use null
<stellar-slack1> <nelisky> that's the end result of the xdr parser we're using, I guess. The generated code looks like this:
<stellar-slack1> <nelisky> that's two problems in one, the check for None (should become empty array) and the size (bounded to 1, so it needs to come as an array even though it is a single optional value)
<stellar-slack1> <nelisky> I really don't want to deal with the code generation right now, so I'm fixing on the caller
<stellar-slack1> <scott> +1. That’s too bad in regards to xdrgen.py
<stellar-slack1> <nelisky> if I get the time I'll make it behave, just not now
<stellar-slack1> <nelisky> and now I get an invalid transaction, I wonder if the empty array isn't meant to be packed as a null value?
koshii has quit [Ping timeout: 252 seconds]
koshii has joined #stellar-dev
<stellar-slack1> <fim2> is the new stellar up and running?
<stellar-slack1> <scott> yep
<stellar-slack1> <scott> is there anything in particular you want to know about it?
<stellar-slack1> <scott> I’m happy to help
TheSeven has quit [Ping timeout: 255 seconds]
TheSeven has joined #stellar-dev
Anduck_ is now known as Anduck
pixelbeat has quit [Ping timeout: 250 seconds]
<stellar-slack1> <richiela> Ok we're finally done.. thanks for getting that bug fixed..
<stellar-slack1> <richiela> XLM back open here..
pixelbeat has joined #stellar-dev
<stellar-slack1> <scott> +1
pixelbeat has quit [Ping timeout: 246 seconds]
jeacaveo has joined #stellar-dev
jeacaveo has quit [Client Quit]
pixelbeat has joined #stellar-dev
graydon has joined #stellar-dev
stellar-slack1 has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
<stellar-slack> <garth> I am gearing up for another push with eQuid. I'm looking for help from a developer in the SF Bay Area. Dzham developed the first version and did an awesome job. Want to find someone local too. Let me know if you you are interested. Thanks.