Error handling for all cases, fixing issues with logic. SSE fix remaining
This commit is contained in:
parent
acd85a6a02
commit
3464a81a2d
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,3 +9,4 @@ system.db
|
||||
config.ini
|
||||
config.py
|
||||
*.log
|
||||
py3/
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
[DEFAULT]
|
||||
NET = testnet
|
||||
NET = mainnet
|
||||
FLO_CLI_PATH = /usr/local/bin/flo-cli
|
||||
START_BLOCK = 868993
|
||||
START_BLOCK = 3387900
|
||||
|
||||
32
models.py
32
models.py
@ -56,20 +56,20 @@ class TransactionHistory(Base):
|
||||
jsonData = Column('jsonData', String)
|
||||
|
||||
|
||||
class RejectedTransactionHistory(Base):
|
||||
__tablename__ = "rejectedTransactionHistory"
|
||||
class TokenContractAssociation(Base):
|
||||
__tablename__ = "tokenContractAssociation"
|
||||
|
||||
primary_key = Column('id', Integer, primary_key=True)
|
||||
sourceFloAddress = Column('sourceFloAddress', String)
|
||||
destFloAddress = Column('destFloAddress', String)
|
||||
transferAmount = Column('transferAmount', Float)
|
||||
tokenIdentification = Column('tokenIdentification', String)
|
||||
contractName = Column('contractName', String)
|
||||
contractAddress = Column('contractAddress', String)
|
||||
blockNumber = Column('blockNumber', Integer)
|
||||
blockHash = Column('blockHash', String)
|
||||
time = Column('time', Integer)
|
||||
transactionHash = Column('transactionHash', String)
|
||||
blockchainReference = Column('blockchainReference', String)
|
||||
jsonData = Column('jsonData', String)
|
||||
rejectComment = Column('rejectComment', String)
|
||||
|
||||
|
||||
|
||||
class ContractStructure(ContractBase):
|
||||
@ -111,12 +111,30 @@ class ContractTransactionHistory(ContractBase):
|
||||
jsonData = Column('jsonData', String)
|
||||
|
||||
|
||||
class RejectedContractTransactionHistory(ContractBase):
|
||||
class RejectedContractTransactionHistory(SystemBase):
|
||||
__tablename__ = "rejectedContractTransactionHistory"
|
||||
|
||||
primary_key = Column('id', Integer, primary_key=True)
|
||||
transactionType = Column('transactionType', String)
|
||||
transactionSubType = Column('transactionSubType', String)
|
||||
contractName = Column('contractName', String)
|
||||
contractAddress = Column('contractAddress', String)
|
||||
sourceFloAddress = Column('sourceFloAddress', String)
|
||||
destFloAddress = Column('destFloAddress', String)
|
||||
transferAmount = Column('transferAmount', Float)
|
||||
blockNumber = Column('blockNumber', Integer)
|
||||
blockHash = Column('blockHash', String)
|
||||
time = Column('time', Integer)
|
||||
transactionHash = Column('transactionHash', String)
|
||||
blockchainReference = Column('blockchainReference', String)
|
||||
jsonData = Column('jsonData', String)
|
||||
rejectComment = Column('rejectComment', String)
|
||||
|
||||
class RejectedTransactionHistory(SystemBase):
|
||||
__tablename__ = "rejectedTransactionHistory"
|
||||
|
||||
primary_key = Column('id', Integer, primary_key=True)
|
||||
tokenIdentification = Column('tokenIdentification', String)
|
||||
sourceFloAddress = Column('sourceFloAddress', String)
|
||||
destFloAddress = Column('destFloAddress', String)
|
||||
transferAmount = Column('transferAmount', Float)
|
||||
|
||||
@ -1 +0,0 @@
|
||||
python3
|
||||
BIN
py3/bin/python
Executable file
BIN
py3/bin/python
Executable file
Binary file not shown.
@ -1 +0,0 @@
|
||||
/usr/bin/python3
|
||||
BIN
py3/bin/python3
Executable file
BIN
py3/bin/python3
Executable file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user