Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Switch peers from using variable IPs to hostnames. #58

Merged
merged 2 commits into from
Aug 20, 2020

Commits on Aug 20, 2020

  1. Switch peers from using variable IPs to hostnames.

    * Use k8s service hostname for quorum peers: permissioned-nodes.json and static-nodes.json.
    
    * Use k8s service hostname in tessera config for peer discovery.
    
    * The hostnames are obtained via the quorum services which are known at the time of generation and do not change.
    This removes the need to do sed and manipulation on the config files after they are deployed in order to set the IPs
    (which are not known until after k8s resources have been deployed). This also helps with automatically updating the
    config files when new nodes are deployed or removed, thus avoiding restarting the nodes.
    
    * Enabled by this PR: Consensys/quorum#885.
    libby committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    6afd02e View commit details
    Browse the repository at this point in the history
  2. Remove support / testing for quorum <= 2.3.0

    * hostname not supported pre 2.3.0, if there is demand to support them,
    we can include support, but for now removing support as these version
    should be phased out.
    * add sleep in quorum version tests after running intial public contract
    to allow block number to increase.
    libby committed Aug 20, 2020
    Configuration menu
    Copy the full SHA
    27fc5fb View commit details
    Browse the repository at this point in the history