3

Is it possible to create a node with some different code from the bitcoin nodes but still able to talk to the bitcoin nodes? Is it possible for someone to customize their own node to add some functionality but still connect to bitcoin network and talk to other nodes?

7

Of course.

Bitcoin nodes are just software that implements the Bitcoin P2P protocol. There are many software packages out there that do so (including full nodes, standalone wallets, indexing software, ...). There is no magic sauce that somehow blesses a particular piece of software into the realm of nodes - anything that speaks the protocol will do.

Furthermore, most of these (and probably all the ones you should care about) are open source, so making modifications to add functionality yourself is very much possible.

8
  • Can someone create a group of nodes that have smart contracts while other bitcoin nodes don't have smart contracts. Can it work like that? – YulePale Feb 3 at 11:48
  • @YulePale Yes, it can. It might be tricky, but it is possible. – wizzwizz4 Feb 3 at 12:14
  • Kindly explain, why might it be tricky? – YulePale Feb 3 at 13:48
  • A subset of smart contracts are already supported by Script. If you extend the op-code language to support more op-codes, you'd need to do it such a way that the smart contracts would still be considered valid transactions by the rest of the network. – Prunus Persica Feb 3 at 15:02
  • I think I understand. Can a smart contract in another block-chain let us say ethereum be made such that it only executes when a certain transaction is made on the bitcoin network? Will it be secure? – YulePale Feb 3 at 15:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.