github.com/turingchain2020/turingchain@v1.1.21/system/store/mavl/db/ticket/ticket.go (about)

     1  // Copyright Turing Corp. 2018 All Rights Reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package ticket
     6  
     7  var (
     8  	// TicketPrefix ticket prefix
     9  	TicketPrefix = []byte("mavl-ticket-")
    10  )
    11  
    12  const (
    13  	// StatusNewTicket new ticket status
    14  	StatusNewTicket = 1
    15  	// StatusMinerTicket Miner ticket status
    16  	StatusMinerTicket = 2
    17  	// StatusCloseTicket Close ticket status
    18  	StatusCloseTicket = 3
    19  )