Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
152 commits
Select commit Hold shift + click to select a range
bb2e01c
Add chain-bus on sqlchain
zeqing-guo Dec 4, 2018
769c544
Add cloudflare key
zeqing-guo Dec 5, 2018
881e2ef
Merge remote-tracking branch 'origin/feature/bpRefactor' into feature…
zeqing-guo Dec 11, 2018
85c4403
Add deposit
zeqing-guo Dec 11, 2018
d4253a5
Merge remote-tracking branch 'origin/feature/bpRefactor' into feature…
zeqing-guo Dec 12, 2018
45ceb7e
modify test case
zeqing-guo Dec 12, 2018
ab26522
Merge remote-tracking branch 'origin/feature/bpRefactor' into feature…
zeqing-guo Dec 12, 2018
80c1a2b
Create sqlchain using transaction
zeqing-guo Dec 13, 2018
d08b448
Add billing function
zeqing-guo Dec 19, 2018
3b1c6b7
Format code
zeqing-guo Dec 19, 2018
0995960
Merge remote-tracking branch 'origin/feature/bpRefactor' into feature…
zeqing-guo Dec 19, 2018
696004c
Merge remote-tracking branch 'origin/feature/bpRefactor' into feature…
zeqing-guo Dec 19, 2018
835462f
Change ChainState to UserState
zeqing-guo Dec 19, 2018
3dc92d7
Format code
zeqing-guo Dec 20, 2018
e1e0d09
Increase check interval
zeqing-guo Dec 20, 2018
0e84ca6
Merge remote-tracking branch 'origin/feature/bpRefactor' into feature…
zeqing-guo Dec 20, 2018
03ab190
Remove runtime.databaseID and add UpdatePeriod
zeqing-guo Dec 21, 2018
1fb9b88
Merge remote-tracking branch 'origin/develop' into feature/chainBus-S…
zeqing-guo Dec 21, 2018
67f005c
Merge remote-tracking branch 'origin/develop' into feature/chainBus-S…
zeqing-guo Dec 23, 2018
fba7a94
Add permission for Query and CreateDatabase by transaction in integra…
zeqing-guo Dec 23, 2018
06734b7
Move tx broadcast to processing function
leventeliu Dec 24, 2018
50f1ebb
Add base account config
zeqing-guo Dec 24, 2018
0d1bfb2
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 24, 2018
876504b
Move some functions to chain_service
leventeliu Dec 24, 2018
bfcc9b8
Fix block timestamp in testing
leventeliu Dec 24, 2018
d5474b8
Change the connect method on driver to use CreateDatabase Transaction
zeqing-guo Dec 24, 2018
f1338a6
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 24, 2018
9d1cfff
Integration test for CreateDatabase tx and query permission check
zeqing-guo Dec 24, 2018
96ba2bc
Add load SQLChain method for metaState
leventeliu Dec 24, 2018
1a7f5fd
Add more assertions in loadDatabases testing
leventeliu Dec 25, 2018
81b7042
Add billing support
zeqing-guo Dec 25, 2018
b8e576b
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 25, 2018
bce5f38
Add resource meta to sqlchain profile
leventeliu Dec 25, 2018
5971204
Update generated files
leventeliu Dec 25, 2018
ca0931b
Merge remote-tracking branch 'origin/develop' into feature/chainBus-S…
zeqing-guo Dec 25, 2018
41365e9
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 25, 2018
eba1cb8
Fix data race in loadSQLChainProfile metastete.go
zeqing-guo Dec 25, 2018
61e25fc
Use valid Database ID in test case
zeqing-guo Dec 25, 2018
f604d3f
Change period of producing block
zeqing-guo Dec 25, 2018
29d3eeb
Merge remote-tracking branch 'origin/develop' into feature/chainBus-S…
Dec 25, 2018
e0eb736
Remove unused codes
leventeliu Dec 25, 2018
62de3cb
Make SQLChain quit safely
zeqing-guo Dec 25, 2018
0c12bcf
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 25, 2018
cdb5da0
Use shorter period for test
zeqing-guo Dec 25, 2018
f570581
Fix fetch new block count
leventeliu Dec 25, 2018
f44f256
Remove duplicated DNSKEY
Dec 25, 2018
031adcc
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
Dec 25, 2018
d21b584
Remove meta object wrapper and alter deepcopier
leventeliu Dec 25, 2018
1f2b5cb
Update vendor
leventeliu Dec 25, 2018
acaf07c
Hack to allow a reference at genesis block while deep copying sqlchai…
leventeliu Dec 25, 2018
dbfd463
Revert "Hack to allow a reference at genesis block while deep copying…
leventeliu Dec 25, 2018
80e52e3
Use encoded genesis block in sqlchain profile
leventeliu Dec 25, 2018
39d1283
Fix bug: profile changed but not rewrote back
leventeliu Dec 25, 2018
75079b5
Add SQLChain Transfer and some test cases
zeqing-guo Dec 25, 2018
99618e5
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 25, 2018
dff1210
Make all members in ResourceMeta in HSP
Dec 26, 2018
56c7ee2
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 26, 2018
885a91b
Merge remote-tracking branch 'origin/develop' into feature/chainBus-S…
zeqing-guo Dec 26, 2018
ec9ccff
Move chainbusservice.go to worker package
zeqing-guo Dec 26, 2018
02aafbb
Remove unnecessary build in test case
Dec 26, 2018
54905e4
Remove all otypes
Dec 26, 2018
5e6289f
Support AddTx method in cql-utils
Dec 26, 2018
c2cfb64
Merge branch 'develop' into feature/chainBus-SQLChain
Dec 26, 2018
189ebb2
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
Dec 26, 2018
f427772
Fix previous commit with correct types and imports
Dec 26, 2018
541e9b7
Check pubkey is nil in PubKeyHash
Dec 26, 2018
5370eda
Wrap too long line
Dec 26, 2018
21fba72
Print request and response in cql-utils rpc tool
Dec 26, 2018
2230da5
Support nonce inject in AddTx method
Dec 26, 2018
45374df
Add missing deps file
Dec 26, 2018
4ce61bb
Fix fillTxNonce function for nested structure
Dec 26, 2018
2d09353
Update rpc tool max depth to 6
Dec 26, 2018
7c71595
Add QuerySQLChainProfile mock method
leventeliu Dec 26, 2018
f95cefe
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 26, 2018
c16574a
Support CreateDatabase in client and command line tools
Dec 26, 2018
4768227
Fix bug: BP returns nil error if database not found
leventeliu Dec 26, 2018
46aec6a
Golint issues
Dec 26, 2018
aa13006
Add hash.Hash json marshal/unmarshal handler
Dec 26, 2018
7496ddd
Make cql create database with target miners use Hash string instead o…
Dec 26, 2018
2ba5805
Update client dsn FormatDSN function to strip default parameters
Dec 26, 2018
cd84fa2
Add blocking method to wait for database creation
leventeliu Dec 26, 2018
84bdccb
Add obeserver permission module
zeqing-guo Dec 26, 2018
ae130e9
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 26, 2018
55a704e
Fix bug: loadOrStore do not store object when it has stored the object
zeqing-guo Dec 26, 2018
42e00c1
Update test config: add base accounts
leventeliu Dec 26, 2018
18f0b28
Add detail log in worker/dbms
leventeliu Dec 26, 2018
ebf2a7a
Fix observer testing
leventeliu Dec 26, 2018
1438d3f
Set resource meta for testing
leventeliu Dec 26, 2018
67dd873
Auto provide service on miner start
Dec 26, 2018
631bbba
MatchProvidersWithUser scan TargetMiners then tries best to get enoug…
Dec 26, 2018
ea3effc
Add dbms test case
zeqing-guo Dec 26, 2018
0d86d6c
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 26, 2018
06f812f
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
Dec 26, 2018
9afc56d
Fix stupid commit
Dec 26, 2018
dfb44a1
Regen types
Dec 26, 2018
a1a8903
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 26, 2018
cc664bc
Fix observer testing
leventeliu Dec 26, 2018
860d0bb
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 26, 2018
b4a2511
Fix miners append error
Dec 26, 2018
d826d82
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
Dec 26, 2018
334e785
Fix bug: type not match
zeqing-guo Dec 26, 2018
f615e33
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 26, 2018
1a772d0
Remove ethereum math dependency
Dec 26, 2018
8956354
Give some coin for test in BaseAccounts
Dec 27, 2018
32fb656
Fix wait creation method
leventeliu Dec 27, 2018
587a287
Use global constant for chain period/tick and fix golint issues
Dec 27, 2018
18ee189
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 27, 2018
fac146e
Add missing conf/parameters.go
Dec 27, 2018
20fa8dd
Remove conf* from gitignore
Dec 27, 2018
f616486
Fix issue: using wrong key to create db
leventeliu Dec 27, 2018
eb7c81e
Close logging to stdout in testing, minor fix
leventeliu Dec 27, 2018
ba0fe7a
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 27, 2018
07b3cc9
Fix issue: accessing nil pointer
leventeliu Dec 27, 2018
fb81940
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 27, 2018
cc5d323
Change log msg
zeqing-guo Dec 27, 2018
7db056a
Fix client testing
leventeliu Dec 27, 2018
ea10dc9
Fix metastate test case
Dec 27, 2018
a2bd5a3
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
Dec 27, 2018
607bcf5
Merge remote-tracking branch 'origin/develop' into feature/chainBus-S…
Dec 27, 2018
7c92938
Format code
zeqing-guo Dec 27, 2018
9bb315e
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 27, 2018
324ee20
Use proto.DatabaseID instead of *proto.DatabaseID
Dec 27, 2018
2e4a94e
Use dbID instead of dbid
Dec 27, 2018
24e87d8
Fix integration testing
leventeliu Dec 27, 2018
7aea91c
Fix fuse test
Dec 27, 2018
82b2d6e
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
Dec 27, 2018
34ebc34
Add Client.WaitDBCreation
Dec 27, 2018
b04e08e
Wait for creation after each Create
leventeliu Dec 27, 2018
5280790
Add comment
Dec 27, 2018
3579b1d
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
Dec 27, 2018
dff7dee
Fix fuse testing
leventeliu Dec 27, 2018
c477c19
Also wait for database connection ready on testing
leventeliu Dec 27, 2018
7e35df6
Adjust testing timeout
leventeliu Dec 27, 2018
afe653b
Fix client example code
Dec 27, 2018
a7b1920
Adjust log level for testing
leventeliu Dec 27, 2018
98c01fa
Add chainbusservice test
zeqing-guo Dec 27, 2018
25487c8
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
zeqing-guo Dec 27, 2018
64f104e
Fix bug: incorrect mock BP RPC
zeqing-guo Dec 27, 2018
4331473
Fake user home dir for cql to run in docker
Dec 27, 2018
38daad9
Add delay to make timeout case work perfectly
Dec 27, 2018
ed891c7
Fix start3BPs start slow
Dec 27, 2018
0dc824e
Merge branch 'feature/chainBus-SQLChain' of github.com:CovenantSQL/Co…
Dec 27, 2018
782f286
Change service config for testnet
zeqing-guo Dec 27, 2018
d4166e1
Do not check error type from db connection
leventeliu Dec 27, 2018
dc56a34
Add startup sync holes flag
leventeliu Dec 27, 2018
dffc45f
Move chain/blockproducer parameters to global config
Dec 28, 2018
ffd01be
Update gitlab-ci
Dec 27, 2018
5a7c476
Merge branch 'develop' into feature/chainBus-SQLChain
auxten Dec 28, 2018
dbc0a9f
Update config file
leventeliu Dec 28, 2018
e1903a8
Minor fix
leventeliu Dec 28, 2018
25ab125
Merge branch 'develop' into feature/chainBus-SQLChain
xq262144 Dec 29, 2018
a67fb88
Merge branch 'develop' into feature/chainBus-SQLChain
xq262144 Dec 29, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
*.trace
conf*
..bfg-report
pprof.txt
.dsn
Expand Down
Loading