How to test if a transaction is standard without spending real money?How can I find the “real” difficulty on testnet?How to sign non-standard transactionWhy was this transaction allowed on testnet?Non standard transaction value negative, empty sigScript, empty Pubkeyscript?Test network completely removed from the real network?How is a “standard” Bitcoin transaction defined?Is there an active testnet for Bitcoin Cash?Why can non-standard transactions be mined but not relayed?Why are all testnet transactions currently unconfirmed and all faucets empty?NBitcoin get signature, use spending P2SH transaction with non-standard script

Can I make popcorn with any corn?

Modeling an IPv4 Address

What would happen to a modern skyscraper if it rains micro blackholes?

Why doesn't H₄O²⁺ exist?

TGV timetables / schedules?

How is it possible to have an ability score that is less than 3?

How to find program name(s) of an installed package?

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Arthur Somervell: 1000 Exercises - Meaning of this notation

Did Shadowfax go to Valinor?

Approximately how much travel time was saved by the opening of the Suez Canal in 1869?

Languages that we cannot (dis)prove to be Context-Free

Theorem, big Paralist and Amsart

Why does Kotter return in Welcome Back Kotter?

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

Why, historically, did Gödel think CH was false?

Why do falling prices hurt debtors?

Font hinting is lost in Chrome-like browsers (for some languages )

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

Why not use SQL instead of GraphQL?

Writing rule stating superpower from different root cause is bad writing

Problem of parity - Can we draw a closed path made up of 20 line segments...



How to test if a transaction is standard without spending real money?


How can I find the “real” difficulty on testnet?How to sign non-standard transactionWhy was this transaction allowed on testnet?Non standard transaction value negative, empty sigScript, empty Pubkeyscript?Test network completely removed from the real network?How is a “standard” Bitcoin transaction defined?Is there an active testnet for Bitcoin Cash?Why can non-standard transactions be mined but not relayed?Why are all testnet transactions currently unconfirmed and all faucets empty?NBitcoin get signature, use spending P2SH transaction with non-standard script













2















The problem with Testnet is all types of transactions are allowed, so how can I know if a transaction would be rejected on mainet ?










share|improve this question


























    2















    The problem with Testnet is all types of transactions are allowed, so how can I know if a transaction would be rejected on mainet ?










    share|improve this question
























      2












      2








      2








      The problem with Testnet is all types of transactions are allowed, so how can I know if a transaction would be rejected on mainet ?










      share|improve this question














      The problem with Testnet is all types of transactions are allowed, so how can I know if a transaction would be rejected on mainet ?







      testnet non-standard-transaction






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 5 hours ago









      user2284570user2284570

      1308




      1308




















          1 Answer
          1






          active

          oldest

          votes


















          3














          You can use Bitcoin Core's testmempoolaccept RPC. It will tell you whether the transaction you give it would be accepted into your node's mempool at that time but won't actually add it to the mempool or broadcast it.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "308"
            ;
            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            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%2fbitcoin.stackexchange.com%2fquestions%2f85874%2fhow-to-test-if-a-transaction-is-standard-without-spending-real-money%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            3














            You can use Bitcoin Core's testmempoolaccept RPC. It will tell you whether the transaction you give it would be accepted into your node's mempool at that time but won't actually add it to the mempool or broadcast it.






            share|improve this answer



























              3














              You can use Bitcoin Core's testmempoolaccept RPC. It will tell you whether the transaction you give it would be accepted into your node's mempool at that time but won't actually add it to the mempool or broadcast it.






              share|improve this answer

























                3












                3








                3







                You can use Bitcoin Core's testmempoolaccept RPC. It will tell you whether the transaction you give it would be accepted into your node's mempool at that time but won't actually add it to the mempool or broadcast it.






                share|improve this answer













                You can use Bitcoin Core's testmempoolaccept RPC. It will tell you whether the transaction you give it would be accepted into your node's mempool at that time but won't actually add it to the mempool or broadcast it.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 4 hours ago









                Andrew Chow♦Andrew Chow

                33.4k42462




                33.4k42462



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Bitcoin Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid …


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fbitcoin.stackexchange.com%2fquestions%2f85874%2fhow-to-test-if-a-transaction-is-standard-without-spending-real-money%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    The Calvary Singular or Plural The 2019 Stack Overflow Developer Survey Results Are InAre collective nouns always plural, or are certain ones singular?Is “audience” singular or plural?“Wasn't” vs. “weren't” in a vernacular sentence“My last couple of years” — singular or plural?Is 'rest' singular or plural?Is “all but one” singular or plural?Whether to use the singular or plural form of basis?Singular and Plural for numbersIs there a plural form of teeth?performance: plural vs singular?singular or plural nouns?Singular and Plural

                    What is the correct present continuous form of “thunder” and “lightning”? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraWhat is the past tense of “lightning”?What part of speech is the “be + verb” here? What tense are these sentences in?Present perfect and present perfect continuous for actions in progressIs it correct to mix past, present and future tense in a sentence?Correct verb form in two sentencesSimple vs Continuous in the Past Tense and in the Future TenseUsing present continuous passive (is being) for describing repeating (undesirable) actionssituations in which simple present and present continuous are interchangeable?Present Perfect Simple vs Present Perfect ContinuousWhat is the proper way to express a future action that depends on a past event?Progressive Form of Be and Lately in Present Continuous

                    Is it possible to static_assert that a lambda is not generic?Can we get the type of a lambda argument?Is it possible to write a template to check for a function's existence?What is a lambda expression in C++11?Compiling with gcc fails if using lambda function for QObject::connect()c++11 - getting result_of, decltype, std::function and variadic templates working togetherTemplate Type Deduction with LambdasVariadic template method and std::function - compilation errorRecursively visiting an `std::variant` using lambdas and fixed-point combinatorsClang can't find template binary operator in fold expressionGenerating lambda from class templateGetting active value in std::visit without knowing which value is active