<p><a href="https://github.com/bitcoin/bitcoin/blob/master/test/functional/test_framework/script.py" rel="nofollow noreferrer">script.py</a> of the Bitcoin Core functional test framework contains a comment that it was initially modified from python-bitcoinlib.</p>
<p>There doesn't appear to have been any code sharing beyond that and certainly not any later changes pushed up/downstream.</p>
<p>I asked Kanzure (previous maintainer of python-bitcoinlib) on IRC about it and he said:</p>
<blockquote>
<p>python-bitcoinlib is forked from a thing that was itself incorporated into bitcoin core's functional test framework or the thing it was forked from was from code in the bitcoin core repository, i forget the lineage exactly but python-bitcoinlib came later</p>
</blockquote>

CC BY-SA 4.0
2020-12-31T16:20:10.827Z
2020-12-31T16:20:10.827Z
Michael Folkson
<p>Does <a href="https://github.com/petertodd/python-bitcoinlib" rel="nofollow noreferrer">python-bitcoinlib</a> and the Bitcoin Core <a href="https://github.com/bitcoin/bitcoin/tree/master/test/functional/test_framework" rel="nofollow noreferrer">functional test framework</a> share code? Were changes ever pushed down/upstream?</p>

<bitcoin-core-development><python><functional-test><python-bitcoinlib>
Does python-bitcoinlib and the Bitcoin Core functional test framework share code? Were changes ever pushed down/upstream?
Michael Folkson
# Does python-bitcoinlib and the Bitcoin Core functional test framework share code? Were changes ever pushed down/upstream?

(Asked by: username_0 on 2020-12-31)

Does [python-bitcoinlib](https://github.com/petertodd/python-bitcoinlib) and the Bitcoin Core [functional test framework](https://github.com/bitcoin/bitcoin/tree/master/test/functional/test_framework) share code? Were changes ever pushed down/upstream?

**Tags:** bitcoin-core-development, python, functional-test, python-bitcoinlib


---

## 1 answers

### Answer by username_0 on 2020-12-31. Score: 1 | Accepted answer

[script.py](https://github.com/bitcoin/bitcoin/blob/master/test/functional/test_framework/script.py) of the Bitcoin Core functional test framework contains a comment that it was initially modified from python-bitcoinlib.

There doesn't appear to have been any code sharing beyond that and certainly not any later changes pushed up/downstream.

I asked Kanzure (previous maintainer of python-bitcoinlib) on IRC about it and he said:

> python-bitcoinlib is forked from a thing that was itself incorporated into bitcoin core's functional test framework or the thing it was forked from was from code in the bitcoin core repository, i forget the lineage exactly but python-bitcoinlib came later


---

