Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: stempelo on April 19, 2021, 07:23:20 AM



Title: Non standard tx
Post by: stempelo on April 19, 2021, 07:23:20 AM
I can't find a pool that accepts my non-standard transactions. What alternatives are there?
Could building bitcoin core by making it accept non-standard transactions be a solution?


Title: Re: Non standard tx
Post by: NeuroticFish on April 19, 2021, 07:25:37 AM
Could building bitcoin core by making it accept non-standard transactions be a solution?

You will have to also (solo) mine a block that contains that transaction and that block will have to be also accepted by the other nodes.
So.. nope.


Title: Re: Non standard tx
Post by: stempelo on April 19, 2021, 07:49:16 AM
Could building bitcoin core by making it accept non-standard transactions be a solution?

You will have to also (solo) mine a block that contains that transaction and that block will have to be also accepted by the other nodes.
So.. nope.
Thanks, practically impossible ...


Title: Re: Non standard tx
Post by: nc50lc on April 19, 2021, 07:52:48 AM
I can't find a pool that accepts my non-standard transactions. What alternatives are there?
Recently there was one pool that accepted a non-standard transaction and was successfully mined but it came with a bounty.
Here's the user's/pool's post: https://bitcointalk.org/index.php?topic=5192454.msg55842508#msg55842508 (https://bitcointalk.org/index.php?topic=5192454.msg55842508#msg55842508)


Title: Re: Non standard tx
Post by: DaveF on April 19, 2021, 11:48:32 AM
As nc50lc said poolin was able to mine it for the last person. If you missed it in the linked thread send a PM to neutraLTC
https://bitcointalk.org/index.php?action=profile;u=181180
https://bitcointalk.org/index.php?action=pm;sa=send;u=181180

What makes is non standard and how was it created?

If it was also from Bluewallet then we as a community should start putting some pressure on the developers to start making deals with pools to mine their screwed up transactions. Otherwise people are going to have to keep paying bounties to have their TX mined.

-Dave


Title: Re: Non standard tx
Post by: stempelo on April 19, 2021, 12:23:18 PM
Thanks everyone for the answers.
Maybe I'm doing something wrong but a UTXO like this:
9837a637931f74df1cb52b1045e479e4d7065f72db4d449d732211eb0e5cfd4c out 0

Can it be redeemed nowadays?
I signed the transaction when I try to send it tells me:
"error code: -26
error message:
bad-txns-nonstandard-inputs
"

Is the transaction I build wrong or these UTXOs cannot be transferred?


Title: Re: Non standard tx
Post by: mocacinno on April 19, 2021, 12:41:37 PM
I haven't looked at this problem, but quickly got the raw tx, decoded it and decided to post it here, so others don't have to look it up :)

So, you're trying to spend output 0 of tx:
Code:
01000000015e333de8e1f0a0f723c3590a15348347e387f111d2cd57b7f206e536d447f012000000008b483045022048f24d351ac50f038d40290b988589b91f756552bece7316fb1d3b0e05a94b2c02210094e22219eacb3251e96cc77f37ed1c0cf8ef460f235d4472438f9d3d937b99a4014104d09be54f7e26f6319c2d366a04f766a7854cda67785c26f5ffdb59d4b9b1f45e272ba7cd09743cbab01fa28d19032e61f35c61ee5298c7dd7301aa05213a4ec4ffffffff02d8d6000000000000b48201200123a57ca820c632d997c111049b61669246232c2d735819616e52acc9ee94c414f673e4d353879a7c4104d09be54f7e26f6319c2d366a04f766a7854cda67785c26f5ffdb59d4b9b1f45e272ba7cd09743cbab01fa28d19032e61f35c61ee5298c7dd7301aa05213a4ec4ad7c4104b0b1367340a43ce2cc561f93422263a99b03ce0aa76a5d65a03d77fe37b248699df36dd5aad2a5ba174bc245f1f2d0bcce3da3f75cc10d8b3290ba38f86fa209ac9bd8d6000000000000b48201200123a57ca820c632d997c111049b61669246232c2d735819616e52acc9ee94c414f673e4d353879a7c4104d09be54f7e26f6319c2d366a04f766a7854cda67785c26f5ffdb59d4b9b1f45e272ba7cd09743cbab01fa28d19032e61f35c61ee5298c7dd7301aa05213a4ec4ad7c41047bafaf9f46bdbaa9caddc1071e6c0c438e691246b72b0eb87fde4e6c61634e963d2d513391593016339d649c1f1d44e92316dc72f64fa0d3785bd47f49a1b93cac9b00000000

decoded:
Code:
{
  "txid": "9837a637931f74df1cb52b1045e479e4d7065f72db4d449d732211eb0e5cfd4c",
  "hash": "9837a637931f74df1cb52b1045e479e4d7065f72db4d449d732211eb0e5cfd4c",
  "version": 1,
  "size": 568,
  "vsize": 568,
  "weight": 2272,
  "locktime": 0,
  "vin": [
    {
      "txid": "12f047d436e506f2b757cdd211f187e3478334150a59c323f7a0f0e1e83d335e",
      "vout": 0,
      "scriptSig": {
        "asm": "3045022048f24d351ac50f038d40290b988589b91f756552bece7316fb1d3b0e05a94b2c02210094e22219eacb3251e96cc77f37ed1c0cf8ef460f235d4472438f9d3d937b99a4[ALL] 04d09be54f7e26f6319c2d366a04f766a7854cda67785c26f5ffdb59d4b9b1f45e272ba7cd09743cbab01fa28d19032e61f35c61ee5298c7dd7301aa05213a4ec4",
        "hex": "483045022048f24d351ac50f038d40290b988589b91f756552bece7316fb1d3b0e05a94b2c02210094e22219eacb3251e96cc77f37ed1c0cf8ef460f235d4472438f9d3d937b99a4014104d09be54f7e26f6319c2d366a04f766a7854cda67785c26f5ffdb59d4b9b1f45e272ba7cd09743cbab01fa28d19032e61f35c61ee5298c7dd7301aa05213a4ec4"
      },
      "sequence": 4294967295
    }
  ],
  "vout": [
    {
      "value": 0.00055000,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_SIZE 32 35 OP_WITHIN OP_SWAP OP_SHA256 c632d997c111049b61669246232c2d735819616e52acc9ee94c414f673e4d353 OP_EQUAL OP_BOOLAND OP_SWAP 04d09be54f7e26f6319c2d366a04f766a7854cda67785c26f5ffdb59d4b9b1f45e272ba7cd09743cbab01fa28d19032e61f35c61ee5298c7dd7301aa05213a4ec4 OP_CHECKSIGVERIFY OP_SWAP 04b0b1367340a43ce2cc561f93422263a99b03ce0aa76a5d65a03d77fe37b248699df36dd5aad2a5ba174bc245f1f2d0bcce3da3f75cc10d8b3290ba38f86fa209 OP_CHECKSIG OP_BOOLOR",
        "hex": "8201200123a57ca820c632d997c111049b61669246232c2d735819616e52acc9ee94c414f673e4d353879a7c4104d09be54f7e26f6319c2d366a04f766a7854cda67785c26f5ffdb59d4b9b1f45e272ba7cd09743cbab01fa28d19032e61f35c61ee5298c7dd7301aa05213a4ec4ad7c4104b0b1367340a43ce2cc561f93422263a99b03ce0aa76a5d65a03d77fe37b248699df36dd5aad2a5ba174bc245f1f2d0bcce3da3f75cc10d8b3290ba38f86fa209ac9b",
        "type": "nonstandard"
      }
    },
    {
      "value": 0.00055000,
      "n": 1,
      "scriptPubKey": {
        "asm": "OP_SIZE 32 35 OP_WITHIN OP_SWAP OP_SHA256 c632d997c111049b61669246232c2d735819616e52acc9ee94c414f673e4d353 OP_EQUAL OP_BOOLAND OP_SWAP 04d09be54f7e26f6319c2d366a04f766a7854cda67785c26f5ffdb59d4b9b1f45e272ba7cd09743cbab01fa28d19032e61f35c61ee5298c7dd7301aa05213a4ec4 OP_CHECKSIGVERIFY OP_SWAP 047bafaf9f46bdbaa9caddc1071e6c0c438e691246b72b0eb87fde4e6c61634e963d2d513391593016339d649c1f1d44e92316dc72f64fa0d3785bd47f49a1b93c OP_CHECKSIG OP_BOOLOR",
        "hex": "8201200123a57ca820c632d997c111049b61669246232c2d735819616e52acc9ee94c414f673e4d353879a7c4104d09be54f7e26f6319c2d366a04f766a7854cda67785c26f5ffdb59d4b9b1f45e272ba7cd09743cbab01fa28d19032e61f35c61ee5298c7dd7301aa05213a4ec4ad7c41047bafaf9f46bdbaa9caddc1071e6c0c438e691246b72b0eb87fde4e6c61634e963d2d513391593016339d649c1f1d44e92316dc72f64fa0d3785bd47f49a1b93cac9b",
        "type": "nonstandard"
      }
    }
  ]
}


Title: Re: Non standard tx
Post by: stempelo on April 19, 2021, 12:51:45 PM
Thanks, what I would like to understand is if all these UTXO of type "" type ":" nonstandard "" are expendable or are blocked if not included by mining pool etc ...


Title: Re: Non standard tx
Post by: BrewMaster on April 19, 2021, 02:11:58 PM
Thanks, what I would like to understand is if all these UTXO of type "" type ":" nonstandard "" are expendable or are blocked if not included by mining pool etc ...

the default setting of bitcoin core is to not accept non standard transactions in the mempool and people who run this full node don't change it and even if they do majority of full nodes don't which means your transaction won't spread in the entire network enough to reach a miner. and even if it did the miner may not accept non standard transactions by default.

Is the transaction I build wrong ?
nobody can answer that without seeing the transaction you built.


Title: Re: Non standard tx
Post by: stempelo on April 19, 2021, 02:27:19 PM
 ;D
02000000014cfd5c0eeb1122739d444ddb725f06d7e479e445102bb51cdf741f9337a6379800000 00003515151ffffffff0120cb0000000000001976a914e540f8916e15c856666284fe6b0a7126dc 63ae5988ac00000000


Title: Re: Non standard tx
Post by: BrewMaster on April 19, 2021, 02:32:11 PM
;D
02000000014cfd5c0eeb1122739d444ddb725f06d7e479e445102bb51cdf741f9337a6379800000 00003515151ffffffff0120cb0000000000001976a914e540f8916e15c856666284fe6b0a7126dc 63ae5988ac00000000

this was funny :D
the OP_CHECKSIGVERIFY fails because it is looking for a signature and you have none. after running the script you will end up with a bunch of true/false on the stack and none of them are a valid signature.
it doesn't even matter if it is non standard, if you don't have the private key of this public key (04d09be54f7e26f6319c2d366a04f766a7854cda67785c26f5ffdb59d4b9b1f45e272ba7cd09743 cbab01fa28d19032e61f35c61ee5298c7dd7301aa05213a4ec4 ) (i think one is enough and not 2) you won't be able to spend this.


Title: Re: Non standard tx
Post by: stempelo on April 19, 2021, 03:05:02 PM
;D
02000000014cfd5c0eeb1122739d444ddb725f06d7e479e445102bb51cdf741f9337a6379800000 00003515151ffffffff0120cb0000000000001976a914e540f8916e15c856666284fe6b0a7126dc 63ae5988ac00000000

this was funny :D
the OP_CHECKSIGVERIFY fails because it is looking for a signature and you have none. after running the script you will end up with a bunch of true/false on the stack and none of them are a valid signature.
it doesn't even matter if it is non standard, if you don't have the private key of this public key (04d09be54f7e26f6319c2d366a04f766a7854cda67785c26f5ffdb59d4b9b1f45e272ba7cd09743 cbab01fa28d19032e61f35c61ee5298c7dd7301aa05213a4ec4 ) (i think one is enough and not 2) you won't be able to spend this.

OK, I'm back to study ... stay tuned for the next bullshit  ;D ;D ;D ;D ;D


Title: Re: Non standard tx
Post by: Timelord2067 on April 20, 2021, 06:33:30 AM
Can you post your TX using the code tag please?  It helps stop word wrap errors and the like.

In the meantime, you can check out this thread of mine:

[Guide] Broadcast Your RAW Transaction (Push TX) BTC & Alts coins (https://bitcointalk.org/index.php?topic=1938621.0)

for links to sites that broadcast RAW TX and "accelerate" those already in the mempool.


Title: Re: Non standard tx
Post by: CryptoSh1va on April 20, 2021, 05:50:32 PM
I can't find a pool that accepts my non-standard transactions. What alternatives are there?
Recently there was one pool that accepted a non-standard transaction and was successfully mined but it came with a bounty.
Here's the user's/pool's post: https://bitcointalk.org/index.php?topic=5192454.msg55842508#msg55842508 (https://bitcointalk.org/index.php?topic=5192454.msg55842508#msg55842508)
I did not understand something,
if I have an old uncompressed bitcoin address , then I will not be able to spend its funds, since the pool will consider this transaction with an uncompressed key as non-standard?


Title: Re: Non standard tx
Post by: NotATether on April 20, 2021, 06:01:39 PM
I did not understand something,
if I have an old uncompressed bitcoin address , then I will not be able to spend its funds, since the pool will consider this transaction with an uncompressed key as non-standard?

If your address was hashed and encoded from an uncompressed public key then your transactions won't be relayed by nodes (only applies to segwit addresses). It does not mean you cannot spend its funds, because they can still be manually included in blocks by miners, there are no consensus rules against that.