-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add basic table ignore config * fix bug of data leak
- Loading branch information
1 parent
1861995
commit c636d80
Showing
14 changed files
with
436 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
...on/src/main/java/com/webank/blockchain/data/export/common/enums/IgnoreBasicDataParam.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
package com.webank.blockchain.data.export.common.enums; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
/** | ||
* @author wesleywang | ||
* @Description: | ||
* @date 2021/6/23 | ||
*/ | ||
@AllArgsConstructor | ||
@Getter | ||
public class IgnoreBasicDataParam { | ||
|
||
@Getter | ||
public enum IgnoreBasicDataTable { | ||
BLOCK_RAW_DATA_TABLE, | ||
TX_RAW_DATA_TABLE, | ||
TX_RECEIPT_RAW_DATA_TABLE; | ||
|
||
IgnoreBasicDataTable() { } | ||
} | ||
|
||
@Getter | ||
public enum BlockRawDataParams { | ||
DB_HASH, | ||
EXTRA_DATA, | ||
GAS_LIMIT, | ||
GAS_USED, | ||
LOGS_BLOOM, | ||
PARENT_HASH, | ||
RECEIPTS_ROOT, | ||
SEALER, | ||
SEALER_LIST, | ||
SIGNATURE_LIST, | ||
STATE_ROOT, | ||
TRANSACTION_LIST, | ||
TRANSACTIONS_ROOT; | ||
|
||
BlockRawDataParams() { } | ||
} | ||
|
||
@Getter | ||
public enum TxReceiptRawDataParams { | ||
FROM, | ||
GAS_USED, | ||
LOGS, | ||
INPUT, | ||
MESSAGE, | ||
OUTPUT, | ||
LOGS_BLOOM, | ||
ROOT, | ||
TO, | ||
TX_INDEX, | ||
TX_PROOF, | ||
RECEIPT_PROOF; | ||
|
||
TxReceiptRawDataParams() { } | ||
} | ||
|
||
@Getter | ||
public enum TxRawDataParams { | ||
FROM, | ||
GAS, | ||
GAS_PRICE, | ||
INPUT, | ||
NONCE, | ||
VALUE, | ||
TO; | ||
|
||
|
||
TxRawDataParams() { } | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.