<p>Any script can be used in P2SH/P2WSH technique. Using arbitrary scripts in transaction outputs cause grows of UTXO database and other problems.</p>

CC BY-SA 4.0
2019-04-07T17:46:28.023Z
2019-04-07T17:46:28.023Z
amaclin
<p>In the Bitcoin Mainnet, only specific transaction types are accepted:</p>

<blockquote>
  <p>Bitcoin uses a scripting language to specify (and satisfy) the encumbrances, thereby allowing a whole host of transaction types. Although many transaction types can be represented in the scripting language, only a limited number of standard transaction types are actually accepted by the network and the miners. (<a href="https://www.quantabytes.com/articles/a-survey-of-bitcoin-transaction-types" rel="nofollow noreferrer">source</a>)</p>
</blockquote>

<p>What is the point of equipping Bitcoin with a scripting language, while only accepting a pre-defined set of transaction types? What harm could be caused to the network by accepting valid transactions with an arbitrary locking script?</p>

CC BY-SA 4.0
2019-04-07T21:04:57.000Z
This information seems very outdated (or wrong).
Pieter Wuille
<transactions><script><transaction-verification>
Why are only specific transaction types accepted into the mempool?
Bobface
# Why are only specific transaction types accepted into the mempool?

(Asked by: username_0 on 2019-04-07)

In the Bitcoin Mainnet, only specific transaction types are accepted:

> Bitcoin uses a scripting language to specify (and satisfy) the encumbrances, thereby allowing a whole host of transaction types. Although many transaction types can be represented in the scripting language, only a limited number of standard transaction types are actually accepted by the network and the miners. ([source](https://www.quantabytes.com/articles/a-survey-of-bitcoin-transaction-types))

What is the point of equipping Bitcoin with a scripting language, while only accepting a pre-defined set of transaction types? What harm could be caused to the network by accepting valid transactions with an arbitrary locking script?

**Tags:** transactions, script, transaction-verification

> **Comments:**
> **username_1**: This information seems very outdated (or wrong).  

---

## 1 answers

### Answer by username_2 on 2019-04-07. Score: 5 | Accepted answer

Any script can be used in P2SH/P2WSH technique. Using arbitrary scripts in transaction outputs cause grows of UTXO database and other problems.


---

