<stellar-slack1>
<alexmelges> I generated a seed/key pair directly from stellar core and sent some lumens to this adress using the website’s account viewer. I entered the new account and everything appears to be fine. What happened here? Does the account viewer checks for the existence of the account, and if it doesn’t exist, it creates one? Or the Create Account operation is actually a genseed followed by a payment operation?
<stellar-slack1>
<bartek> account viewer is checking whether the destination account exists and depending on it's state it submits create_account or payment operation.
<stellar-slack1>
<alexmelges> ok, thanks!
koshii has quit [Remote host closed the connection]
koshii has joined #stellar-dev
<stellar-slack1>
<influx6> Anyone got a good link about stellar-core API and the ideas?
<stellar-slack1>
<influx6> Have not yet fully grasp the whole view of the API
<stellar-slack1>
<bartek> @influx6: in most cases you won't connect to stellar-core directly. you will use horizon and here's it's full API reference: https://www.stellar.org/developers/reference/
<stellar-slack1>
<jed> https://www.stellar.org/developers/learn/ Stellar-core doesn't have much of an API. it basically writes to a DB and you use horizon as an API server with that link bartek posted
<stellar-slack1>
<influx6> Ah! Cool.
<stellar-slack1>
<influx6> Thanks will definitely check it out.
<stellar-slack1>
<influx6> A few ideas bubbling!
bit2017 has joined #stellar-dev
<stellar-slack1>
<bartek> I created this sample SQLite DB so you can test federation server (for fun or in your integration tests) with a minimum effort: https://github.com/stellar/federation#sqlite-sample simply download a binary and db file, copy the config file from the README and start the server.
<stellar-slack1>
<scott> +1
<stellar-slack1>
<scott> nice
victorty_ has joined #stellar-dev
victorty_ has quit [Client Quit]
<stellar-slack1>
<jlin> I've been running the tests for stellar-core (make check in INSTALL.md) on os x 10.11. At first there was a syntax error in selftest-pg that was incorrectly setting up postgres, but once I found out how to fix that - there was a test that failed in util/TimerTests.cpp (the timer cancels test) - what's a good way to ask someone if this is expected/known, or if it's something weird with the way I have my enviro
<stellar-slack1>
<jed> jlin: was the first problem an issue with the instructions?
<stellar-slack1>
<jed> Someone else reported an issue with the TimerTests. It is on our list to investigate.
koolhead17 has joined #stellar-dev
koolhead17 has quit [Changing host]
koolhead17 has joined #stellar-dev
<stellar-slack1>
<jlin> the first one was an issue with the sed script in line 29 of selftest-pg - my shell complained that there was extra characters after the q command. I ended up just removing the "q" and the script started working
<stellar-slack1>
<jlin> rather line 28 sorry
<stellar-slack1>
<powderfan> @eno: resolution of `1EGeCvza3PuBo5hSGiG8fqidGY4iAMVYre*http://naobtc.com|naobtc.com` works fine now However as you require the memoType `id` I have some trouble building the memo out of the federation response. `StellarSdk.Memo.id(federationRecord.memo)' throws error `Expects a int64 as a string. Got 100001`
<stellar-slack1>
<powderfan> ah ok it wants a string.
<stellar-slack1>
<powderfan> Is the client supposed to do the conversion or should federation server already return a string so that clients don't have to take care?
<stellar-slack1>
<jed> scott shouldn't the js-sdk accept either ?
<stellar-slack1>
<jed> that is just horizon displaying it as a string
<stellar-slack1>
<jed> it is an int in the core
<stellar-slack1>
<powderfan> ah ok perfect
<stellar-slack1>
<scott> yeah, we should accept either a number or a string of digits for an ID memo. The memo support in our libraries aren’t fully baked IMO
<stellar-slack1>
<jed> ok I'll add an issue
<stellar-slack1>
<scott> thanks
<stellar-slack1>
<powderfan> yeah thanks!
<stellar-slack1>
<graydon> jlin: I'm curious about the compiler and stdlib you're seeing the timer failure on
<stellar-slack1>
<graydon> jlin: (I mean I can see a way it can possibly fail if the ordering isn't stable, it's not happening here, but that's possibly due to my using a new clang or libc++)
<stellar-slack1>
<graydon> jlin: are you using g++ by any chance?
<stellar-slack1>
<graydon> (or more to the point, libstdc++ rather than libc++?)
<stellar-slack1>
<graydon> (totally no trying to shift blame; just trying to reproduce it so I can be sure I fix it!)
koolhead17 has quit [Remote host closed the connection]
koolhead17 has joined #stellar-dev
koolhead17 has quit [Remote host closed the connection]
<stellar-slack1>
<jlin> graydon as far as I know i'm using Apple LLVM version 7.0.2 (clang-700.1.81)
<stellar-slack1>
<graydon> ok. well, I have a sort of .. forcibly-corrected version I can post if you want to give it a try. I still can't actually reproduce it but this should eliminate potential problems in event ordering.
<stellar-slack1>
<jlin> thanks I'll be off line for a bit - back later on. I can post the actual error message if there's a better way / github issue? what's the prefered tracker?