de_henne_ has joined #stellar-dev
de_henne has quit [Ping timeout: 264 seconds]
pixelbeat has quit [Ping timeout: 265 seconds]
<stellar-slack> <sacarlson> looks like this new stellar-core has the same problem with "state" : "Joining SCP" after my ip address changes
<stellar-slack> <sacarlson> I guess is meant for only static address users
<stellar-slack> <sacarlson> it was working find with my ip at 124.122.43.53:11625 but now my ip is 124.122.224.61 so it's droped me
<stellar-slack> <sacarlson> I can normaly just restart the stellar-core to get it going again but the other day that also didn't work unless I wait 10 hours or so.
sv-logger has quit [Remote host closed the connection]
sv-logger has joined #stellar-dev
TheSeven has quit [Disconnected by services]
[7] has joined #stellar-dev
pixelbeat has joined #stellar-dev
rejon has quit [Read error: Connection reset by peer]
pixelbeat has quit [Ping timeout: 244 seconds]
de_henne_ has quit [Read error: Connection reset by peer]
de_henne has joined #stellar-dev
<stellar-slack> <buhrmi> @monsieurnicolas: able to repro on testnet https://github.com/stellar/stellar-core/issues/750
<stellar-slack> <sacarlson> I issued this one today https://github.com/stellar/stellar-core/issues/749
<stellar-slack> <sacarlson> so I beat you by one
<stellar-slack> <sacarlson> I think I failed to add that I beleave that @lab might have seen the same issue with loss of sync. do you run stellar-core from your home ADSL network @lab? with changing IP address also?
pixelbeat has joined #stellar-dev
<stellar-slack> <sacarlson> sounds like @lab has a differnet problem as he runs on vps that I assume are static address. so I don't know any others that run non static dynamic IP that run stellar-core to verify or confirm
<stellar-slack> <sacarlson> can you only add one signer to an account per each transaction? I would think I could add an array of signers on a single transaction or I'm hoping I can
<stellar-slack> <sacarlson> it's looking like the only way I might be able to add more than one signer added on an account in only a single transaction is to merge transactions. I've never got merge transactions to work yet so I might be stuck again.
<stellar-slack> <dzham> yup, just add more operations to it
<stellar-slack> <sacarlson> have you been able to merge transaction dzham ? last I tried I got some error about fee's
<stellar-slack> <dzham> I’m just using the javascript sdk for now, so it’s pretty easy.
<stellar-slack> <sacarlson> I"ve been doing it the slow way that requires waiting after each transaction to do the next
<stellar-slack> <sacarlson> any examples in javascript?
<stellar-slack> <sacarlson> does it cost more to do merged transactions?
<stellar-slack> <dzham> ```server.loadAccount(process.env.ACCOUNT) .then(function (account) { var transaction = new stellar.TransactionBuilder(account) .addOperation(stellar.Operation.setOptions({ signer: { address: process.env.SIGNING_ACCOUNT, weight: 1 } })) .addOperation(stellar.Operation.setOptions({ masterWeight: 1, lowThreshold: 1, medThreshold: 2, highThreshold: 2 })) .addSigner(userKey)
<stellar-slack> server.submitTransaction(transaction); }) ```
<stellar-slack> <dzham> It costs more, but there are tonnes of benefits with it
<stellar-slack> <sacarlson> cool thanks
<stellar-slack> <sacarlson> I think the problem I have is not know how to allow the cost
<stellar-slack> <dzham> Oh, I haven’t even though about that.. Does it still works like in stellard, that you have to put the fee into the transaction?
<stellar-slack> <dzham> OK, it does. Well, that complicated stuff :) Hopefully it’s just based on the number of ops
<stellar-slack> <sacarlson> oh you saying this is untested to do more than one transaction?
<stellar-slack> <sacarlson> I guess I will just do trail and error on a simple merge until I get that. once that works everything should fall into place
<stellar-slack> <dzham> I’m doing multiple ops all the time, but fees are handled by the sdk
<stellar-slack> <sacarlson> ok
<stellar-slack> <sacarlson> I think in base you also have to manualy know what sequence each merge step will be
<stellar-slack> <sacarlson> or can you have more than one seqnum change in a single stellar cycle?
<stellar-slack> <sacarlson> I think we need the ruby dude
<stellar-slack> <dzham> :)
<stellar-slack> <dzham> You just need seqnum for the main account of a transaction
<stellar-slack> <dzham> And that’s the account that pays the fee
<stellar-slack> <sacarlson> this code looks like you need to add 1 to each merge tx
<stellar-slack> <sacarlson> but this code doesn't even work
<stellar-slack> <sacarlson> but it's the only example I've been able to find that has the word merge in it
<stellar-slack> <dzham> I can’t find any fees for operations in the xdr
<stellar-slack> <sacarlson> at high level code I'm sure they would just find out what the fee will be and make sure they pay it
<stellar-slack> <sacarlson> my guess is every increment of the sequence number will cost 10 things
pixelbeat has quit [Ping timeout: 246 seconds]
pixelbeat has joined #stellar-dev
<stellar-slack> <sacarlson> I can't even add one signer to a single account anymore. can someone try and see if it can still be done? I note that no accounts have any added signers in the database
<stellar-slack> <sacarlson> oh maybe the signers have to also be active accounts? That's what I've changed in this code so let me try that with all active signers
<stellar-slack> <dzham> @sacarlson: how about GDNOHZEVJ2ORORW3AQWYX4CTIWYUBIU56XZDPA5NHRLL7JS3NQUXFKNA? I just added signers to it, and didn’t get any errors back
<stellar-slack> <sacarlson> yes cool I see 4 accounts now that have signers, but I did something wird and broke 3 accounts that now all have the same sequence numbers and when I try to transact it returns bad seq number error
<stellar-slack> <sacarlson> oh wait those aren't my accounts
pixelbeat has quit [Ping timeout: 260 seconds]
pixelbeat has joined #stellar-dev
pixelbeat has quit [Ping timeout: 264 seconds]
pixelbeat has joined #stellar-dev
<stellar-slack> <monsieurnicolas> @sacarlson: signers don't need to be actual accounts in the ledger, just keys. Also the fee for k operations within a transaction is k*base_fee
<bittrex-richie> hey guys how do i get access to the stellar-dev slack?
<stellar-slack> <eva> ... you're here! but if you want to join through Slack itself, sign up here: http://slack.stellar.org/
<stellar-slack> <eva> you can continue to chat on the mirrored IRC channel if you like though. Up to you. I personally prefer Slack.
<bittrex-richie> tryign to get an invite
<bittrex-richie> but nothings hapening
<bittrex-richie> meh
<stellar-slack> <scott> hmm, let me checkout the invite bot
<bittrex-richie> yeah.. i'm not getting the email from the slack page
<stellar-slack> <scott> I was able to get the invite pretty quickly bittrex-richie: did the email end up in spam?
<bittrex-richie> nope.. checked that as well
<bittrex-richie> wonder if its being blocked before it even gets me meh
<stellar-slack> <eva> we can try it manually maybe?
<bittrex-richie> that'd be great.. richie@bittrex.com
<stellar-slack> <eva> it says that you're already a team member :S
<stellar-slack> <eva> not sure that this will work, but you could try the "forgot password" flow https://stellar-public.slack.com/
<stellar-slack> <eva> since it seems to think your email is already in the system
<stellar-slack> <richiela> and so i am...
<stellar-slack> <richiela> better ;)
<stellar-slack> <eva> Yes!
<stellar-slack> <eva> welcome :)
<stellar-slack> <richiela> thx.. ok.. now that i'm here.. ;)
<stellar-slack> <eva> if you want some tips on using Slack, Vanessa and I made a video: https://www.youtube.com/watch?v=QQW60H50XNQ
<stellar-slack> <richiela> is there someone i can talk to about the upcoming changes?
<stellar-slack> <eva> what would you like to know in particular?
<stellar-slack> <richiela> looks like i'm going to have to rework the entire workflow and its cmopletely differnt than XRP at this point?
<stellar-slack> <eva> The codebase is entirely new - doesn't share a single line of code with stellard, as far as I understand it. We actually had a developer meetup the other night where Nicolas and Scott talked about how the new network works. I'm working on getting it up on Youtube. For now, you might want to start here: https://www.stellar.org/developers/
<stellar-slack> <richiela> i skimmed the docs... super confusing ... what happens to the old network? i dont see anything about transitioning from old to new networ
<stellar-slack> <eva> We're going to be publishing a post fairly soon about the details of the upgrade - keep your eyes peeled :)
<stellar-slack> <richiela> how much time between that post and the transition?
<stellar-slack> <richiela> we need to prep for the change, and the email ig ot last night said you were going live by end of sept?
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
<stellar-slack> <scott> So, in an effort to avoid our calls for code review getting lost in conversation, I’ve created an #rfr channel where we’ll post when new pull requests are ready to review. Join it if you want to join in.
<stellar-slack> <eva> Can other folks post their code for review there too?
<stellar-slack> <scott> yeah, totally
<stellar-slack> <eva> awesome
<stellar-slack> <scott> that’s a great idea
<stellar-slack> <eva> btw to anyone else curious about the new network upgrade, we’re not talking specifics yet, but stay tuned