Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for binPaths (0.05 sec)

  1. cmd/bootstrap-peer-server.go

    }
    
    var binaryChecksum = getBinaryChecksum()
    
    func getBinaryChecksum() string {
    	mw := md5.New()
    	binPath, err := os.Executable()
    	if err != nil {
    		logger.Error("Calculating checksum failed: %s", err)
    		return "00000000000000000000000000000000"
    	}
    	b, err := os.Open(binPath)
    	if err != nil {
    		logger.Error("Calculating checksum failed: %s", err)
    		return "00000000000000000000000000000000"
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top