sv-logger has quit [Remote host closed the connection]
sv-logger has joined #stellar-dev
<stellar-slack>
<sacarlson> just to chime in on my fidelity brokerage account bid prices are input in decimal. the individual unit price is displayed in 5 decimal places. I'm not sure all brokerages are the same
[7] has quit [Disconnected by services]
TheSeven has joined #stellar-dev
ultrashag has quit [Ping timeout: 246 seconds]
ultrashag has joined #stellar-dev
<stellar-slack>
<sacarlson> I just looked up Charles Schwab broker and they also use 5 decimal places for more accurate reconciliation. to me as far as ledger storage the integer is fine as long as we would know what to mulitply it by to position the decimal point
gst has quit [Remote host closed the connection]
<stellar-slack>
<buhrmi> @fredolafritte: thanks for starring my project :)
<stellar-slack>
<buhrmi> Can a stellar-core transaction be made from an address that never received a "createAccount" transaction before? if not, that needs to be possible
sacarlson has quit [Ping timeout: 246 seconds]
<stellar-slack>
<jed> why do you want that?
<stellar-slack>
<buhrmi> because of that green fellow here
<stellar-slack>
<buhrmi> if he needs to receive a createaccount tx before being able to participate, it means the entity who sends the createaccount tx is a central authority
<stellar-slack>
<buhrmi> or maybe, if that's technically not feasible, maybe lumen should be renamed to "earth currency" or something
<stellar-slack>
<buhrmi> earth credits
<stellar-slack>
<sacarlson> in the old version of stellard you just send native 20 to the account to activate it. on this version the createaccount is required to get the original funding
sacarlson has joined #stellar-dev
<stellar-slack>
<buhrmi> it should be possible to participate without funding
<stellar-slack>
<sacarlson> I think you can as I said you can set the values in stellar-core config
<stellar-slack>
<sacarlson> we just haven't tried it yet
<stellar-slack>
<buhrmi> right ...
<stellar-slack>
<sacarlson> but I assume even if set to zero you would still have to run the createaccount but just not requied to send funds to do it
<stellar-slack>
<sacarlson> so my guess is it won't work since you would have to be a member to create an account, no one could ever become a member since there is no funds
<stellar-slack>
<sacarlson> maybe something like a freindbot would have to be created to open new accounts
<stellar-slack>
<jed> you don't have to get your lumens from a central authority. but all txs require a small lumen fee. so you need some amount before you do anything.
<stellar-slack>
<buhrmi> what if we set the fee to zero?
<stellar-slack>
<lab> then how prevent spamers?
<stellar-slack>
<lab> spam accounts and txs
<stellar-slack>
<buhrmi> who cares about spammer ^^
<stellar-slack>
<buhrmi> just ignore
<stellar-slack>
<lab> the ledger will be filled with terabytes garbage?
<stellar-slack>
<buhrmi> who knows
<stellar-slack>
<buhrmi> who gets to decide what is garbage and what's not?
<stellar-slack>
<buhrmi> a central authority?
<stellar-slack>
<lab> you wont pay for garbage
<stellar-slack>
<lab> createaccountop can be issued by any other account, not central authority
<stellar-slack>
<lab> i care about ledger size because i'm running a stellar-core node.
<stellar-slack>
<lab> storage is cheap but costs.
<stellar-slack>
<buhrmi> i'm running one too
<stellar-slack>
<buhrmi> so at when the core "launches" there'll be a genesis ledger, no?
<stellar-slack>
<buhrmi> how much native currency will be there
<stellar-slack>
<buhrmi> as long as the genesis ledger is not completely empty, there'll be a central authority
de_henne has joined #stellar-dev
<stellar-slack>
<buhrmi> so the live network should either launch with a completely empty genesis ledger... or not at all
<stellar-slack>
<sacarlson> who will pay for the terabytes of storage? Won't be me I"m poor and can't afford the storage nor the bandwidth to run a node with tarabytes. we had the same problem with bitcoin
<stellar-slack>
<lab> empty ledger. str->xlm is on demand
<stellar-slack>
<sacarlson> the way I see it stellar was designed to run on cheap hardware with little overhead so more people could participate with more nodes. otherwise it will only be rich banks that can afford to run nodes
<stellar-slack>
<buhrmi> i see you are still thinking in deprecated ways
<stellar-slack>
<buhrmi> what's a "rich bank"?
<stellar-slack>
<buhrmi> banks trade with debt
<stellar-slack>
<buhrmi> someone who has debt how can he be rich
<stellar-slack>
<sacarlson> a gateway that make profit from stellar. they will be the only ones that could run in tarabytes and remind you it will be slower transactions
<stellar-slack>
<buhrmi> stellar is not-for-profit
<stellar-slack>
<sacarlson> there will be entity that will hook to stellar that will make a profit
<stellar-slack>
<buhrmi> yeah
<stellar-slack>
<buhrmi> that could be you
<stellar-slack>
<sacarlson> not likly me. I'm just for free poker. I'm for giving it away. but my poker won't be free if run in tarabytes
<stellar-slack>
<sacarlson> tarabytes cost more than 4 cents
<stellar-slack>
<buhrmi> anyway, genesis ledger should be empty
<stellar-slack>
<sacarlson> you mean like empty ledger. str->xlm is on demand like lab said? that's fine
<stellar-slack>
<buhrmi> i don't understand what "empty ledger. str->xlm is on demand" means
<stellar-slack>
<buhrmi> i can't parse that
<stellar-slack>
<sacarlson> there is already a distrubution of str on the stellard network that many people already hold. my guess is that when the new network starts there will then be 200 Billion minted STR + XLM
<stellar-slack>
<buhrmi> so?
<stellar-slack>
<sacarlson> so most would belong to Stellar that in a sence like stocks they issued more of them
<stellar-slack>
<sacarlson> diluting the value if pumped into the market
<stellar-slack>
<buhrmi> as long as they are issued as normal assets on the new network instead of built into the genesis ledger as native currency, i think it's okay
<stellar-slack>
<sacarlson> that makes sence you could just buy move the asset of STR into the new network and then just trade it for XLM I guess
<stellar-slack>
<buhrmi> yeah
<stellar-slack>
<buhrmi> Federation can issue XLM as just another asset on the new network
<stellar-slack>
<buhrmi> and the ledger can be completely empty at launch
<stellar-slack>
<sacarlson> so who would be the issure of XLM? anyone?
<stellar-slack>
<buhrmi> the account that belongs to the federation
<stellar-slack>
<buhrmi> anyone could issue an asset with the code "XLM" .. but it would not be the same
<stellar-slack>
<sacarlson> basicly XLM is is just another asset with a fixed issuer with fixed number of total assets held not borowed or loaned
<stellar-slack>
<lab> account belongs to nobody else, but the one hold secret key
<stellar-slack>
<buhrmi> yes
<stellar-slack>
<buhrmi> @lab: yeah thats what i mean
<stellar-slack>
<buhrmi> the account that the federation holds the secret key to
<stellar-slack>
<lab> what do you mean federation?
<stellar-slack>
<buhrmi> The guys at stellar
<stellar-slack>
<sacarlson> I think he means federation is anyone that starts a stellar network in this case stellar
<stellar-slack>
<lab> buhrmi, do you mean the root account initially has 100Bil XLM?
<stellar-slack>
<lab> then yes.
<stellar-slack>
<lab> sdf hold it
<stellar-slack>
<buhrmi> the "root account" would just be any other account
<stellar-slack>
<buhrmi> there's no "root"
<stellar-slack>
<sacarlson> I'm guessing buhrmi doesn't think it's fair that Stellar holds all or most of the 100B that a more fair method would be?
<stellar-slack>
<buhrmi> i think it's not fair to have values assigned to addresses in the genesis ledger
<stellar-slack>
<sacarlson> I'm poor and I see there method with STR or XLM to keep the price down or distribute the cost of operation as a viable method. otherwise the cost will be someplace else and will cost more
<stellar-slack>
<buhrmi> lol why do you always say you're poor
<stellar-slack>
<sacarlson> when your rich you don't care about costs
<stellar-slack>
<buhrmi> i don't think that's true
<stellar-slack>
<sacarlson> when you only make $1 a day at work then maybe you won't go to macdonalds and buy a bigmac you just have to find ways to do it cheaper
<stellar-slack>
<sacarlson> I can see a posibiltity that nodes can be paid for transaction fee's to help pay for there operation maybe that's a better solution to distribute the cost to those that support the network
<stellar-slack>
<buhrmi> lol as long as you keep thinking in dollars and cents...
<stellar-slack>
<sacarlson> Baht and BEER
<stellar-slack>
<buhrmi> there ya go
<stellar-slack>
<sacarlson> so you want the entire system to be in fiat currency with added bitcoin and other assets?
<stellar-slack>
<buhrmi> i never quite understood what "fiat" meant so...
<stellar-slack>
<sacarlson> fiat is a nations currency like USD EUR....
<stellar-slack>
<sacarlson> no 2017 stock markets crash with a total crash of the world finacial system
<stellar-slack>
<sacarlson> so we will need stellar to replace all the worthless money with instant access to comodity or other money if needed
<stellar-slack>
<lab> it matchs
<stellar-slack>
<lab> stellar is for the poors. at that time, the world if full of poors
<stellar-slack>
<lab> :v:
<stellar-slack>
<lab> s/if/is
de_henne has quit [Read error: Connection reset by peer]
de_henne has joined #stellar-dev
<stellar-slack>
<buhrmi> ... as long as they got internet and power :P
<stellar-slack>
<buhrmi> need solar-powered stellar node
de_henne has quit [Read error: Connection reset by peer]
<stellar-slack>
<sacarlson> and a mesh network to allow not having to use any centralized Internet
de_henne has joined #stellar-dev
<stellar-slack>
<sacarlson> I was thinking as at this time we only have like 10 nodes. what would stop an entity from bringing up 20 cores all runing on accelerated time and manipulate transactions? maybe it would take more cores?
<stellar-slack>
<lab> don't worry. the world won't crash. you guys have us, diligent chinese.
<stellar-slack>
<buhrmi> yay i wanna go to china
<stellar-slack>
<sacarlson> it's not far for you buhrmi jump in a boat and check it out
<stellar-slack>
<lab> do you have haze immunity?
<stellar-slack>
<buhrmi> yoyo china, i heard u guys are friends with north korea
<stellar-slack>
<buhrmi> that sucks, u should move
<stellar-slack>
<buhrmi> not healthy
<stellar-slack>
<lab> move to north korea?
<stellar-slack>
<buhrmi> LOL
<stellar-slack>
<sacarlson> I lived in LA for 20 years it was about the same
<stellar-slack>
<buhrmi> tell kim jun un about stellar
<stellar-slack>
<sacarlson> maybe not quite that bad
<stellar-slack>
<lab> where are you living now?
<stellar-slack>
<sacarlson> me? I now reside in Pattaya Thailand
<stellar-slack>
<lab> i envy you.
<stellar-slack>
<sacarlson> @jed seems your reset of the old stellard has also broken the freindbot
<stellar-slack>
<sacarlson> so my pokerthacc is dead until we get some funding
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
<stellar-slack>
<sacarlson> on the positive side it looks like you fixed the http://test.stellar.org:9002|test.stellar.org:9002 SSL encrytion problem as seen with openssl s_client -connect http://test.stellar.org:9002|test.stellar.org:9002
<stellar-slack>
<buhrmi> lol 16 peers now
<stellar-slack>
<sacarlson> I think that count is not correct as it seems it sees all my old address when my ISP gives me a new ip
<stellar-slack>
<sacarlson> as today my IP is 124.122.242.54 you will not tomaro it will still be there but my IP changes every 24 hours
<stellar-slack>
<buhrmi> ah...
<stellar-slack>
<sacarlson> so I think I'm listed 5 times
ultrashag has quit [*.net *.split]
Kwelstr has quit [*.net *.split]
moo-_- has quit [*.net *.split]
etrepum has quit [*.net *.split]
sacarlson has quit [*.net *.split]
gst has joined #stellar-dev
gst has joined #stellar-dev
sacarlson has joined #stellar-dev
ultrashag has joined #stellar-dev
Kwelstr has joined #stellar-dev
moo-_- has joined #stellar-dev
etrepum has joined #stellar-dev
ultrashag has quit [*.net *.split]
Kwelstr has quit [*.net *.split]
moo-_- has quit [*.net *.split]
etrepum has quit [*.net *.split]
Kwelstr has joined #stellar-dev
moo-_- has joined #stellar-dev
etrepum has joined #stellar-dev
ultrashag has joined #stellar-dev
<stellar-slack>
<buhrmi> StellarBase.verify('string', 'string', 'string') -> signature.toJSON is not a function
<stellar-slack>
<buhrmi> what kind of arguments is it expecting? (using the javascript sdk)
<stellar-slack>
<buhrmi> still now clue ... lol .. assuming i have the public key in the normal string format like 'SBLBFPBVZOPXF75SKX2R3EZDCQT4WE3FGDECDDHGLRQSNAXLHBCT4ZHI'
<stellar-slack>
<buhrmi> how do i get it into a format i can use at argument?
<stellar-slack>
<bartek> @buhrmi: sorry, I forgot about you. I will send an example in a minute.
<stellar-slack>
<buhrmi> cool, thanks... also whats the difference between secret key and secret seed? when do i need what? -.-
<stellar-slack>
<lab> seed can be arbitrary, private key is not.
<stellar-slack>
<sacarlson> arbitrary like raw_seed?
<stellar-slack>
<lab> no, i meant raw_seed, seed is encoded by raw_seed and it's crc protected.
<stellar-slack>
<sacarlson> when I create a new account pair I think it returns what they call the secret seed that can be viewed with keypair.seed. maybe there is a keypair.key ?
<stellar-slack>
<sacarlson> all I ever need is the keypair.address and keypair.seed to do all transactions I know
<stellar-slack>
<bartek> @buhrmi: I’ve just released stellar-base v0.3.10 to npm and bower which includes `Keypair.rawSecretKey()` method. update to this version, change `keypair.rawSeed()` to `keypair.rawSecretKey()` in my example and it should work. sorry for a confusion.
<stellar-slack>
<fredolafritte> is there anything that prevents my js-stellar-base PR to be merged ? There is a blocker bug regarding setting the trust in the vanilla code
<stellar-slack>
<sacarlson> on testnet I see only my added trustline and one other mine being BEER. so how was TEST trustline created? was that with jr-stellar-base vanilla code?
<stellar-slack>
<fredolafritte> trustline with no limit ?
<stellar-slack>
<sacarlson> let me check
<stellar-slack>
<sacarlson> the currency is TEST
<stellar-slack>
<sacarlson> oh it's just an offer from GBBM6BKZPEHWYO3E3YKREDPQXMS4VK35YLNU7NFBRI26RAN7GI5POFBB
<stellar-slack>
<sacarlson> but there is no trustline for that account
<stellar-slack>
<sacarlson> how can you create an offer without a trustline? oh unless you are the issuer?
<stellar-slack>
<sacarlson> seems I recall on stellard you couldn't directly create an offer from the issuer I had to setup trustlines and issuer to another to allow offer and trade
<stellar-slack>
<sacarlson> not that there is anything wrong with it
<stellar-slack>
<scott> @sacarlson: do you by any chance know Dr. Iain Corness? (an somewhat prominent aussie expat living in Pattaya) He’s a family friend
<stellar-slack>
<sacarlson> not off hand
<stellar-slack>
<sacarlson> does he hand out at the beach?
<stellar-slack>
<scott> he writes for the expat news there (pattaya mail?) and sometimes does local tv spots
<stellar-slack>
<scott> he’s an old dude now, I don’t think he spends any time on the beach :)
<stellar-slack>
<sacarlson> oh I think I know who you mean, I've only seen him a few times in person but never met him
<stellar-slack>
<sacarlson> my next door nabor know him
<stellar-slack>
<scott> :) nice. small world
<stellar-slack>
<sacarlson> so if I bring up horizon the ruby one it will run standalone won't it without go-horizon?
<stellar-slack>
<scott> I would say no. It runs, but it doesn’t support any of the read endpoints… it just imports history in the background and helps to post transactions to stellar-core
<stellar-slack>
<scott> But the first thing I’ll be doing after we get our next launch out will be to move the both of those pieces into go-horizon, then ruby will be gone from the server side for good
<stellar-slack>
<scott> (that’s just to keep you up to speed with our plans)
<stellar-slack>
<sacarlson> what is a "read endpoint"? will it do standard transactions? payments, addtrust, offer
<stellar-slack>
<scott> the read endpoints are anything besides `POST /transactions`. Any url to read historical information or account information
<stellar-slack>
<sacarlson> ok so it can run standalone and maybe at least get an account ballance?
<stellar-slack>
<sacarlson> I'm just looking to setup one at a time
<stellar-slack>
<sacarlson> to get both to work at the same time might add complications
<stellar-slack>
<scott> ah! yeah, you can get it working by itself
<stellar-slack>
<sacarlson> ok well I have both installed now but was going to try bring that up first. unless maybe I can try bring go-horizon up standalone. what will it do alone?
<stellar-slack>
<scott> the `GET /accounts/:ADDRESS` endpoint works in ruby horizon still, although the content of the response is out of date with the design
<stellar-slack>
<scott> go-horizon will not do anything alone
<stellar-slack>
<sacarlson> ok
<stellar-slack>
<scott> it depends upon ruby horizon to import data for it
<stellar-slack>
<sacarlson> so I'll bring up horizon ruby alone first, test it a bit then try bring up go-horizon
<stellar-slack>
<scott> sounds like a plan. I know you’re mostly on the opposite schedule as me, but I’ll try to follow along with your chats with other members to see if I can help
<stellar-slack>
<sacarlson> I'm about to move my stellar-core to postgress in a moment. not sure if I need to create the database first or if it will do it
stellar-slack1 has joined #stellar-dev
<stellar-slack>
<scott> you need to create the database manually, and you can use stellar-core to create the tables by launching it using `stellar-core --newdb`
<stellar-slack1>
<scott> you need to create the database manually, and you can use stellar-core to create the tables by launching it using `stellar-core --newdb`
<stellar-slack1>
<scott> I don’t know what that’s about
<stellar-slack>
<scott> I don’t know what that’s about
<stellar-slack1>
<sacarlson> looks like a loop?
stellar-slack1 has quit [Remote host closed the connection]
stellar-slack1 has joined #stellar-dev
stellar-slack has quit [Ping timeout: 264 seconds]
<stellar-slack1>
<sacarlson> looks like the move to postres is working with ETA: 137 seconds but I don't see the tables filled in from pgadmin yet.
<stellar-slack1>
<sacarlson> I now have "state" : "Synced!" but still don't see data in stellar postgres database so I must be looking at the wrong one
<stellar-slack1>
<scott> hmm, perhaps you’re not using the config file you think you are and the one that is actually being used is still configured for sqlite?
<stellar-slack1>
<scott> by default, it will use the `stellar-core.cfg` file in your current working directry
<stellar-slack1>
<scott> you can override it with a flag though
<stellar-slack1>
<sacarlson> no none of the sqlite files are showing up so I assume it's on postgres I'm new to postgres and this pgadmin so
<stellar-slack1>
<sacarlson> my script points it to the config I want
<stellar-slack1>
<scott> cool
<stellar-slack1>
<scott> if you paste me the db connection string you’re using I can give you a little command line snippet (provided you have bash and psql installed) that tests to see if the db is being populated
<stellar-slack1>
<scott> `psql postgres://sacarlson:password@localhost/stellar -c "SELECT count(*) FROM accounts”`
<stellar-slack1>
<scott> It should print something like: ` count ------- 5 (1 row)`
<stellar-slack1>
<scott> so, you’re up and running… not sure what’s wrong with pgadmin though
<stellar-slack1>
<sacarlson> I think it's there is just I must be looking in the wrong place with pgadmin
<stellar-slack1>
<scott> I’ve got no experience with that tool, so I won’t be able to help :)
<stellar-slack1>
<sacarlson> probly some brain fart on my side
<stellar-slack1>
<sacarlson> there are many different databases now with different users but I looked in most of them
<stellar-slack1>
<sacarlson> I'll try another postgres gui tool to verify
<stellar-slack1>
<sacarlson> I figured it out after install of phppgadmin it was easy to find but in pgadmin its baried deep under like subdirectories postgres>sacarlson>stellar>Schemas>public>tables