Skip to content
Snippets Groups Projects
Select Git revision
1 result Searching

test_verify_blocks.py

Blame
    • Moul's avatar
      b0933c6b
      [ref] #409: Improve endpoint determination code layer · b0933c6b
      Moul authored
      Implement determine_endpoint() to replace Endpoint()
      It handles custom, default g1 and gtest endpoints
      Read custom endpoints from a regex
      Handle host/ipv4 mixup fix with ipaddress
      ipv6 support with brakets
      
      Rename peer to endpoint:
      option --peer/-p −> --endpoint/-ep
      
      import sys and silkaj.constants directly
      
      write tests
      
      Kept the ability of not having click installed
      - #354 The tests are difficult to write
      Actually, I am not sure if this feature is easy use.
      Using Silkaj as lib is kind of difficult since click is
      imported in almost every modules
      b0933c6b
      History
      [ref] #409: Improve endpoint determination code layer
      Moul authored
      Implement determine_endpoint() to replace Endpoint()
      It handles custom, default g1 and gtest endpoints
      Read custom endpoints from a regex
      Handle host/ipv4 mixup fix with ipaddress
      ipv6 support with brakets
      
      Rename peer to endpoint:
      option --peer/-p −> --endpoint/-ep
      
      import sys and silkaj.constants directly
      
      write tests
      
      Kept the ability of not having click installed
      - #354 The tests are difficult to write
      Actually, I am not sure if this feature is easy use.
      Using Silkaj as lib is kind of difficult since click is
      imported in almost every modules
    transactions.py 3.44 KiB