Validation rules

0 votes
How do you add custom validation rules? Let's say in a private blockchain one node is off line when it sends a transaction that would create a double spend based on a transaction that occurred on the one of the nodes that are online. I'm assuming that the node that was online would have it's transaction validated first so it would win over the transaction that occurred on the offline node. What if you want the winning transaction to be the lesser of the two? Do you place that logic somewhere in the parameters?
asked Dec 31, 2015 by choiway

1 Answer

0 votes
I'm afraid it's not possible to do this sort of thing, because the online nodes are not aware of the offline transaction, so they cannot change their behavior because of its existence.
answered Jan 2, 2016 by MultiChain
...