feat: Minimum block rewards to send notifications
Flexpool is now finding more blocks than ever. There are tons of notifications all day long. This commit adds a new pool setting `min-block-reward` to send notifications for blocks reaching this minimum threshold, so we can focus on big blocks. Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
		
					parent
					
						
							
								e3ae989511
							
						
					
				
			
			
				commit
				
					
						b519770922
					
				
			
		
					 6 changed files with 13 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -73,6 +73,7 @@ Reference:
 | 
			
		|||
* `pools` (optional): list of pools
 | 
			
		||||
    * `coin`: coin of the pool (ex: `eth`, `xch`)
 | 
			
		||||
    * `enable-blocks` (optional): enable block notifications for this pool (disabled by default)
 | 
			
		||||
    * `min-block-reward` (optional): send notifications when block reward has reached this minimum threshold in crypto currency unit (ETH, XCH, etc)
 | 
			
		||||
* `miners` (optional): list of miners and/or farmers
 | 
			
		||||
    * `address`: address of the miner or the farmer registered on the API
 | 
			
		||||
    * `enable-balance` (optional): enable balance notifications (disabled by default)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue