Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Ngccc coloring logic
It is possible to learn about color of a transaction output only when all transactions this transaction depends on are processed. High-level coloring logic is responsible for applying [coloring kernel](NGCCC coloring kernel) in correct order to transactions it fetches from bitcoind. It is responsible for state maintenance and thus knows when we have enough information to reply to request about color.
Also it can monitor for conflicts.