20 Nov 2018 |
komodobridge | [discord] <SHossain> both | 19:31:38 |
komodobridge | [discord] <SHossain> few different files gets created for a single swap. they contain all the information | 19:32:09 |
komodobridge | [discord] <wbradt> I'm asking about orders not swaps | 19:32:31 |
komodobridge | [discord] <wbradt> Can there be only one swap per order? | 19:32:48 |
komodobridge | [discord] <SHossain> are you talking about alice of bob order? | 19:33:28 |
komodobridge | [discord] <wbradt> Bob | 19:36:08 |
komodobridge | [discord] <SHossain> there can be multiple swap per order. that depends on the amount of utxos bob has | 19:37:20 |
komodobridge | [discord] <wbradt> So is there a uuid for bob orders? And is there one for alice orders? | 19:42:28 |
komodobridge | [discord] <SHossain> for a swap it is same `uuid`, `quoteid` & `requestid` that bob and alice gets | 19:46:50 |
komodobridge | [discord] <wbradt> I'm asking about orders not swaps | 19:47:09 |
komodobridge | [discord] <SHossain> orders doesn't have uuid | 19:47:21 |
komodobridge | [discord] <wbradt> Ok thanks | 19:47:33 |
komodobridge | [discord] <wbradt> Can bobs use the "buy" and "sell" RPC methods? | 20:21:27 |
komodobridge | [discord] <jl777c> no, using buy and sell make you alice | 20:30:03 |
komodobridge | [discord] <wbradt> Thanks @jl777c | 20:31:43 |
komodobridge | [discord] <wbradt> @jl777c I asked someone else this earlier but wanted to be sure: Orders do not have UUIDs, right? | 20:34:17 |
komodobridge | [discord] <jl777c> well, a uuid is created when alice creates the order, but like one hand clapping, without bob answering it, did it really exist? | 20:35:05 |
komodobridge | [discord] <wbradt> So they do have UUIDs? | 20:36:58 |
komodobridge | [discord] <wbradt> If so, is that the UUID created in `LP_autobuy`? @jl777c | 20:39:16 |
komodobridge | [discord] <wbradt> If so, is that the UUID created in `LP_autobuy` here: https://github.com/KomodoPlatform/KomodoPlatform/blob/master/iguana/exchanges/LP_ordermatch.c#L1828? @jl777c | 20:40:13 |
komodobridge | [discord] <jl777c> yes, also the caller can set a uuid | 20:44:41 |
komodobridge | [discord] <wbradt> Thanks--I spent a little too long trying to figure out if that was the uuid for a swap or the order | 20:47:04 |
komodobridge | [discord] <wbradt> Are the uuid's stored anywhere? | 20:47:35 |
komodobridge | [discord] <wbradt> For bob (and maybe alice too) | 20:47:47 |
komodobridge | [discord] <jl777c> it ends up in the json for the swap request | 20:48:11 |
komodobridge | [discord] <jl777c> which then ends up in DB/SWAPS | 20:48:16 |
komodobridge | [discord] <wbradt> Is that under the "uuid" key? | 20:52:30 |
komodobridge | [discord] <jl777c> yes | 20:54:51 |
komodobridge | [discord] <jl777c> what else could that be | 20:54:57 |
komodobridge | [discord] <jl777c> i try to make things clear | 20:55:10 |