<stellar-slack>
<buhrmi> tokyo-stellar-history.json does not exist...
<stellar-slack>
<buhrmi> ah, stellar-core -newhist tokyo
<stellar-slack>
<buhrmi> @jed: is the -forcescp option needed? or are all nodes supposed to run without that option? if running without it the ledger number doesn't increase
<stellar-slack>
<matschaffer> should only be necessary on the first N nodes if starting a network from nothing (N = quorum threshold)
<stellar-slack>
<buhrmi> ah, okay... so after a while, (supposing the number of nodes gets larger), the -forcescp nodes can quit the network?
<stellar-slack>
<buhrmi> what if N=0
<stellar-slack>
<matschaffer> no idea what that would imply
<stellar-slack>
<matschaffer> lowest I've used is 1
<stellar-slack>
<matschaffer> but yes, so long as you have enough nodes to achieve quorum any should be able to leave the network, even the forcescp ones
<stellar-slack>
<matschaffer> there's nothing really special about the forcescp nodes either though. It just tells them to kickstart the SCP event loop instead of letting it get triggered by seeing messages from peers
<stellar-slack>
<buhrmi> with N=0 quorum is always achieved lol
<stellar-slack>
<matschaffer> no idea ¯\_(ツ)_/¯
<stellar-slack>
<matschaffer> try it and see :)
<stellar-slack>
<buhrmi> lol let's try
<stellar-slack>
<buhrmi> need a peer
<stellar-slack>
<lab> the minimal to bootstrap need 3 nodes: start node1(forcescp), start node2(forcescp), start node3, restart node1, restart node2
<stellar-slack>
<buhrmi> k
<stellar-slack>
<matschaffer> lab: shouldn't need the restarts at the end
<stellar-slack>
<buhrmi> "0" and 0 are both falsey in JS so it would always create a line with in64 as limit
<stellar-slack>
<buhrmi> should i file an issue?
<stellar-slack>
<sacarlson> I've never tried to delete a trustline, I'll have to give it a try some time
<stellar-slack>
<buhrmi> mhh, it works when the string "0", but not integer 0
<stellar-slack>
<sacarlson> oh and I did try your above but it still comes out with localhost:3000 every time not sure why
<stellar-slack>
<sacarlson> I don't see anything in config that controls it
<stellar-slack>
<sacarlson> oh bad sequence your your thing is broken?
<stellar-slack>
<buhrmi> no, but since there is no "createAccount" tx anymore, you don't know your sequence...
<stellar-slack>
<buhrmi> so if you use "0" as the sequence it should work
<stellar-slack>
<sacarlson> yes so it's broken
<stellar-slack>
<sacarlson> if no sequence is returned just use 0 that might work
<stellar-slack>
<buhrmi> 0 or 1, depending on whether the library you're using automatically adds +1
<stellar-slack>
<sacarlson> wow have to try both if first fails
<stellar-slack>
<buhrmi> or i don't know... maybe the core adds +1
<stellar-slack>
<buhrmi> i don't know who does it... lol
<stellar-slack>
<sacarlson> yes for nextseq I guess you add 1
<stellar-slack>
<sacarlson> I'll try manualy seq 1 2 3 if they all fails then it's >>>>>>you
<stellar-slack>
<buhrmi> just try 0 and 1 ^^
de_henne has joined #stellar-dev
<stellar-slack>
<sacarlson> I think it would have worked out of the box if you just set the configs to require zero and fee zero
<stellar-slack>
<sacarlson> you still create accounts but with no balance
<stellar-slack>
<sacarlson> so they will still have the start seqnum
<stellar-slack>
<sacarlson> that way no changes needed on the client pointing side
<stellar-slack>
<sacarlson> I think they also have the config for the master account start amount that you can also still set to zero
<stellar-slack>
<buhrmi> mhh I get "txInsufficientBalance" when trying to changeTrust ..
<stellar-slack>
<sacarlson> maybe you still have fee's set
<stellar-slack>
<sacarlson> with just config changes you can also upgrade your core with off the shelf stellar-core pulls
<stellar-slack>
<sacarlson> I'll make a config file for you to check out if it's all posible
<stellar-slack>
<sacarlson> found a method to change listen bind to 0.0.0.0 for me I had to add this to config/boot.rb
<stellar-slack>
<sacarlson> so with that I should assume you can now access your new network with horizon from http://stellar.ddns.net:3000|stellar.ddns.net:3000
<stellar-slack>
<buhrmi> cool... but it's down atm, i'm fixing bugs
<stellar-slack>
<sacarlson> oh mine wasn't working also I forgot to forward the port
<stellar-slack>
<sacarlson> mine should be working now when yours starts again
<stellar-slack>
<buhrmi> yeah i'm having some troubles with the implicit account creation
<stellar-slack>
<buhrmi> when adding a row to the accounts table within a transaction, it's not available for update further down the transaction
<stellar-slack>
<buhrmi> cause the transaction can only perform changes on rows that existed before it started
<stellar-slack>
<sacarlson> so what's the plan then?
<stellar-slack>
<buhrmi> working on it..
pixelb has joined #stellar-dev
<stellar-slack>
<buhrmi> it's running ... no idea if it's working tho
<stellar-slack>
<buhrmi> it's not
<stellar-slack>
<buhrmi> okay.. made some changes... looks good
<stellar-slack>
<buhrmi> i can make trustlines on my fork
<stellar-slack>
<alekar> Hey guys- i'm a non technical guy looking to learn more about stellar, if i could maybe pay someone as a consultant to answer some questions cheers!
<stellar-slack>
<buhrmi> @alekar: will you pay me in sacarlson/beer ?
<stellar-slack>
<alekar> if you lived in berlin hell yer
<stellar-slack>
<buhrmi> haha
<stellar-slack>
<alekar> re beer
<stellar-slack>
<alekar> best beer in germany
<stellar-slack>
<buhrmi> Erdinger?
<stellar-slack>
<buhrmi> Schöfferburger Weizen?
<stellar-slack>
<buhrmi> @alekar: best bet is to ask your questions here
<stellar-slack>
<buhrmi> no need to pay anyone...
<stellar-slack>
<alekar> augustiner helles
<stellar-slack>
<alekar> Are you involved in building gateways here?
<stellar-slack>
<buhrmi> yeah kinda
<stellar-slack>
<alekar> basically the gateways provide the access to the stellar network? do they issue the user IOU's and then communicate with other gateways to trade based on a users request?
<stellar-slack>
<buhrmi> i'm making a website where everybody can act as gateway
<stellar-slack>
<alekar> gateways physically hold a users currency though right?
<stellar-slack>
<alekar> so basically you get around any legal issues because each person just holds their own $
<stellar-slack>
<alekar> but on a super basic level user X wants 100USD they have 80 Euro ( whatever the Forex rate is) they have to use a US gateway which communicates with an EU one? Then the euros are on you stellar wallet? Who provides the liquidity if there is no peer interested in selling those euros?
<stellar-slack>
<dzham> @alekar: liquidity would come from independent market makers, who put up offers either directly USD/EUR or using XLM as a bridge currency
<stellar-slack>
<alekar> so if you wanted to make a larger trade say 200,000k and it was relatively urgent you'd be at their mercy re-rates? What kind of competition exists or rules to stop market makers selling the currency at a poor rate?
<stellar-slack>
<dzham> hard to say anything about competition… but poor rates (large spread) would attract other market makers
<stellar-slack>
<buhrmi> what if.... nobody trusts anyone
<stellar-slack>
<buhrmi> lol
<stellar-slack>
<dzham> MM’s are there to make money, so they would have to trust some gateways
<stellar-slack>
<buhrmi> man i suck at c++
<stellar-slack>
<buhrmi> anybody can find out why getIsNew() always returns "368" (seems so random) allthough it should be either 0 or 1 ?
<stellar-slack>
<buhrmi> but 10 lines further down i'm debugging and the output is "1"
<stellar-slack>
<dzham> ah, references :)
<stellar-slack>
<buhrmi> yeah ..... :O don't quite understand why it's "1" there and "368" somewhere else
<stellar-slack>
<dzham> c++ has changed a lot since I used to use it
<stellar-slack>
<alekar> thanks guys
<stellar-slack>
<alekar> how much would a gateway cost to build? Aside from the compliance issues? pretty keen to get one made if possible
<stellar-slack>
<dzham> depends on a lot of things.. the very simplest gateway wouldn’t cost anything, you can run it all manually
<stellar-slack>
<dzham> if you want a gateway for fiat currencies, you have to decide if you want the bank account transfers automated, and then figure out how to integrate that with your bank. you’d want notifications for inbound transactions, and ability to send outbound transfers too
<stellar-slack>
<dzham> I’m doing one for a custom asset right now, that’s a bit different.
<stellar-slack>
<alekar> I basically want to create a gateway for people (like me) who find the process now a bit technical. I'm an expat and getting money from NZ to Germany is slow and costly.. Ideally it would be for fiat currencies initially in say 3 countries.. The hurdle is KYC/ Anti money laundering law and the amount each jurisdiction requires you hold in physical cash
<stellar-slack>
<dzham> You wouldn’t be a bank, so you’d be full reserve. 1 NZD in the bank = 1 NZD in the network.
<stellar-slack>
<dzham> Money transfers and being an expat sucks. That’s one of the big reasons I got into cryptocurrencies.
<stellar-slack>
<dzham> If it helps the unbanked too, I’m all for it :)
<stellar-slack>
<buhrmi> How can it be 368
<stellar-slack>
<buhrmi> @alaka: lol fund me I'm building exactly that open source
<stellar-slack>
<buhrmi> Alekar
<stellar-slack>
<bartek> @buhrmi: are you assigning this variable somewhere?
<stellar-slack>
<buhrmi> Just the initial one at declaration and then I pass a reference to the prepared statement
<stellar-slack>
<bartek> where exactly?
<stellar-slack>
<alekar> @dzham: so are you saying you the legal requirement is fulfilled as you hold every dollar you give out an IOU for? (not the KYC /AML)
<stellar-slack>
<buhrmi> Legal requirement... good one
<stellar-slack>
<alekar> well, this banking law stuff is complicated
<stellar-slack>
<alekar> i know if you issue an IOU / digital money you are required to keep a large amount in physical bank accounts
<stellar-slack>
<alekar> @buhrmi: i'd love to see what you're doing- so you're project is really giving people like me the ability to send money to themselves/others?- if you aren't making money from it either your KYC/AML requirements aren't there? Whats the sign up process and have you designed the interface etc? from my research of all the money transfer and crypto gateways the biggest barriers are the sign ups-it takes quite a
<stellar-slack>
company that is clearly killing it in this area ( great rates- super easy sign up- free debit card and withdrawals)
<stellar-slack>
<buhrmi> Yeah well if u hold trust from someone for usd as long u actually possess the usd at any point in time so you can trade it back then there should be no problem
<stellar-slack>
<buhrmi> Legally
<stellar-slack>
<alekar> yep, its just if you wanted to provide a more federated gateway service- so you also operate the EUR end, and they trade that USD to Euro, you would either need liquidity or to have a relationship with a marker maker..
<stellar-slack>
<buhrmi> "Relationship" is hard to define in that context
<stellar-slack>
<buhrmi> But yes
<stellar-slack>
<buhrmi> That relationship would have to mean "entitlement"
<stellar-slack>
<dzham> @alekar: yeah, that *ought* to be the case.
<stellar-slack>
<dzham> As long as you’re not selling air to anyone, there’s a clean record of who holds the titles to the funds
<stellar-slack>
<dzham> But you should probably run it by a lawyer :)
<stellar-slack>
<buhrmi> Unless u issue air as asset
<stellar-slack>
<dzham> I’ve actually put some thought into carbon credits, that’s pretty close :)
<stellar-slack>
<buhrmi> If someone trades some usd for your air u can legally sell air
<stellar-slack>
<buhrmi> It's supposed to run on my own core network tho but it would work with all stellar core networks
<stellar-slack>
<bartek> > i think it's impossible to delete a trustline with the js-stellar-base @buhrmi: it expects strings. I updated stellar-base to throw an error when `limit` is not a string (version 0.3.11)
stevedomin has left #stellar-dev [#stellar-dev]
<stellar-slack>
<sacarlson> I assume from what I see after failing to connect to stellar-core testnet is that it got reset
<stellar-slack>
<sacarlson> I think scott mentioned yestarday he was planing on upgradeing horizon but didn't hear anything about a stellar-core reset
<stellar-slack>
<sacarlson> oh no it's seem i'm in "state" : "Catching up"
<stellar-slack>
<sacarlson> this is after I did a full reset cleaned out the db to start again
<stellar-slack>
<buhrmi> sacarlson: note that you cannot connect to an official testnet core with my version of the core
<stellar-slack>
<buhrmi> i made changes to the consensus protocol on my fork
<stellar-slack>
<buhrmi> (dont know if you're still running my core)
<stellar-slack>
<sacarlson> no I shut yours down
<stellar-slack>
<sacarlson> I was testing my last change of get_lines_balance expecting to find the lines I already created but they aren't there
<stellar-slack>
<buhrmi> k
<stellar-slack>
<buhrmi> i'm resetting often before the launch
<stellar-slack>
<sacarlson> I'm getting a new error now even if I run standalone
<stellar-slack>
<sacarlson> I have to go back to fred's 0c4c858... to get anything to even come up
<stellar-slack>
<sacarlson> maybe something to do with files intermigled with your new version @buhrmi ? I checked /tmp and don't see any files there
<stellar-slack>
<buhrmi> the error message looks like you dont have a validation_seed in your config
<stellar-slack>
<sacarlson> it has one, I even took it out thinking if not there it would autocreate one. maybe it's mispelled
<stellar-slack>
<sacarlson> but this was working with this same config before
de_henne has quit [Remote host closed the connection]
<stellar-slack>
<jed> lab: I don't get it? cfg.load(cfgFile); will cfg.load("-") ?
<stellar-slack>
<sacarlson> as buhrmi said seems my validation_seed must have been the last error as I put it back in with a new validation_seed and reset I get the original fault
<stellar-slack>
<sacarlson> as far as I know it was running the same code with same configs. When it failed to come up I tried full reset and still stuck.
stellar-slack has quit [Remote host closed the connection]
stellar-slack has joined #stellar-dev
<stellar-slack>
<sacarlson> I'm still running stellar-core commit b179493a328955f8927d367c712bf0dd7341f3e7
<stellar-slack>
<bartek> @sacarlson: I’m running 5182572c7cbe76a76ef444682e7213e6e273c7e1 and it works
<stellar-slack>
<scott> testnet was reset to 5182572c7cbe76a76ef444682e7213e6e273c7e1 yesterday… I wouldn’t expect any prior version to be able to catchup. The XDR definitions changed
<stellar-slack>
<sacarlson> oh thanks for telling us, I'll update