Commit f947ef51 authored by pengjun's avatar pengjun

#627 add query index

parent 491ce6b8
......@@ -983,7 +983,7 @@ func (action *Action) CollateralizeFeed(feed *pty.CollateralizeFeed) (*types.Rec
return nil, pty.ErrPriceInvalid
}
ids, err := queryCollateralizeByStatus(action.localDB, pty.CollateralizeStatusCreated)
ids, err := queryCollateralizeByStatus(action.localDB, pty.CollateralizeStatusCreated, 0)
if err != nil {
clog.Error("CollateralizePriceFeed", "get collateralize record error", err)
return nil, err
......@@ -1095,8 +1095,14 @@ func queryCollateralizeByID(db dbm.KV, collateralizeID string) (*pty.Collaterali
return &coll, nil
}
func queryCollateralizeByStatus(localdb dbm.Lister, status int32) ([]string, error) {
data, err := localdb.List(calcCollateralizeStatusPrefix(status), nil, DefultCount, ListDESC)
func queryCollateralizeByStatus(localdb dbm.Lister, status int32, index int64) ([]string, error) {
var data [][]byte
var err error
if index != 0 {
data, err = localdb.List(calcCollateralizeStatusPrefix(status), calcCollateralizeStatusKey(status, index), DefultCount, ListDESC)
} else {
data, err = localdb.List(calcCollateralizeStatusPrefix(status), nil, DefultCount, ListDESC)
}
if err != nil {
clog.Debug("queryCollateralizesByStatus", "error", err)
return nil, err
......@@ -1116,8 +1122,14 @@ func queryCollateralizeByStatus(localdb dbm.Lister, status int32) ([]string, err
return ids, nil
}
func queryCollateralizeByAddr(localdb dbm.Lister, addr string) ([]string, error) {
data, err := localdb.List(calcCollateralizeAddrPrefix(addr), nil, DefultCount, ListDESC)
func queryCollateralizeByAddr(localdb dbm.Lister, addr string, index int64) ([]string, error) {
var data [][]byte
var err error
if index != 0 {
data, err = localdb.List(calcCollateralizeAddrPrefix(addr), calcCollateralizeAddrKey(addr, index), DefultCount, ListDESC)
} else {
data, err = localdb.List(calcCollateralizeAddrPrefix(addr), nil, DefultCount, ListDESC)
}
if err != nil {
clog.Debug("queryCollateralizesByAddr", "error", err)
return nil, err
......@@ -1160,8 +1172,14 @@ func queryCollateralizeRecordByID(db dbm.KV, collateralizeID string, recordID st
return nil, types.ErrNotFound
}
func queryCollateralizeRecordByAddr(db dbm.KV, localdb dbm.Lister, addr string) ([]*pty.BorrowRecord, error) {
data, err := localdb.List(calcCollateralizeRecordAddrPrefix(addr), nil, DefultCount, ListDESC)
func queryCollateralizeRecordByAddr(db dbm.KV, localdb dbm.Lister, addr string, index int64) ([]*pty.BorrowRecord, error) {
var data [][]byte
var err error
if index != 0 {
data, err = localdb.List(calcCollateralizeRecordAddrPrefix(addr), calcCollateralizeRecordAddrKey(addr, index), DefultCount, ListDESC)
} else {
data, err = localdb.List(calcCollateralizeRecordAddrPrefix(addr), nil, DefultCount, ListDESC)
}
if err != nil {
clog.Debug("queryCollateralizeRecordByAddr", "error", err)
return nil, err
......@@ -1187,7 +1205,7 @@ func queryCollateralizeRecordByAddr(db dbm.KV, localdb dbm.Lister, addr string)
return records, nil
}
func queryCollateralizeRecordByStatus(db dbm.KV, localdb dbm.Lister, status int32) ([]*pty.BorrowRecord, error) {
func queryCollateralizeRecordByStatus(db dbm.KV, localdb dbm.Lister, status int32, index int64) ([]*pty.BorrowRecord, error) {
var statusKey string
if status == 0 {
statusKey = ""
......@@ -1195,7 +1213,13 @@ func queryCollateralizeRecordByStatus(db dbm.KV, localdb dbm.Lister, status int3
statusKey = fmt.Sprintf("%d", status)
}
data, err := localdb.List(calcCollateralizeRecordStatusPrefix(statusKey), nil, DefultCount, ListDESC)
var data [][]byte
var err error
if index != 0 {
data, err = localdb.List(calcCollateralizeRecordStatusPrefix(statusKey), calcCollateralizeRecordStatusKey(status, index), DefultCount, ListDESC)
} else {
data, err = localdb.List(calcCollateralizeRecordStatusPrefix(statusKey), nil, DefultCount, ListDESC)
}
if err != nil {
clog.Debug("queryCollateralizeRecordByStatus", "error", err)
return nil, err
......
......@@ -52,7 +52,7 @@ func (c *Collateralize) Query_CollateralizeInfoByIDs(req *pty.ReqCollateralizeIn
func (c *Collateralize) Query_CollateralizeByStatus(req *pty.ReqCollateralizeByStatus) (types.Message, error) {
ids := &pty.RepCollateralizeIDs{}
collIDRecords, err := queryCollateralizeByStatus(c.GetLocalDB(), req.Status)
collIDRecords, err := queryCollateralizeByStatus(c.GetLocalDB(), req.Status, req.Index)
if err != nil {
clog.Error("Query_CollateralizeByStatus", "get collateralize record error", err)
return nil, err
......@@ -64,7 +64,7 @@ func (c *Collateralize) Query_CollateralizeByStatus(req *pty.ReqCollateralizeByS
func (c *Collateralize) Query_CollateralizeByAddr(req *pty.ReqCollateralizeByAddr) (types.Message, error) {
ids := &pty.RepCollateralizeIDs{}
collIDRecords, err := queryCollateralizeByAddr(c.GetLocalDB(), req.Addr)
collIDRecords, err := queryCollateralizeByAddr(c.GetLocalDB(), req.Addr, req.Index)
if err != nil {
clog.Error("Query_CollateralizeByAddr", "get collateralize record error", err)
return nil, err
......@@ -88,7 +88,7 @@ func (c *Collateralize) Query_CollateralizeRecordByID(req *pty.ReqCollateralizeR
func (c *Collateralize) Query_CollateralizeRecordByAddr(req *pty.ReqCollateralizeRecordByAddr) (types.Message, error) {
ret := &pty.RepCollateralizeRecords{}
records, err := queryCollateralizeRecordByAddr(c.GetStateDB(), c.GetLocalDB(), req.Addr)
records, err := queryCollateralizeRecordByAddr(c.GetStateDB(), c.GetLocalDB(), req.Addr, req.Index)
if err != nil {
clog.Error("Query_CollateralizeRecordByAddr", "get collateralize record error", err)
return nil, err
......@@ -100,7 +100,7 @@ func (c *Collateralize) Query_CollateralizeRecordByAddr(req *pty.ReqCollateraliz
func (c *Collateralize) Query_CollateralizeRecordByStatus(req *pty.ReqCollateralizeRecordByStatus) (types.Message, error) {
ret := &pty.RepCollateralizeRecords{}
records, err := queryCollateralizeRecordByStatus(c.GetStateDB(), c.GetLocalDB(), req.Status)
records, err := queryCollateralizeRecordByStatus(c.GetStateDB(), c.GetLocalDB(), req.Status, req.Index)
if err != nil {
clog.Error("Query_CollateralizeRecordByStatus", "get collateralize record error", err)
return nil, err
......
......@@ -160,11 +160,13 @@ message RepCollateralizeCurrentInfos {
// 根据借贷状态查询
message ReqCollateralizeByStatus {
int32 status = 1;
int64 index = 2;
}
// 根据用户地址查询
message ReqCollateralizeByAddr {
string addr = 1;
int64 index = 2;
}
// 返回借贷ID列表
......@@ -176,12 +178,14 @@ message RepCollateralizeIDs {
message ReqCollateralizeRecordByAddr {
string collateralizeId = 1;
string addr = 2;
int64 index = 3;
}
// 根据状态和借贷ID混合查询具体借贷记录
message ReqCollateralizeRecordByStatus {
string collateralizeId = 1;
int32 status = 2;
int64 index = 3;
}
// 返回借贷记录
......
......@@ -1337,6 +1337,7 @@ func (m *RepCollateralizeCurrentInfos) GetInfos() []*RepCollateralizeCurrentInfo
// 根据借贷状态查询
type ReqCollateralizeByStatus struct {
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
......@@ -1374,9 +1375,17 @@ func (m *ReqCollateralizeByStatus) GetStatus() int32 {
return 0
}
func (m *ReqCollateralizeByStatus) GetIndex() int64 {
if m != nil {
return m.Index
}
return 0
}
// 根据用户地址查询
type ReqCollateralizeByAddr struct {
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
......@@ -1414,6 +1423,13 @@ func (m *ReqCollateralizeByAddr) GetAddr() string {
return ""
}
func (m *ReqCollateralizeByAddr) GetIndex() int64 {
if m != nil {
return m.Index
}
return 0
}
// 返回借贷ID列表
type RepCollateralizeIDs struct {
IDs []string `protobuf:"bytes,1,rep,name=IDs,proto3" json:"IDs,omitempty"`
......@@ -1458,6 +1474,7 @@ func (m *RepCollateralizeIDs) GetIDs() []string {
type ReqCollateralizeRecordByAddr struct {
CollateralizeId string `protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Index int64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
......@@ -1502,10 +1519,18 @@ func (m *ReqCollateralizeRecordByAddr) GetAddr() string {
return ""
}
func (m *ReqCollateralizeRecordByAddr) GetIndex() int64 {
if m != nil {
return m.Index
}
return 0
}
// 根据状态和借贷ID混合查询具体借贷记录
type ReqCollateralizeRecordByStatus struct {
CollateralizeId string `protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"`
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
Index int64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
......@@ -1550,6 +1575,13 @@ func (m *ReqCollateralizeRecordByStatus) GetStatus() int32 {
return 0
}
func (m *ReqCollateralizeRecordByStatus) GetIndex() int64 {
if m != nil {
return m.Index
}
return 0
}
// 返回借贷记录
type RepCollateralizeRecords struct {
Records []*BorrowRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
......@@ -1711,76 +1743,77 @@ func init() {
func init() { proto.RegisterFile("collateralize.proto", fileDescriptor_a988fb4a61381972) }
var fileDescriptor_a988fb4a61381972 = []byte{
// 1127 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0xef, 0x6e, 0xdc, 0x44,
0x10, 0xaf, 0xed, 0xfb, 0x93, 0x9b, 0xcb, 0xb5, 0xe9, 0x26, 0x04, 0x13, 0xa2, 0xe8, 0xb4,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x6d, 0x8d, 0x53, 0x41,
0x16, 0x03, 0xfc, 0x40, 0x7f, 0xf4, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9f, 0x1f, 0x4b, 0x7d,
0xb7, 0x0f, 0x00, 0x00,
}
......@@ -864,7 +864,7 @@ func (action *Action) IssuanceFeed(feed *pty.IssuanceFeed) (*types.Receipt, erro
return nil, pty.ErrPriceInvalid
}
ids, err := queryIssuanceByStatus(action.localDB, pty.IssuanceStatusCreated)
ids, err := queryIssuanceByStatus(action.localDB, pty.IssuanceStatusCreated, 0)
if err != nil {
clog.Error("IssuancePriceFeed", "get issuance record error", err)
return nil, err
......@@ -981,8 +981,14 @@ func queryIssuanceByID(db dbm.KV, issuanceID string) (*pty.Issuance, error) {
}
// 根据发行状态查找发行ID
func queryIssuanceByStatus(localdb dbm.Lister, status int32) ([]string, error) {
data, err := localdb.List(calcIssuanceStatusPrefix(status), nil, DefultCount, ListDESC)
func queryIssuanceByStatus(localdb dbm.Lister, status int32, index int64) ([]string, error) {
var data [][]byte
var err error
if index != 0 {
data, err = localdb.List(calcIssuanceStatusPrefix(status), calcIssuanceStatusKey(status, index), DefultCount, ListDESC)
} else {
data, err = localdb.List(calcIssuanceStatusPrefix(status), nil, DefultCount, ListDESC)
}
if err != nil {
clog.Debug("queryIssuancesByStatus", "error", err)
return nil, err
......@@ -1026,7 +1032,7 @@ func queryIssuanceRecordByID(db dbm.KV, issuanceID string, debtID string) (*pty.
}
// 根据发行状态查找
func queryIssuanceRecordsByStatus(db dbm.KV, localdb dbm.Lister, status int32) ([]*pty.DebtRecord, error) {
func queryIssuanceRecordsByStatus(db dbm.KV, localdb dbm.Lister, status int32, index int64) ([]*pty.DebtRecord, error) {
var statusKey string
if status == 0 {
statusKey = ""
......@@ -1034,7 +1040,13 @@ func queryIssuanceRecordsByStatus(db dbm.KV, localdb dbm.Lister, status int32) (
statusKey = fmt.Sprintf("%d", status)
}
data, err := localdb.List(calcIssuanceRecordStatusPrefix(statusKey), nil, DefultCount, ListDESC)
var data [][]byte
var err error
if index != 0 {
data, err = localdb.List(calcIssuanceRecordStatusPrefix(statusKey), calcIssuanceRecordStatusKey(status, index), DefultCount, ListDESC)
} else {
data, err = localdb.List(calcIssuanceRecordStatusPrefix(statusKey), nil, DefultCount, ListDESC)
}
if err != nil {
clog.Error("queryIssuanceRecordsByStatus", "error", err)
return nil, err
......@@ -1061,8 +1073,14 @@ func queryIssuanceRecordsByStatus(db dbm.KV, localdb dbm.Lister, status int32) (
}
// 根据用户地址查找
func queryIssuanceRecordByAddr(db dbm.KV, localdb dbm.Lister, addr string) ([]*pty.DebtRecord, error) {
data, err := localdb.List(calcIssuanceRecordAddrPrefix(addr), nil, DefultCount, ListDESC)
func queryIssuanceRecordByAddr(db dbm.KV, localdb dbm.Lister, addr string, index int64) ([]*pty.DebtRecord, error) {
var data [][]byte
var err error
if index != 0 {
data, err = localdb.List(calcIssuanceRecordAddrPrefix(addr), calcIssuanceRecordAddrKey(addr, index), DefultCount, ListDESC)
} else {
data, err = localdb.List(calcIssuanceRecordAddrPrefix(addr), nil, DefultCount, ListDESC)
}
if err != nil {
clog.Error("queryIssuanceRecordByAddr", "error", err)
return nil, err
......
......@@ -52,7 +52,7 @@ func (c *Issuance) Query_IssuanceInfoByIDs(req *pty.ReqIssuanceInfos) (types.Mes
func (c *Issuance) Query_IssuanceByStatus(req *pty.ReqIssuanceByStatus) (types.Message, error) {
ids := &pty.RepIssuanceIDs{}
issuIDRecords, err := queryIssuanceByStatus(c.GetLocalDB(), req.Status)
issuIDRecords, err := queryIssuanceByStatus(c.GetLocalDB(), req.Status, req.Index)
if err != nil {
clog.Error("Query_IssuanceByStatus", "get issuance error", err)
return nil, err
......@@ -76,7 +76,7 @@ func (c *Issuance) Query_IssuanceRecordByID(req *pty.ReqIssuanceDebtInfo) (types
func (c *Issuance) Query_IssuanceRecordsByAddr(req *pty.ReqIssuanceRecordsByAddr) (types.Message, error) {
ret := &pty.RepIssuanceRecords{}
records, err := queryIssuanceRecordByAddr(c.GetStateDB(), c.GetLocalDB(), req.Addr)
records, err := queryIssuanceRecordByAddr(c.GetStateDB(), c.GetLocalDB(), req.Addr, req.Index)
if err != nil {
clog.Error("Query_IssuanceDebtInfoByAddr", "get issuance record error", err)
return nil, err
......@@ -88,7 +88,7 @@ func (c *Issuance) Query_IssuanceRecordsByAddr(req *pty.ReqIssuanceRecordsByAddr
func (c *Issuance) Query_IssuanceRecordsByStatus(req *pty.ReqIssuanceRecordsByStatus) (types.Message, error) {
ret := &pty.RepIssuanceRecords{}
records, err := queryIssuanceRecordsByStatus(c.GetStateDB(), c.GetLocalDB(), req.Status)
records, err := queryIssuanceRecordsByStatus(c.GetStateDB(), c.GetLocalDB(), req.Status, req.Index)
if err != nil {
clog.Error("Query_IssuanceDebtInfoByStatus", "get issuance record error", err)
return nil, err
......
......@@ -150,6 +150,7 @@ message RepIssuanceCurrentInfos {
// 根据发行状态查询
message ReqIssuanceByStatus {
int32 status = 1;
int64 index = 2;
}
// 返回借贷ID列表
......@@ -161,12 +162,14 @@ message RepIssuanceIDs {
message ReqIssuanceRecordsByAddr {
string issuanceId = 1;
string addr = 2;
int64 index = 3;
}
// 根据状态查询发行记录
message ReqIssuanceRecordsByStatus {
string issuanceId = 1;
int32 status = 2;
int64 index = 3;
}
// 返回记录列表
......
......@@ -1235,6 +1235,7 @@ func (m *RepIssuanceCurrentInfos) GetInfos() []*RepIssuanceCurrentInfo {
// 根据发行状态查询
type ReqIssuanceByStatus struct {
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
......@@ -1272,6 +1273,13 @@ func (m *ReqIssuanceByStatus) GetStatus() int32 {
return 0
}
func (m *ReqIssuanceByStatus) GetIndex() int64 {
if m != nil {
return m.Index
}
return 0
}
// 返回借贷ID列表
type RepIssuanceIDs struct {
IDs []string `protobuf:"bytes,1,rep,name=IDs,proto3" json:"IDs,omitempty"`
......@@ -1316,6 +1324,7 @@ func (m *RepIssuanceIDs) GetIDs() []string {
type ReqIssuanceRecordsByAddr struct {
IssuanceId string `protobuf:"bytes,1,opt,name=issuanceId,proto3" json:"issuanceId,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Index int64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
......@@ -1360,10 +1369,18 @@ func (m *ReqIssuanceRecordsByAddr) GetAddr() string {
return ""
}
func (m *ReqIssuanceRecordsByAddr) GetIndex() int64 {
if m != nil {
return m.Index
}
return 0
}
// 根据状态查询发行记录
type ReqIssuanceRecordsByStatus struct {
IssuanceId string `protobuf:"bytes,1,opt,name=issuanceId,proto3" json:"issuanceId,omitempty"`
Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
Index int64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
......@@ -1408,6 +1425,13 @@ func (m *ReqIssuanceRecordsByStatus) GetStatus() int32 {
return 0
}
func (m *ReqIssuanceRecordsByStatus) GetIndex() int64 {
if m != nil {
return m.Index
}
return 0
}
// 返回记录列表
type RepIssuanceRecords struct {
Records []*DebtRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
......@@ -1566,72 +1590,72 @@ func init() {
func init() { proto.RegisterFile("issuance.proto", fileDescriptor_7110f4228953d675) }
var fileDescriptor_7110f4228953d675 = []byte{
// 1060 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 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 0x2d, 0x99, 0xfb, 0x44, 0x33, 0xb7, 0x1a, 0xee, 0x2b, 0x2c, 0xff, 0x12,
0x9e, 0xd6, 0xaa, 0xb8, 0x5c, 0x9a, 0x6f, 0xed, 0x2a, 0x22, 0x38, 0x87, 0x71, 0x2d, 0xdf, 0xec,
0xba, 0x60, 0x87, 0xe0, 0xcc, 0xae, 0xcb, 0x52, 0xf1, 0x27, 0x7f, 0x0d, 0x5e, 0x2d, 0xa5, 0x56,
0xd6, 0xe5, 0x92, 0x5e, 0xd1, 0xff, 0x20, 0x6a, 0x7e, 0x0b, 0xcf, 0x57, 0xe5, 0xd3, 0x95, 0x6e,
0xe1, 0x86, 0xba, 0x13, 0xbb, 0xd1, 0xc9, 0x05, 0xb0, 0x5a, 0x27, 0xa5, 0xfe, 0x3f, 0x6f, 0xeb,
0x7f, 0xc5, 0x05, 0xb9, 0xd2, 0xfe, 0xab, 0xc6, 0xec, 0x10, 0xb1, 0x8d, 0xfe, 0xd7, 0xfa, 0xf3,
0xf7, 0x98, 0x2e, 0xeb, 0xa4, 0x7b, 0x09, 0x7d, 0x75, 0xa0, 0xbe, 0x41, 0xac, 0xa8, 0x48, 0x03,
0xee, 0xfa, 0xf4, 0xff, 0xd0, 0xf9, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xba, 0x69, 0x9e, 0x9a,
0x21, 0x0d, 0x00, 0x00,
// 1069 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xdd, 0x6e, 0xe3, 0x44,
0x14, 0xae, 0xed, 0x38, 0x3f, 0x27, 0x6d, 0xda, 0x9d, 0xed, 0x16, 0x6b, 0x05, 0xab, 0xc8, 0xe2,
0x22, 0x0b, 0xa8, 0x85, 0x16, 0x21, 0x71, 0x47, 0xd3, 0x02, 0x8d, 0xc4, 0x22, 0x64, 0x56, 0x2b,
0x6e, 0x5d, 0x7b, 0xba, 0x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74, 0x43, 0x70, 0x2a,
0x81, 0x14, 0xdf, 0xe6, 0x6b, 0xba, 0xb8, 0xff, 0x87, 0xea, 0x65, 0x26, 0x56, 0x35, 0x93, 0xdf,
0xe1, 0x79, 0x57, 0x14, 0x55, 0xd5, 0x0e, 0xca, 0xa9, 0xaa, 0x36, 0xbb, 0xab, 0xae, 0xc5, 0xba,
0x04, 0x56, 0xa9, 0xba, 0xb8, 0x41, 0x9f, 0x37, 0x6f, 0x50, 0xc7, 0x13, 0xbb, 0xbc, 0x3d, 0xaf,
0x6a, 0xdd, 0x47, 0xc4, 0x2e, 0x37, 0x68, 0xa3, 0xc2, 0x7f, 0x87, 0xee, 0xd2, 0x96, 0xbb, 0x97,
0xd0, 0x97, 0x01, 0xd5, 0x1b, 0xa4, 0x23, 0x23, 0x05, 0xb8, 0xed, 0xd3, 0x7f, 0x54, 0x17, 0xff,
0x05, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x46, 0x96, 0x6b, 0x63, 0x0d, 0x00, 0x00,
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment