Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement AIP29 #2122

Merged
merged 131 commits into from
Feb 20, 2019
Merged
Changes from 1 commit
Commits
Show all changes
131 commits
Select commit Hold shift + click to select a range
26bec43
refactor: move getBytes to TransactionDeserializer
spkjp Jan 29, 2019
708b030
refactor: crypto.ts
spkjp Jan 30, 2019
a55708c
refactor: move to subfolder
spkjp Feb 4, 2019
fb454f2
refactor: add getter for registered Transaction class
spkjp Feb 4, 2019
4a89dbe
refactor: wip
spkjp Feb 4, 2019
4cf663f
refactor: rename
spkjp Feb 5, 2019
5ccd242
refactor: add from
spkjp Feb 5, 2019
a67e864
refactor: add vote, use provided serde functions
spkjp Feb 5, 2019
1f01d80
refactor: add all core types
spkjp Feb 5, 2019
e1d091e
refactor: directory structure
spkjp Feb 5, 2019
bbaaa6c
refactor: change type to field
spkjp Feb 5, 2019
a97c62c
refactor: add canBeApplied check
spkjp Feb 5, 2019
cfacea1
refactor: delegate registration
spkjp Feb 5, 2019
0608a39
refactor: all handlers
spkjp Feb 5, 2019
000728a
refactor: missing toJson
spkjp Feb 5, 2019
41cd273
refactor: replace Transaction constructor calls
spkjp Feb 5, 2019
4ab62c0
fix: data access
spkjp Feb 5, 2019
a36033b
fix: type errors
spkjp Feb 5, 2019
0be3685
refactor: add type info to pool, use new tx class
spkjp Feb 5, 2019
9e772d0
fix: tx verification
spkjp Feb 6, 2019
67a4332
fix: fix some core-database issues
spkjp Feb 6, 2019
dcbe0ef
refactor: replace usage of tx class
spkjp Feb 6, 2019
135fa28
refactor: remove all occurences of old tx class
spkjp Feb 6, 2019
84ce574
fix: forger
spkjp Feb 6, 2019
2f2c302
chore: delete old Transaction class
spkjp Feb 6, 2019
c6c5bcd
refactor: cleanup de/serializers
spkjp Feb 6, 2019
b3a4584
fix: wrong data
spkjp Feb 6, 2019
cf8a667
refactor: remove obsolete tx handler, add type info for wallet manager
spkjp Feb 6, 2019
1c3e285
fix: vote report
spkjp Feb 6, 2019
9c1abf5
refactor: rename AbstractTransaction
spkjp Feb 6, 2019
9507af6
refactor: fromData
spkjp Feb 6, 2019
daa96fd
refactor: rename repository
spkjp Feb 6, 2019
884964f
refactor: move canApply check
spkjp Feb 6, 2019
5b76e5a
refactor: Joi schema
spkjp Feb 6, 2019
97209a6
refactor: schemas.ts
spkjp Feb 6, 2019
f9a9851
refactor: move extensions and remove obsolete transaction validator
spkjp Feb 7, 2019
31f91fc
refactor: make joi schema dynamic
spkjp Feb 7, 2019
82250a3
fix: use registry to resolve schema
spkjp Feb 7, 2019
48cb4ae
fix: timestamp
spkjp Feb 7, 2019
13ef26e
fix: schema issues
spkjp Feb 7, 2019
8d08c62
fix: buffer issue
spkjp Feb 7, 2019
8b06ced
feat: make bignumber schema universal
spkjp Feb 7, 2019
c34ef87
fix: transaction schemas
spkjp Feb 7, 2019
9e81ece
fix: use sanitized data
spkjp Feb 7, 2019
0fd3f69
test: fix builder tests
spkjp Feb 7, 2019
bd7c08c
test: fix block deserializer test
spkjp Feb 7, 2019
72f4698
test: fix transaction tests
spkjp Feb 7, 2019
73b9ab2
test: fix block tests
spkjp Feb 7, 2019
6124753
fix: extend schema to accept genesis transactions
spkjp Feb 7, 2019
628b27f
test: schema tests
spkjp Feb 7, 2019
cdaa73d
test: transfer schema test
spkjp Feb 7, 2019
c947e1c
test: remaining schema tests
spkjp Feb 7, 2019
2f85d79
fix: enforce lowercase public key
spkjp Feb 7, 2019
2ed96ee
test: rework handler tests
spkjp Feb 7, 2019
69ac23f
test: missing handler tests
spkjp Feb 8, 2019
ec81c40
test: fix transaction class tests
spkjp Feb 8, 2019
d4b5047
test: fix wallet class tests
spkjp Feb 8, 2019
83a5c2e
test: crypto go green
spkjp Feb 8, 2019
32e5c7c
test: core-forger
spkjp Feb 8, 2019
e1f2802
fix: update block schema after tx registration
spkjp Feb 8, 2019
83dc379
refactor: schema validation, strip unknown fields
spkjp Feb 8, 2019
23a5d77
misc: remove TODO
spkjp Feb 8, 2019
75199c0
refactor: add fromBytes, toBytes
spkjp Feb 8, 2019
178d819
test: fromBytes with garbage input
spkjp Feb 8, 2019
849847f
refactor: export errors
spkjp Feb 8, 2019
9e9a61b
test: fix transaction array not updated
spkjp Feb 8, 2019
09b6645
test: fix core-api
spkjp Feb 8, 2019
f1258aa
test: fix core-database
spkjp Feb 8, 2019
6f17ea0
fix: ensure applyV1Compatibilty is called
spkjp Feb 9, 2019
fc5fe9c
test: fix tx pool guard
spkjp Feb 9, 2019
8881a10
test: transaction-pool
spkjp Feb 9, 2019
35303a9
test: core-debugger-cli
spkjp Feb 9, 2019
5845a5f
test: fix core-p2p
spkjp Feb 9, 2019
f1f1e65
test: fix core-blockchain
spkjp Feb 9, 2019
65d33db
test: fix core-test-utils
spkjp Feb 9, 2019
8d499e4
Merge branch 'develop' into aip29-wip
spkjp Feb 12, 2019
9315694
fix: regressions after merge
spkjp Feb 12, 2019
ced505d
fix: benchmark
spkjp Feb 12, 2019
1b3b3b9
wip
spkjp Feb 12, 2019
7f0a498
wip: ajv schema
spkjp Feb 14, 2019
bb81b4a
wip: ajv tx schema
spkjp Feb 14, 2019
9f7abcf
wip: extend tx schemas
spkjp Feb 15, 2019
d47157d
refactor: move ajv definitions into separate dirs
spkjp Feb 15, 2019
69c0080
refactor: replace joi with ajv
spkjp Feb 15, 2019
dd2acee
refactor: rename, change visibility
spkjp Feb 15, 2019
efd649e
fix: set instance
spkjp Feb 15, 2019
220a7cf
fix: add missing schemas
spkjp Feb 15, 2019
b6bc358
fix: update transactions
spkjp Feb 15, 2019
06fe248
fix: make validate generic
spkjp Feb 15, 2019
41be577
test: replace fixture
spkjp Feb 15, 2019
3eebfe0
chore: remove unused file
spkjp Feb 15, 2019
2bd2c10
test: fix transaction tests
spkjp Feb 15, 2019
61f1905
refactor: add signed tx schema
spkjp Feb 15, 2019
3b98075
refactor: move keywords into one file
spkjp Feb 15, 2019
0105e57
chore: remove ajv-merge dependency
spkjp Feb 15, 2019
fba1811
fix: bignumber schema
spkjp Feb 15, 2019
492ef5e
test: add keywords
spkjp Feb 15, 2019
ec4acb9
test: add ajv-wrapper
spkjp Feb 15, 2019
b96e691
fix: pass extendRefs option
spkjp Feb 16, 2019
30939f3
fix: schema issues
spkjp Feb 16, 2019
462e11c
test: extend ajv schema coverage
spkjp Feb 16, 2019
0cabc57
fix: write to secondSignature
spkjp Feb 16, 2019
187d39b
feat: add networkByte schema
spkjp Feb 16, 2019
d800135
test: fix transaction tests
spkjp Feb 16, 2019
ccebd07
fix: add genesis exception for schema
spkjp Feb 16, 2019
18037ef
test: adjust fixture
spkjp Feb 16, 2019
49e871d
test: genesis bypass
spkjp Feb 16, 2019
aa34456
refactor: block ajv schema
spkjp Feb 16, 2019
94aba82
chore: delete obsolete files
spkjp Feb 16, 2019
87203b5
refactor: update transactions schema at runtime
spkjp Feb 16, 2019
20af211
fix: disable temporarily
spkjp Feb 16, 2019
e5ee766
chore: yarn.lock
spkjp Feb 16, 2019
b567546
Merge remote-tracking branch 'origin/develop' into aip29
spkjp Feb 19, 2019
4ed5c33
fix: merge conflicts
spkjp Feb 19, 2019
7cb33bf
refactor: move hapi-ajv plugin to core-http-utils
spkjp Feb 19, 2019
68c7300
fix: enable transaction payload schema
spkjp Feb 19, 2019
f5e1c12
refactor: formats
spkjp Feb 19, 2019
114f908
refactor: enable schema on p2p endpoints
spkjp Feb 19, 2019
83b9d1f
fix: add strict transaction schema
spkjp Feb 19, 2019
965879a
test: fix core-api
spkjp Feb 19, 2019
9153f53
test: fix core-p2p
spkjp Feb 19, 2019
ae5b31d
fix: return received tx id instead of calculated one
spkjp Feb 19, 2019
b9d385a
Merge remote-tracking branch 'origin/develop' into aip29-wip
spkjp Feb 19, 2019
aac822b
test: tx guard
spkjp Feb 20, 2019
4aff3aa
test: fix transaction pool
spkjp Feb 20, 2019
4ca5b82
fix: add flag to use non-strict schema validation
spkjp Feb 20, 2019
f657508
test: fix core-tester-cli
spkjp Feb 20, 2019
e6b1712
test: update fixture
spkjp Feb 20, 2019
7667ffd
refactor(crypto): consistent method names
Feb 20, 2019
aa39e9b
Merge branch '2.3' into aip29
faustbrian Feb 20, 2019
0d20382
Update transaction.ts
faustbrian Feb 20, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove unused file
  • Loading branch information
spkjp committed Feb 15, 2019
commit 3eebfe07962ca19cecadd0a62b50b0019f871451
25 changes: 0 additions & 25 deletions packages/crypto/src/test.ts

This file was deleted.