It is great to have more examples of building a indexed fast query representations of the the current ledger state.
What did you guys go with as a policy for handling or avoiding orphan blocks...
What did you guys go with as a policy for handling or avoiding orphan blocks...
If you're referring to side chain blocks (which some people refer to as orphan blocks) we'll extend them to be the main chain should they win or leave them forever marked as side chain blocks. We aren't doing anything to explicitly avoid these either.