Order of trade executions inside the last closed ledger

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












How are the trades ordered before the ledger closes?



Looking from a "high frequency trading" perspective, is it possible to execute some attacks like front running on Stellar? If my node receives a trade, can I outrun it by submitting my trade faster to other nodes?







share|improve this question
























    up vote
    3
    down vote

    favorite












    How are the trades ordered before the ledger closes?



    Looking from a "high frequency trading" perspective, is it possible to execute some attacks like front running on Stellar? If my node receives a trade, can I outrun it by submitting my trade faster to other nodes?







    share|improve this question






















      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      How are the trades ordered before the ledger closes?



      Looking from a "high frequency trading" perspective, is it possible to execute some attacks like front running on Stellar? If my node receives a trade, can I outrun it by submitting my trade faster to other nodes?







      share|improve this question












      How are the trades ordered before the ledger closes?



      Looking from a "high frequency trading" perspective, is it possible to execute some attacks like front running on Stellar? If my node receives a trade, can I outrun it by submitting my trade faster to other nodes?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 7 at 14:38









      bkolobara

      163




      163




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          I asked the same question earlier.



          Jed mentioned that trades are applied in random (actually, pseudo-random) order, and transaction fees do not affect the order in which transactions are applied within the ledger. So larger fees do not prioritize trading operations, preventing Low Latency HFT manipulations.






          share|improve this answer


















          • 1




            If the validators know how to calculate this randomness, I should be able to do the same. In this case I can just generate a bunch of transactions until the final pseudo-random state suites me. I will read a bit through the stellar-core code just to try to understand it completely.
            – bkolobara
            Aug 7 at 15:04











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "686"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstellar.stackexchange.com%2fquestions%2f1383%2forder-of-trade-executions-inside-the-last-closed-ledger%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote













          I asked the same question earlier.



          Jed mentioned that trades are applied in random (actually, pseudo-random) order, and transaction fees do not affect the order in which transactions are applied within the ledger. So larger fees do not prioritize trading operations, preventing Low Latency HFT manipulations.






          share|improve this answer


















          • 1




            If the validators know how to calculate this randomness, I should be able to do the same. In this case I can just generate a bunch of transactions until the final pseudo-random state suites me. I will read a bit through the stellar-core code just to try to understand it completely.
            – bkolobara
            Aug 7 at 15:04















          up vote
          1
          down vote













          I asked the same question earlier.



          Jed mentioned that trades are applied in random (actually, pseudo-random) order, and transaction fees do not affect the order in which transactions are applied within the ledger. So larger fees do not prioritize trading operations, preventing Low Latency HFT manipulations.






          share|improve this answer


















          • 1




            If the validators know how to calculate this randomness, I should be able to do the same. In this case I can just generate a bunch of transactions until the final pseudo-random state suites me. I will read a bit through the stellar-core code just to try to understand it completely.
            – bkolobara
            Aug 7 at 15:04













          up vote
          1
          down vote










          up vote
          1
          down vote









          I asked the same question earlier.



          Jed mentioned that trades are applied in random (actually, pseudo-random) order, and transaction fees do not affect the order in which transactions are applied within the ledger. So larger fees do not prioritize trading operations, preventing Low Latency HFT manipulations.






          share|improve this answer














          I asked the same question earlier.



          Jed mentioned that trades are applied in random (actually, pseudo-random) order, and transaction fees do not affect the order in which transactions are applied within the ledger. So larger fees do not prioritize trading operations, preventing Low Latency HFT manipulations.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Aug 7 at 15:28

























          answered Aug 7 at 14:57









          Orbit Lens

          4,2411722




          4,2411722







          • 1




            If the validators know how to calculate this randomness, I should be able to do the same. In this case I can just generate a bunch of transactions until the final pseudo-random state suites me. I will read a bit through the stellar-core code just to try to understand it completely.
            – bkolobara
            Aug 7 at 15:04













          • 1




            If the validators know how to calculate this randomness, I should be able to do the same. In this case I can just generate a bunch of transactions until the final pseudo-random state suites me. I will read a bit through the stellar-core code just to try to understand it completely.
            – bkolobara
            Aug 7 at 15:04








          1




          1




          If the validators know how to calculate this randomness, I should be able to do the same. In this case I can just generate a bunch of transactions until the final pseudo-random state suites me. I will read a bit through the stellar-core code just to try to understand it completely.
          – bkolobara
          Aug 7 at 15:04





          If the validators know how to calculate this randomness, I should be able to do the same. In this case I can just generate a bunch of transactions until the final pseudo-random state suites me. I will read a bit through the stellar-core code just to try to understand it completely.
          – bkolobara
          Aug 7 at 15:04













           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstellar.stackexchange.com%2fquestions%2f1383%2forder-of-trade-executions-inside-the-last-closed-ledger%23new-answer', 'question_page');

          );

          Post as a guest













































































          GRbNdk qpPid8DMrrDXpWbpzYF9k4qJHrYNcdoKqGw
          aTx67eDtAginTX30S2bw8oc2i

          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          How many registers does an x86_64 CPU actually have?

          Displaying single band from multi-band raster using QGIS