contract Blacklist is BlacklistInterface, Ownable {

    mapping (address => bool) blacklisted;

    /**
     * @dev Add a node to the blacklist.
     * @param node The node to add to the blacklist.
     */
    function blacklist(address node) public onlyOwner {
        blacklisted[node] = true;
        Blacklisted(node);
    }
    
    /** 
     * @dev Remove a node from the blacklist.
     * @param node The node to remove from the blacklist.
     */
    function unblacklist(address node) public onlyOwner {
        blacklisted[node] = false;
        Unblacklisted(node);
    }
    
    function isBanned(address node) returns (bool) {
        if (blacklisted[node]) {
            return true;
        } else {
            return false;
        }
    }
}
function blacklist(address node) public onlyOwner {
    blacklisted[node] = true;
    Blacklisted(node);
}

/**
 * @dev Add a node to the blacklist.
 * @param node The node to add to the blacklist.
 */