Sync with Nodeca Core.
Drop RPC 'booleans hack'.