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?
1 Answer
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.
-
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?– YulePaleFeb 3, 2021 at 11: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. Feb 3, 2021 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?– YulePaleFeb 3, 2021 at 15:09