mirror of
				https://source.quilibrium.com/quilibrium/ceremonyclient.git
				synced 2025-11-04 02:07:52 +00:00 
			
		
		
		
	Requested changes
This commit is contained in:
		
							parent
							
								
									c0e9e12a27
								
							
						
					
					
						commit
						bba9b7f209
					
				
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							@ -1,4 +1,4 @@
 | 
			
		||||
IMAGE_TAG := quillibrium-ceremony-client
 | 
			
		||||
IMAGE_TAG := quilibrium-ceremony-client
 | 
			
		||||
 | 
			
		||||
build-docker:
 | 
			
		||||
	docker build -t $(IMAGE_TAG) .
 | 
			
		||||
@ -7,7 +7,7 @@ bash:
 | 
			
		||||
	docker run --rm -it $(IMAGE_TAG) bash
 | 
			
		||||
 | 
			
		||||
participate: build-docker
 | 
			
		||||
	docker run --rm -it -v $(PWD)/vouchers:/vouchers $(IMAGE_TAG) ./ceremony-client "/vouchers/quill-voucher-$(shell date +'%m.%d.%y-%H:%M:%S').hex"
 | 
			
		||||
	docker run --rm -it -v $(PWD)/vouchers:/vouchers $(IMAGE_TAG) ./ceremony-client "/vouchers/quil-voucher-$(shell date +'%m.%d.%y-%H:%M:%S').hex"
 | 
			
		||||
 | 
			
		||||
dev:
 | 
			
		||||
	docker run --rm -it -v $(PWD):$(PWD) --workdir $(PWD) $(IMAGE_TAG) bash
 | 
			
		||||
							
								
								
									
										5
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								main.go
									
									
									
									
									
								
							@ -21,7 +21,7 @@ func main() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func WaitForSequencerToBeReady() {
 | 
			
		||||
	spinnerChars := []string{"🌕", "🌖", "🌗", "🌘", "🌑", "🌒", "🌓", "🌔"}
 | 
			
		||||
	spinnerChars := []string{"⣾", "⣽", "⣻", "⢿", "⡿", "⣟", "⣯", "⣷"}
 | 
			
		||||
	spinnerIndex := 0
 | 
			
		||||
	attempts := 0
 | 
			
		||||
	removeLine := "\u001B[A\u001B[2K"
 | 
			
		||||
@ -37,7 +37,7 @@ func WaitForSequencerToBeReady() {
 | 
			
		||||
		spinnerIndex = (spinnerIndex + 1) % len(spinnerChars)
 | 
			
		||||
		attempts += 1
 | 
			
		||||
 | 
			
		||||
		time.Sleep(1 * time.Second)
 | 
			
		||||
		time.Sleep(5 * time.Second)
 | 
			
		||||
		state = GetSequencerState()
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
@ -46,6 +46,7 @@ func WaitForSequencerToBeReady() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func PrintLogo() {
 | 
			
		||||
	fmt.Println()
 | 
			
		||||
	fmt.Println("                                   %#########")
 | 
			
		||||
	fmt.Println("                          #############################")
 | 
			
		||||
	fmt.Println("                    ########################################&")
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								quil_voucher.hex.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								quil_voucher.hex.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
654990bfacd0d2702f318089f73b838c64f79b0369840bdff6e1f6b8c3aa2698585c61a0e35794afb9365a4f5ed9c841a62eb9f35d29aa50486780552dd2293cb865905d120047905b98f55bb96a8e2b1e960807a3a0f5b236b7819799a64f7c0a52f8c754dc5086373bb0ce2702ebfba900
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user