forked from ArkEcosystem/core
-
Notifications
You must be signed in to change notification settings - Fork 0
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
v2.3.12 (#2) #3
Merged
Merged
v2.3.12 (#2) #3
Conversation
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
* refactor: move core-api repositories into core-database-* (ArkEcosystem#2107) * feat: implement AIP29 (ArkEcosystem#2122) * refactor(core-webhooks): replace sqlite3 with lowdb (ArkEcosystem#2124) * fix(core-elasticsearch): build failure (ArkEcosystem#2127) * test(core-database): add tests to blocks & transactions business repositories (ArkEcosystem#2147) * perf(crypto): integrate bcrypto (ArkEcosystem#2158) * feat(core-logger-pino): initial implementation (ArkEcosystem#2134) * feat(core-api): search delegates by usernames (ArkEcosystem#2143) * feat(crypto): increase vendor field length to 255 bytes (ArkEcosystem#2159) * refactor: replace micromatch with nanomatch and remove heavy deps (ArkEcosystem#2165) * refactor: replace micromatch with the more lightweight nanomatch * fix(core-http-utils): remove non-existent deps * fix(core-vote-report): add vision dependency * Update create.ts * refactor(crypto): benchmarks (ArkEcosystem#2167) * chore: move core-graphql to the deprecated folder (ArkEcosystem#2169) * test: initial restructure & split of unit and integration tests (ArkEcosystem#2172) * refactor: replace dayjs-ext with dato (ArkEcosystem#2168) * refactor: peg block timestamp to slot (ArkEcosystem#2176) * chore: circleci update coverage directory (ArkEcosystem#2177) * chore: remove extraneous jest presets and config (ArkEcosystem#2182) * refactor(core-tester-cli): rewrite from scratch (ArkEcosystem#2133) * refactor(crypto): de/serialization (ArkEcosystem#2175) * refactor: move transaction logic out of crypto (ArkEcosystem#2188) * feat(core-tester-cli): test the vendor field (ArkEcosystem#2189) * feat(core-tester-cli): add the ability to send multiple waves (ArkEcosystem#2191) * feat(core): add support for reinstalling the current version (ArkEcosystem#2192) * feat(core): add support for forced updates (ArkEcosystem#2190) * style: apply prettier formatting * test(core-container): remove old test * feat(core-api): more params for delegates search endpoint (ArkEcosystem#2184) * fix(core-tester-cli): set crypto network for debug commands (ArkEcosystem#2204) * feat(core-api): add active delegates endpoint (ArkEcosystem#2205) * refactor: move transaction type specific logic into core-transactions (ArkEcosystem#2201) * fix: vote balance update (develop) (ArkEcosystem#2211) * refactor(core-blockchain): remove old fast rebuild code (ArkEcosystem#2210) * refactor(core-blockchain): remove old fast rebuild cold * refactor: remove dead rebuild code * style: apply prettier formatting * refactor(core-blockchain): remove queue wrapper * test(core-blockchain): remove queue wrapper tests * fix(core-blockchain): use async queue methods * fix(core-blockchain): use async queue methods * test(core-blockchain): remove dead test * fix(core-blockchain): add method that disappeared * fix(core-blockchain): add drain call * refactor: drop more unused code * fix: dispatch missing event after block download finished * refactor: remove obsolete config workaround * refactor: drop even more obsolete rebuild code * refactor: cleanup leftovers * revert "refactor: remove obsolete config workaround" * refactor: purely rely on in-memory wallets based on transactions (ArkEcosystem#2209) * refactor: purely rely on in-memory wallets based on transactions * refactor: purely rely on in-memory wallets based on transactions * fix(core-database-postgres): compare vote balance objects * test: use wallet manager instead of database * refactor(core-database): use no longer used properties * test(core-blockchain): expect call without arguments * fix: await integrity verifier results * test(core-blockchain): do not pass any arguments to buildWallets * test(core-database): remove shutdown assertion * test(core-api): wallet manager reference * refactor(core-database-postgres): remove extraneous object.values call * style(core-database-postgres): naming * Update integrity-verifier.ts * refactor(core-database-postgres): make __ methods private * Update integrity-verifier.ts * refactor(core-database-postgres): remove missed blocks from integrity verifier * test: remove integration setup & tests from unit tests (ArkEcosystem#2194) * fix(core-tester-cli): Fix the description of debug:serialize The string provided as an input is supposed to be JSON that is to be serialized. * feat(core): add restart flags to update command (ArkEcosystem#2218) * chore: circleci restore caching + re-organize jobs for unit / integration tests (ArkEcosystem#2222) * chore: bump versions * chore: yarn.lock * fix: resolve core-tester-utils conflicts and various errors * chore: use yarn setup on CircleCI * chore: update CircleCI config * fix(core-tester-cli): Don't hide errors from HTTP failures (ArkEcosystem#2223) Before this patch we would just get the following error, leaving one to wonder what went wrong: [1552298227459] ERROR (core-tester-cli/40747 on smle): Cannot destructure property `data` of 'undefined' or 'null'. After this patch: [1552299329734] ERROR (core-tester-cli/3408 on smle): http://localhost:4003/api/v2/node/configuration: connect ECONNREFUSED 127.0.0.1:4003 [1552299329735] ERROR (core-tester-cli/3408 on smle): Cannot destructure property `data` of 'undefined' or 'null'. * chore: update dependencies and remove unused imports (ArkEcosystem#2212) * refactor: replace axios with got (ArkEcosystem#2203) * feat(core-tester-cli): add make:block command (ArkEcosystem#2221) * fix(core-api): properly sort semver versions (ArkEcosystem#2229) * refactor(core-forger): always use latest available height (ArkEcosystem#2231) * fix: keep old vendor field padding (ArkEcosystem#2233) * fix: properly cast Buffer to hex string (ArkEcosystem#2232) * feat(crypto): Switch block id to full SHA256 (ArkEcosystem#2156) After some predetermined block height, blocks' ids would be generated as full SHA256, encoded as a hex string. Both Block.getIdHex() and Block.getId() return the full SHA256 hex string after the predetermined height. It does not make any sense to represent 256-bit numbers in decimal * fix(crypto): Only use toBytesHex() for old block ids Convert Block's idHex from id using toBytesHex() only if dealing with old block ids (before the switch to full sha256 block id). * test(core-forger): Extend tests with a block with full sha256 id (ArkEcosystem#2235) The new fixture was generated using: yarn --cwd packages/core-tester-cli tester make:block --log --network=testnet --previousBlock='{ "height": 1000000000, "id": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "idHex": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" }' --transactions=0 * refactor: move wallet class out of crypto (ArkEcosystem#2237) * feat(core-database-postgres): transaction asset column (ArkEcosystem#2236) * docs: less noise in the GitHub PR template (ArkEcosystem#2238) * chore(core): Disable webhooks on testnet (ArkEcosystem#2239) Webhooks are disabled on devnet and mainnet by default. Do the same with testnet for consistency and because webhooks are broken and prevent testnet from functioning: $ yarn --cwd packages/core full:testnet ... (node:44847) UnhandledPromiseRejectionWarning: TypeError: webhooks is not iterable at WebhookManager.getMatchingWebhooks (core/packages/core-webhooks/dist/manager.js:47:31) * chore: add publish scripts for npm (ArkEcosystem#2240) * chore: remove unused typedoc dependency (ArkEcosystem#2241) * chore: setup linting for tests (ArkEcosystem#2242) * chore: add update script for dependencies (ArkEcosystem#2244) * chore: remove pretest and lint scripts from packages (ArkEcosystem#2243) * fix(tests): Reference the home directory via HOME, not ~ (ArkEcosystem#2246) "~" is expanded by the shell, if we use it in JavaScript it will end up creating directories like "./packages/core-p2p/~/.core/" Use HOME from the environment instead. If it is not set, then trying "/.core/..." is fine. * refactor: custom transaction types (ArkEcosystem#2247) * fix(core-database): return array instead of joined string from applyOrder (ArkEcosystem#2245) * chore: add publish script for the next channel (ArkEcosystem#2249) * feat(core): support for the next channel (ArkEcosystem#2250) * fix(core-webhooks): return an empty array if no webhooks exist for a given event (ArkEcosystem#2252) * test(core-webhooks): unit test the database (ArkEcosystem#2253) * docs: initial 2.3.0 changelog (ArkEcosystem#2255) * chore: remove packages from codecov ignore list (ArkEcosystem#2256) * refactor: remove missed blocks and productivity (ArkEcosystem#2257) * fix(core-utils): handle NSect edge case (ArkEcosystem#2259) If the search range is narrowed too much then the condition "if (low + this.nAry >= high) {" would catch it and return. But it could happen that we still have neighboring elements and that condition is not true. Check whether the probe declared that the highest match is at some height and if we have probed the next height - the fact that the next height was not declared a match, implicitly means that it is not a match. And if we have two neighboring heights, the lower one a match and the higher one not, then we don't need to search further and have the final result. * fix(core-blockchain): handle unhandled event (ArkEcosystem#2260) * feat(core-logger-pino): set different log levels for console and file (ArkEcosystem#2261) * fix: remove voter balances endpoint * docs: fix broken references to plugins docs (ArkEcosystem#2264) * chore: bump to 2.2.2 * chore: changelog * chore: update readme files with all contributors and fix banners (ArkEcosystem#2266) * chore: add missing oclif dependency (ArkEcosystem#2267) * fix(core-snapshots): remove wallets, add asset handling (ArkEcosystem#2269) * fix(core-logger-pino): crash on rotate, use compression (ArkEcosystem#2270) * fix(core-p2p): pass all opts to httpie instead of just headers (ArkEcosystem#2271) * chore: add missing dependencies (ArkEcosystem#2272) * build(docker): remove core source and add channel support (ArkEcosystem#2274) * build(docker): clean the yarn cache after the installation (ArkEcosystem#2275) * misc(crypto): Update devnet blockid milestone (ArkEcosystem#2277) Height 1895000 at Mon Mar 25 16:56:22 CET 2019 * Merge branch 'master' into develop (ArkEcosystem#2278) * fix(core-logger-pino): prettify filestream (ArkEcosystem#2280) * fix(core-database-postgres): asset migration on mainnet (ArkEcosystem#2281) * chore: import lodash functions from function packages instead of the full lodash (ArkEcosystem#2285) * release: 2.3.0-next.0 (ArkEcosystem#2286) * feat(core-error-tracker-rollbar): initial implementation (ArkEcosystem#2287) * feat(core-error-tracker-raygun): initial implementation (ArkEcosystem#2288) * feat(core-error-tracker-airbrake): initial implementation (ArkEcosystem#2289) * chore: move winston to maintained packages (ArkEcosystem#2291) * chore: remove extraneous .gitattributes entries (ArkEcosystem#2292) * refactor: drop the git commit hash identifier (ArkEcosystem#2293) * chore(core-p2p): raise the minimum version to 2.3.0 (ArkEcosystem#2294) * fix(core-database-postgres): support PG9.5 for asset column migration (ArkEcosystem#2295) * release: 2.3.0-next.1 (ArkEcosystem#2296) * fix(core-database): sort transactions by timestamp:desc by default (ArkEcosystem#2298) * fix(core-snapshots): always load core-database-postgres (ArkEcosystem#2302) * feat(core-snapshots): rollback by a given amount of blocks (ArkEcosystem#2300) * refactor(core-snapshots): make core the only codec for reliability (ArkEcosystem#2301) * refactor: replace any with proper types (ArkEcosystem#2276) * fix(core-snapshots): serialize correct timestamp, dont corrupt buffers (ArkEcosystem#2304) * fix(core-database): write block timestamp as transaction timestamp (ArkEcosystem#2305) * fix(core-api): adjust schema validation of blocks show (ArkEcosystem#2306) * refactor: use kebab case for aliases (ArkEcosystem#2283) * feat(core-new-relic): initial implementation (ArkEcosystem#2290) * perf(crypto): skip transaction verification overhead (ArkEcosystem#2307) * fix(core): read the correct property for the new CLI version (ArkEcosystem#2309) * fix(core-database-postgres): add EQ operator to block height (ArkEcosystem#2313) * build(docker): create symbolic link for ark bin (ArkEcosystem#2312) * fix(crypto): add signSignature to schema (ArkEcosystem#2315) * fix(core-p2p): support common blocks with sha256 ids (ArkEcosystem#2317) * fix(core-p2p): always refresh peer status (ArkEcosystem#2318) * fix(core-database): map block to transaction in findById (ArkEcosystem#2316) * feat(core-database-postgres): support IN operator for block id, height and generator (ArkEcosystem#2319) * refactor(core-p2p): remove the remote interface (ArkEcosystem#2311) * refactor(core): use nsfw for log watching instead of node-tail (ArkEcosystem#2310) * refactor(core-snapshots): remove dead code (ArkEcosystem#2308) * release: 2.3.0-next.2 (ArkEcosystem#2320) * fix(crypto): check if block contains exceptions (ArkEcosystem#2323) * fix(core-database-postgres): shutdown when integrity check fails (ArkEcosystem#2324) * fix(core): preserve existing logs and attach the last line when the log is modified (ArkEcosystem#2322) * perf(core-api): transaction transformer (ArkEcosystem#2327) * fix(core-p2p): two-way ban (ArkEcosystem#2325) * feat: add more block and transaction pool events (ArkEcosystem#2321) * fix: accept already accepted peers (ArkEcosystem#2328) * fix(core-database-postgres): run the asset migration before starting the record migration (ArkEcosystem#2332) * chore: install node.js 11 now that it is stable (ArkEcosystem#2330) * fix: use the maxTransactionsPerRequest configuration for API validation (ArkEcosystem#2331) * fix(core-event-emitter): ensure the event listener won’t exceed the max listener count (ArkEcosystem#2329) * fix(core-p2p): sort heights in getNetworkHeight as numbers (ArkEcosystem#2334) * release: 2.3.0-next.3 (ArkEcosystem#2336) * feat(core-database): add function to search a block by id or height (ArkEcosystem#2337) * refactor(core-database-postgres): add findByHeight to avoid confusion with the misleading findByHeights (ArkEcosystem#2338) * test(functional): broadcast and forge all transaction types (ArkEcosystem#2333) * refactor(core-database): use a raw query to get a block by height (ArkEcosystem#2339) * chore(ci): explicitly name integration test jobs (ArkEcosystem#2340) * fix(core-database): search a block ID if there is no height match (ArkEcosystem#2342) * feat(core-logger-signale): initial implementation (ArkEcosystem#2343) * chore(ci): remove the postgres setup from unit test jobs (ArkEcosystem#2345) * refactor(core-database): clearly separate manager and factory behaviour (ArkEcosystem#2346) * refactor(core-forger): memory leak, log spam, cleanup (ArkEcosystem#2341) * refactor: replace various any with types and simpler interface naming (ArkEcosystem#2348) * refactor(core-transaction-pool): clearly separate manager and factory behaviour (ArkEcosystem#2347) * refactor(core-event-emitter): expose all application events through an enum (ArkEcosystem#2349) * refactor: reduce duplication in all logger packages (ArkEcosystem#2344) * refactor: replace various any with types, property visibility and interface naming (ArkEcosystem#2352) * fix(core-blockchain): initialize active delegates on startup (ArkEcosystem#2353) * release: 2.3.0-next.4 (ArkEcosystem#2354) * test: add TransactionFactory and RestClient test helpers (ArkEcosystem#2355) * fix(crypto): use calculated id for exception check (ArkEcosystem#2356) * refactor(core-api): remove active delegates endpoint (ArkEcosystem#2357) * refactor(core-database): round logic (ArkEcosystem#2358) * fix(core-p2p): frequent peer timeout errors (ArkEcosystem#2363) * fix(core-p2p): remove ping timeout ban (ArkEcosystem#2366) * release: 2.3.0-next.5 (ArkEcosystem#2367) * docs: 2.3.0 changelog (ArkEcosystem#2372) * docs: mention webhook recreation in changelog for 2.3.0 * fix: cope with dynamic round sizes (ArkEcosystem#2370) * fix(core-logger-pino): initial rotation (ArkEcosystem#2380) * fix(core-tester-cli): init config manager from network preset (ArkEcosystem#2384) * refactor(core-container): pass suffix to container (ArkEcosystem#2387) * feat(core-api): return slip44 and wif via node/configuration (ArkEcosystem#2388) * fix(core): pass cli flags correctly (ArkEcosystem#2389) * chore(crypto): bump vendorFieldLength and blockid milestone heights (ArkEcosystem#2395) Due to 2.3 release re-schedule: Height 8128000 at Thu Apr 25 12:05:22 UTC 2019 (assuming no block misses) Height 8128000 at Thu Apr 25 12:37:13 UTC 2019 (assuming block misses as in the last 30000 blocks) Height 8204000 at Thu May 2 12:58:42 UTC 2019 (assuming no block misses) Height 8204000 at Thu May 2 13:45:25 UTC 2019 (assuming block misses as in the last 30000 blocks) * feat(core-event-emitter): add off method (ArkEcosystem#2396) * chore: use ARK as prefix for everything (ArkEcosystem#2397) * fix(crypto): validate address is on network (ArkEcosystem#2394) * fix(core-database): handle unknown transaction search (ArkEcosystem#2404) * release: 2.3.0-next.6 (ArkEcosystem#2406) * fix: prevent wallet managers from indexing/creating ghost wallets (ArkEcosystem#2405) * fix(core-database): wrong delegate order after start up (ArkEcosystem#2431) * docs: 2.3.0 changelog (ArkEcosystem#2435) * docs: 2.3.0 changelog * Persona Core * Persona Core * Persona Core * Persona Core * Persona Core * Persona Core * release: 2.3.0 (ArkEcosystem#2452) * fix(core-transaction-pool): refuse transactions from senders with pending second signature registrations (ArkEcosystem#2458) * fix(crypto): deserialize type > 0 with vendor field instead of skipping it (ArkEcosystem#2459) * release: 2.3.1 (ArkEcosystem#2460) * Persona Core * Persona Core * Persona Core * Persona Core * Persona Core * Persona Core * Persona Core * Persona Core * Persona Core * Persona Core * Persona Core * Persona Core * fix(core-snapshots): use correct genesis block instead of hardcoding devnet (ArkEcosystem#2462) * fix(core): don't pass suffix flag to bip38 and bip39 command (ArkEcosystem#2464) * release: 2.3.12 (ArkEcosystem#2465) * chore: fix absolute banner urls (ArkEcosystem#2469) * docs(template): add release section to pull request template (ArkEcosystem#2472) * Persona Core * Persona Core * fix(crypto): add exceptions for transactions with invalid recipients (ArkEcosystem#2471) * refactor(core): remove support for old release channels (ArkEcosystem#2476) * release: 2.3.14 (ArkEcosystem#2477) * release: 2.3.15 (ArkEcosystem#2478)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
refactor: move core-api repositories into core-database-* (Consolidate core-api's repos into core-database & core-database-postgres ArkEcosystem/core#2107)
feat: implement AIP29 (feat: implement AIP29 ArkEcosystem/core#2122)
refactor(core-webhooks): replace sqlite3 with lowdb (refactor(core-webhooks): replace sqlite3 with lowdb ArkEcosystem/core#2124)
fix(core-elasticsearch): build failure (fix(core-elasticsearch): build failure ArkEcosystem/core#2127)
test(core-database): add tests to blocks & transactions business repositories (test(core-database): add tests to blocks & transactions business repos ArkEcosystem/core#2147)
perf(crypto): integrate bcrypto (perf(crypto): bcrypto ArkEcosystem/core#2158)
feat(core-logger-pino): initial implementation (feat(core-logger-pino): initial implementation ArkEcosystem/core#2134)
feat(core-api): search delegates by usernames (feat(core-api): search delegates by usernames ArkEcosystem/core#2143)
feat(crypto): increase vendor field length to 255 bytes (feat(crypto): increase vendor field length to 255 bytes ArkEcosystem/core#2159)
refactor: replace micromatch with nanomatch and remove heavy deps (refactor: replace micromatch with nanomatch and remove heavy deps ArkEcosystem/core#2165)
refactor: replace micromatch with the more lightweight nanomatch
fix(core-http-utils): remove non-existent deps
fix(core-vote-report): add vision dependency
Update create.ts
refactor(crypto): benchmarks (refactor(crypto): benchmarks ArkEcosystem/core#2167)
chore: move core-graphql to the deprecated folder (chore: move core-graphql to the deprecated folder ArkEcosystem/core#2169)
test: initial restructure & split of unit and integration tests (test: initial restructure & split of unit and integration tests ArkEcosystem/core#2172)
refactor: replace dayjs-ext with dato (refactor: replace dayjs-ext with dato ArkEcosystem/core#2168)
refactor: peg block timestamp to slot (refactor(core-forger): use slot time for block timestamp ArkEcosystem/core#2176)
chore: circleci update coverage directory (chore: update circleci config to fix coverage ArkEcosystem/core#2177)
chore: remove extraneous jest presets and config (chore: remove extraneous jest presets and config ArkEcosystem/core#2182)
refactor(core-tester-cli): rewrite from scratch (refactor(core-tester-cli): rewrite from scratch ArkEcosystem/core#2133)
refactor(crypto): de/serialization (refactor(crypto): de/serialization ArkEcosystem/core#2175)
refactor: move transaction logic out of crypto (refactor: move transaction logic out of crypto ArkEcosystem/core#2188)
feat(core-tester-cli): test the vendor field (feat(core-tester-cli): test the vendor field ArkEcosystem/core#2189)
feat(core-tester-cli): add the ability to send multiple waves (feat(core-tester-cli): add the ability to send multiple waves ArkEcosystem/core#2191)
feat(core): add support for reinstalling the current version (feat(core): add support for reinstalling the current version ArkEcosystem/core#2192)
feat(core): add support for forced updates (feat(core): add support for forced updates ArkEcosystem/core#2190)
style: apply prettier formatting
test(core-container): remove old test
feat(core-api): more params for delegates search endpoint (feat(core-api): more params for delegates search endpoint ArkEcosystem/core#2184)
fix(core-tester-cli): set crypto network for debug commands (fix(core-tester-cli): set crypto network for debug commands ArkEcosystem/core#2204)
feat(core-api): add active delegates endpoint (feat(core-api): add active delegates endpoint ArkEcosystem/core#2205)
refactor: move transaction type specific logic into core-transactions (refactor: move transaction type specific logic into core-transactions ArkEcosystem/core#2201)
fix: vote balance update (develop) (fix: vote balance update (develop) ArkEcosystem/core#2211)
refactor(core-blockchain): remove old fast rebuild code (refactor(core-blockchain): remove old fast rebuild code ArkEcosystem/core#2210)
refactor(core-blockchain): remove old fast rebuild cold
refactor: remove dead rebuild code
style: apply prettier formatting
refactor(core-blockchain): remove queue wrapper
test(core-blockchain): remove queue wrapper tests
fix(core-blockchain): use async queue methods
fix(core-blockchain): use async queue methods
test(core-blockchain): remove dead test
fix(core-blockchain): add method that disappeared
fix(core-blockchain): add drain call
refactor: drop more unused code
fix: dispatch missing event after block download finished
refactor: remove obsolete config workaround
refactor: drop even more obsolete rebuild code
refactor: cleanup leftovers
revert "refactor: remove obsolete config workaround"
refactor: purely rely on in-memory wallets based on transactions (refactor: purely rely on in-memory wallets based on transactions ArkEcosystem/core#2209)
refactor: purely rely on in-memory wallets based on transactions
refactor: purely rely on in-memory wallets based on transactions
fix(core-database-postgres): compare vote balance objects
test: use wallet manager instead of database
refactor(core-database): use no longer used properties
test(core-blockchain): expect call without arguments
fix: await integrity verifier results
test(core-blockchain): do not pass any arguments to buildWallets
test(core-database): remove shutdown assertion
test(core-api): wallet manager reference
refactor(core-database-postgres): remove extraneous object.values call
style(core-database-postgres): naming
Update integrity-verifier.ts
refactor(core-database-postgres): make __ methods private
Update integrity-verifier.ts
refactor(core-database-postgres): remove missed blocks from integrity verifier
test: remove integration setup & tests from unit tests (test: remove integration setup & tests from unit tests ArkEcosystem/core#2194)
fix(core-tester-cli): Fix the description of debug:serialize
The string provided as an input is supposed to be JSON that is to be
serialized.
feat(core): add restart flags to update command (feat(core): add restart flags to update command ArkEcosystem/core#2218)
chore: circleci restore caching + re-organize jobs for unit / integration tests (chore: circleci restore caching + re-organize jobs for unit / integration tests ArkEcosystem/core#2222)
chore: bump versions
chore: yarn.lock
fix: resolve core-tester-utils conflicts and various errors
chore: use yarn setup on CircleCI
chore: update CircleCI config
fix(core-tester-cli): Don't hide errors from HTTP failures (fix(core-tester-cli): Don't hide errors from HTTP failures ArkEcosystem/core#2223)
Before this patch we would just get the following error, leaving one to
wonder what went wrong:
[1552298227459] ERROR (core-tester-cli/40747 on smle): Cannot destructure property
data
of 'undefined' or 'null'.After this patch:
[1552299329734] ERROR (core-tester-cli/3408 on smle): http://localhost:4003/api/v2/node/configuration: connect ECONNREFUSED 127.0.0.1:4003
[1552299329735] ERROR (core-tester-cli/3408 on smle): Cannot destructure property
data
of 'undefined' or 'null'.chore: update dependencies and remove unused imports (chore: update dependencies and remove unused imports ArkEcosystem/core#2212)
refactor: replace axios with got (refactor: replace axios with got ArkEcosystem/core#2203)
feat(core-tester-cli): add make:block command (feat(core-tester-cli): add make:block command ArkEcosystem/core#2221)
fix(core-api): properly sort semver versions (fix(core-api): properly sort semver versions ArkEcosystem/core#2229)
refactor(core-forger): always use latest available height (refactor(core-forger): always use latest available height ArkEcosystem/core#2231)
fix: keep old vendor field padding (fix(crypto): keep old vendor field padding ArkEcosystem/core#2233)
fix: properly cast Buffer to hex string (fix(crypto): cast tx buffer to string in block audit ArkEcosystem/core#2232)
feat(crypto): Switch block id to full SHA256 (feat(crypto): Switch block id to full SHA256 ArkEcosystem/core#2156)
After some predetermined block height, blocks' ids would be generated as
full SHA256, encoded as a hex string.
Both Block.getIdHex() and Block.getId() return the full SHA256 hex
string after the predetermined height. It does not make any sense to
represent 256-bit numbers in decimal
Convert Block's idHex from id using toBytesHex() only if dealing with
old block ids (before the switch to full sha256 block id).
The new fixture was generated using:
yarn --cwd packages/core-tester-cli tester make:block --log --network=testnet --previousBlock='{ "height": 1000000000, "id": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "idHex": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" }' --transactions=0
refactor: move wallet class out of crypto (refactor: move wallet class out of crypto ArkEcosystem/core#2237)
feat(core-database-postgres): transaction asset column (feat(core-database-postgres): transaction asset column ArkEcosystem/core#2236)
docs: less noise in the GitHub PR template (docs: less noise in the GitHub PR template ArkEcosystem/core#2238)
chore(core): Disable webhooks on testnet (chore(core): Disable webhooks on testnet ArkEcosystem/core#2239)
Webhooks are disabled on devnet and mainnet by default. Do the same with
testnet for consistency and because webhooks are broken and prevent
testnet from functioning:
$ yarn --cwd packages/core full:testnet
...
(node:44847) UnhandledPromiseRejectionWarning: TypeError: webhooks is not iterable
at WebhookManager.getMatchingWebhooks (core/packages/core-webhooks/dist/manager.js:47:31)
chore: add publish scripts for npm (chore: add publish scripts for npm ArkEcosystem/core#2240)
chore: remove unused typedoc dependency (chore: remove unused typedoc dependency ArkEcosystem/core#2241)
chore: setup linting for tests (chore: setup linting for tests ArkEcosystem/core#2242)
chore: add update script for dependencies (chore: add update script for dependencies ArkEcosystem/core#2244)
chore: remove pretest and lint scripts from packages (chore: remove pretest and lint scripts from packages ArkEcosystem/core#2243)
fix(tests): Reference the home directory via HOME, not ~ (fix(tests): Reference the home directory via HOME, not ~ ArkEcosystem/core#2246)
"
" is expanded by the shell, if we use it in JavaScript it will end up/.core/"creating directories like "./packages/core-p2p/
Use HOME from the environment instead. If it is not set, then trying
"/.core/..." is fine.
refactor: custom transaction types (refactor: custom transaction types ArkEcosystem/core#2247)
fix(core-database): return array instead of joined string from applyOrder (fix(core-database): return array instead of joined string from applyOrder ArkEcosystem/core#2245)
chore: add publish script for the next channel (chore: add publish script for the next channel ArkEcosystem/core#2249)
feat(core): support for the next channel (feat(core): support for the next channel ArkEcosystem/core#2250)
fix(core-webhooks): return an empty array if no webhooks exist for a given event (fix(core-webhooks): return an empty array if no webhooks exist for a … ArkEcosystem/core#2252)
test(core-webhooks): unit test the database (test(core-webhooks): unit test the database ArkEcosystem/core#2253)
docs: initial 2.3.0 changelog (docs: initial 2.3.0 changelog ArkEcosystem/core#2255)
chore: remove packages from codecov ignore list (chore: remove packages from codecov ignore list ArkEcosystem/core#2256)
refactor: remove missed blocks and productivity (refactor: remove missed blocks and productivity ArkEcosystem/core#2257)
fix(core-utils): handle NSect edge case (fix(core-utils): handle NSect edge case ArkEcosystem/core#2259)
If the search range is narrowed too much then the condition
"if (low + this.nAry >= high) {" would catch it and return. But it could
happen that we still have neighboring elements and that condition is not
true.
Check whether the probe declared that the highest match is at some
height and if we have probed the next height - the fact that the next
height was not declared a match, implicitly means that it is not a
match. And if we have two neighboring heights, the lower one a match and
the higher one not, then we don't need to search further and have the
final result.
fix(core-blockchain): handle unhandled event (fix(core-blockchain): handle unhandled event ArkEcosystem/core#2260)
feat(core-logger-pino): set different log levels for console and file (feat(core-logger-pino): set different log levels for console and file ArkEcosystem/core#2261)
fix: remove voter balances endpoint
docs: fix broken references to plugins docs (docs: fix broken references to plugins docs ArkEcosystem/core#2264)
chore: bump to 2.2.2
chore: changelog
chore: update readme files with all contributors and fix banners (chore: update readme files with all contributors and fix banners ArkEcosystem/core#2266)
chore: add missing oclif dependency (chore: add missing oclif dependency ArkEcosystem/core#2267)
fix(core-snapshots): remove wallets, add asset handling (fix(core-snapshots): snapshot manager ArkEcosystem/core#2269)
fix(core-logger-pino): crash on rotate, use compression (fix(core-logger-pino): don't crash on rotate ArkEcosystem/core#2270)
fix(core-p2p): pass all opts to httpie instead of just headers (fix(core-p2p): pass all opts to the http client instead of just headers ArkEcosystem/core#2271)
chore: add missing dependencies (chore: add missing dependencies ArkEcosystem/core#2272)
build(docker): remove core source and add channel support (Remove source from image. Add build time ARG variable, so NPM channel channel can be defined on image build. ArkEcosystem/core#2274)
build(docker): clean the yarn cache after the installation (build(docker): clean the yarn cache after the installation ArkEcosystem/core#2275)
misc(crypto): Update devnet blockid milestone (misc(crypto): Update devnet blockid milestone ArkEcosystem/core#2277)
Height 1895000 at Mon Mar 25 16:56:22 CET 2019
Merge branch 'master' into develop (Merge branch 'master' into develop ArkEcosystem/core#2278)
fix(core-logger-pino): prettify filestream (fix(core-logger-pino): prettify filestream ArkEcosystem/core#2280)
fix(core-database-postgres): asset migration on mainnet (fix(core-database-postgres): asset migration on mainnet ArkEcosystem/core#2281)
chore: import lodash functions from function packages instead of the full lodash (chore: import lodash functions from function packages instead of the full lodash ArkEcosystem/core#2285)
release: 2.3.0-next.0 (release: 2.3.0-next.0 ArkEcosystem/core#2286)
feat(core-error-tracker-rollbar): initial implementation (feat(core-error-tracker-rollbar): initial implementation ArkEcosystem/core#2287)
feat(core-error-tracker-raygun): initial implementation (feat(core-error-tracker-raygun): initial implementation ArkEcosystem/core#2288)
feat(core-error-tracker-airbrake): initial implementation (feat(core-error-tracker-airbrake): initial implementation ArkEcosystem/core#2289)
chore: move winston to maintained packages (chore: move winston to maintained packages ArkEcosystem/core#2291)
chore: remove extraneous .gitattributes entries (chore: remove extraneous .gitattributes entries ArkEcosystem/core#2292)
refactor: drop the git commit hash identifier (refactor: drop the git commit hash identifier ArkEcosystem/core#2293)
chore(core-p2p): raise the minimum version to 2.3.0 (chore(core-p2p): raise the minimum version to 2.3.0 ArkEcosystem/core#2294)
fix(core-database-postgres): support PG9.5 for asset column migration (fix(core-database-postgres): support PG9.5 for asset column migration ArkEcosystem/core#2295)
release: 2.3.0-next.1 (release: 2.3.0-next.1 ArkEcosystem/core#2296)
fix(core-database): sort transactions by timestamp:desc by default (fix(core-database): sort transactions by timestamp:desc by default ArkEcosystem/core#2298)
fix(core-snapshots): always load core-database-postgres (fix(core-snapshots): always load core-database-postgres ArkEcosystem/core#2302)
feat(core-snapshots): rollback by a given amount of blocks (feat(core-snapshots): rollback by a given amount of blocks ArkEcosystem/core#2300)
refactor(core-snapshots): make core the only codec for reliability (refactor(core-snapshots): make core the only codec for reliability ArkEcosystem/core#2301)
refactor: replace any with proper types (refactor: replace any with proper types ArkEcosystem/core#2276)
fix(core-snapshots): serialize correct timestamp, dont corrupt buffers (fix(core-snapshots): core codec ArkEcosystem/core#2304)
fix(core-database): write block timestamp as transaction timestamp (fix(core-database): transaction timestamp ArkEcosystem/core#2305)
fix(core-api): adjust schema validation of blocks show (fix(core-api): adjust schema validation of blocks show ArkEcosystem/core#2306)
refactor: use kebab case for aliases (chore: use kebab case for aliases ArkEcosystem/core#2283)
feat(core-new-relic): initial implementation (feat(core-new-relic): initial implementation ArkEcosystem/core#2290)
perf(crypto): skip transaction verification overhead (perf(crypto): skip transaction verification overhead ArkEcosystem/core#2307)
fix(core): read the correct property for the new CLI version (fix(core): read the correct property for the new CLI version ArkEcosystem/core#2309)
fix(core-database-postgres): add EQ operator to block height (fix(core-database-postgres): add EQ operator to block height ArkEcosystem/core#2313)
build(docker): create symbolic link for ark bin (build(docker): create symbolic link for ark bin ArkEcosystem/core#2312)
fix(crypto): add signSignature to schema (fix(crypto): add signSignature to schema ArkEcosystem/core#2315)
fix(core-p2p): support common blocks with sha256 ids (fix(core-p2p): common blocks with sha256 ids ArkEcosystem/core#2317)
fix(core-p2p): always refresh peer status (fix(core-p2p): always refresh peer status ArkEcosystem/core#2318)
fix(core-database): map block to transaction in findById (fix(core-database): map block to transaction in findById ArkEcosystem/core#2316)
feat(core-database-postgres): support IN operator for block id, height and generator (feat(core-database-postgres): support IN operator for block id, height and generator ArkEcosystem/core#2319)
refactor(core-p2p): remove the remote interface (refactor(core-p2p): remove the remote interface ArkEcosystem/core#2311)
refactor(core): use nsfw for log watching instead of node-tail (refactor(core): use nsfw for log watching instead of node-tail ArkEcosystem/core#2310)
refactor(core-snapshots): remove dead code (refactor(core-snapshots): remove dead code ArkEcosystem/core#2308)
release: 2.3.0-next.2 (release: 2.3.0-next.2 ArkEcosystem/core#2320)
fix(crypto): check if block contains exceptions (fix(crypto): check if block contains exceptions ArkEcosystem/core#2323)
fix(core-database-postgres): shutdown when integrity check fails (fix(core-database-postgres): shutdown when integrity check fails ArkEcosystem/core#2324)
fix(core): preserve existing logs and attach the last line when the log is modified (fix(core): preserve existing logs and attach the last line when the log is modified ArkEcosystem/core#2322)
perf(core-api): transaction transformer (perf(core-api): transaction transformer ArkEcosystem/core#2327)
fix(core-p2p): two-way ban (fix(core-p2p): two-way ban ArkEcosystem/core#2325)
feat: add more block and transaction pool events (feat: add more block and transaction pool events ArkEcosystem/core#2321)
fix: accept already accepted peers (fix(core-p2p): accept accepted peers ArkEcosystem/core#2328)
fix(core-database-postgres): run the asset migration before starting the record migration (fix(core-database-postgres): run the asset migration before starting the record migration ArkEcosystem/core#2332)
chore: install node.js 11 now that it is stable (chore: install node.js 11 now that it is stable ArkEcosystem/core#2330)
fix: use the maxTransactionsPerRequest configuration for API validation (fix: use the maxTransactionsPerRequest configuration for API validation ArkEcosystem/core#2331)
fix(core-event-emitter): ensure the event listener won’t exceed the max listener count (fix(core-event-emitter): ensure the event listener won’t exceed the max listener count ArkEcosystem/core#2329)
fix(core-p2p): sort heights in getNetworkHeight as numbers (fix(core-p2p): getNetworkHeight() was sorting incorrectly peer heights ArkEcosystem/core#2334)
release: 2.3.0-next.3 (release: 2.3.0-next.3 ArkEcosystem/core#2336)
feat(core-database): add function to search a block by id or height (feat(core-database): add function to search a block by id or height ArkEcosystem/core#2337)
refactor(core-database-postgres): add findByHeight to avoid confusion with the misleading findByHeights (refactor(core-database-postgres): add findByHeight to avoid confusion with the misleading findByHeights ArkEcosystem/core#2338)
test(functional): broadcast and forge all transaction types (test(functional): broadcast and forge all transaction types ArkEcosystem/core#2333)
refactor(core-database): use a raw query to get a block by height (refactor(core-database): use a raw query to get a block by height ArkEcosystem/core#2339)
chore(ci): explicitly name integration test jobs (chore(ci): explicitly name integration test jobs ArkEcosystem/core#2340)
fix(core-database): search a block ID if there is no height match (fix(core-database): search a block ID if there is no height match ArkEcosystem/core#2342)
feat(core-logger-signale): initial implementation (feat(core-logger-signale): initial implementation ArkEcosystem/core#2343)
chore(ci): remove the postgres setup from unit test jobs (chore(ci): remove the postgres setup from unit test jobs ArkEcosystem/core#2345)
refactor(core-database): clearly separate manager and factory behaviour (refactor(core-database): clearly separate manager and factory behaviour ArkEcosystem/core#2346)
refactor(core-forger): memory leak, log spam, cleanup (refactor(core-forger): memory leak, log spam, cleanup ArkEcosystem/core#2341)
refactor: replace various any with types and simpler interface naming (refactor: replace various any with types and simpler interface naming ArkEcosystem/core#2348)
refactor(core-transaction-pool): clearly separate manager and factory behaviour (refactor(core-transaction-pool): clearly separate manager and factory behaviour ArkEcosystem/core#2347)
refactor(core-event-emitter): expose all application events through an enum (refactor(core-event-emitter): expose all application events through an enum ArkEcosystem/core#2349)
refactor: reduce duplication in all logger packages (refactor: reduce duplication in all logger packages ArkEcosystem/core#2344)
refactor: replace various any with types, property visibility and interface naming (refactor: replace various any with types, property visibility and interface naming ArkEcosystem/core#2352)
fix(core-blockchain): initialize active delegates on startup (fix(core-blockchain): initialize active delegates on startup ArkEcosystem/core#2353)
release: 2.3.0-next.4 (release: 2.3.0-next.4 ArkEcosystem/core#2354)
test: add TransactionFactory and RestClient test helpers (test: add TransactionFactory and RestClient as test helpers ArkEcosystem/core#2355)
fix(crypto): use calculated id for exception check (fix(crypto): use calculated id ArkEcosystem/core#2356)
refactor(core-api): remove active delegates endpoint (refactor(core-api): remove active delegates endpoint ArkEcosystem/core#2357)
refactor(core-database): round logic (refactor(core-database): round logic ArkEcosystem/core#2358)
fix(core-p2p): frequent peer timeout errors (fix(core-p2p): frequent peer timeout errors ArkEcosystem/core#2363)
fix(core-p2p): remove ping timeout ban (fix(core-p2p): remove ping timeout ban ArkEcosystem/core#2366)
release: 2.3.0-next.5 (release: 2.3.0-next.5 ArkEcosystem/core#2367)
docs: 2.3.0 changelog (docs: 2.3.0 changelog ArkEcosystem/core#2372)
docs: mention webhook recreation in changelog for 2.3.0
fix: cope with dynamic round sizes (fix: cope with dynamic round sizes ArkEcosystem/core#2370)
fix(core-logger-pino): initial rotation (fix(core-logger-pino): initial rotation ArkEcosystem/core#2380)
fix(core-tester-cli): init config manager from network preset (fix(core-tester-cli): init config manager from network preset ArkEcosystem/core#2384)
refactor(core-container): pass suffix to container (refactor(core-container): pass suffix to container ArkEcosystem/core#2387)
feat(core-api): return slip44 and wif via node/configuration (feat(core-api): return slip44 and wif via node/configuration ArkEcosystem/core#2388)
fix(core): pass cli flags correctly (fix(core): pass cli flags correctly ArkEcosystem/core#2389)
chore(crypto): bump vendorFieldLength and blockid milestone heights (chore(crypto): bump vendorFieldLength and blockid activation heights ArkEcosystem/core#2395)
Due to 2.3 release re-schedule:
Height 8128000 at Thu Apr 25 12:05:22 UTC 2019 (assuming no block misses)
Height 8128000 at Thu Apr 25 12:37:13 UTC 2019 (assuming block misses as in the last 30000 blocks)
Height 8204000 at Thu May 2 12:58:42 UTC 2019 (assuming no block misses)
Height 8204000 at Thu May 2 13:45:25 UTC 2019 (assuming block misses as in the last 30000 blocks)
feat(core-event-emitter): add off method (feat(core-event-emitter): add off method ArkEcosystem/core#2396)
chore: use ARK as prefix for everything (chore: use ARK as prefix for everything ArkEcosystem/core#2397)
fix(crypto): validate address is on network (fix(crypto): validate address is on network ArkEcosystem/core#2394)
fix(core-database): handle unknown transaction search (fix(core-database): handle unknown transaction search ArkEcosystem/core#2404)
release: 2.3.0-next.6 (release: 2.3.0-next.6 ArkEcosystem/core#2406)
fix: prevent wallet managers from indexing/creating ghost wallets (fix: prevent wallet managers from indexing/creating ghost wallets ArkEcosystem/core#2405)
fix(core-database): wrong delegate order after start up (fix(core-database): wrong delegate order after start up ArkEcosystem/core#2431)
docs: 2.3.0 changelog (docs: 2.3.0 changelog ArkEcosystem/core#2435)
docs: 2.3.0 changelog
Persona Core
Persona Core
Persona Core
Persona Core
Persona Core
Persona Core
release: 2.3.0 (release: 2.3.0 ArkEcosystem/core#2452)
fix(core-transaction-pool): refuse transactions from senders with pending second signature registrations (fix(core-transaction-pool): refuse transactions from senders with pending second signature registrations ArkEcosystem/core#2458)
fix(crypto): deserialize type > 0 with vendor field instead of skipping it (fix(crypto): deserialize type > 0 with vendor field instead of skipping it ArkEcosystem/core#2459)
release: 2.3.1 (release: 2.3.1 ArkEcosystem/core#2460)
Persona Core
Persona Core
Persona Core
Persona Core
Persona Core
Persona Core
Persona Core
Persona Core
Persona Core
Persona Core
Persona Core
Persona Core
fix(core-snapshots): use correct genesis block instead of hardcoding devnet (fix(core-snapshots): use correct genesis block instead of hardcoding devnet ArkEcosystem/core#2462)
fix(core): don't pass suffix flag to bip38 and bip39 command (fix(core): dont pass suffix flag to bip38 and bip39 command ArkEcosystem/core#2464)
release: 2.3.12 (release: 2.3.12 ArkEcosystem/core#2465)
chore: fix absolute banner urls (chore: fix absolute banner urls ArkEcosystem/core#2469)
docs(template): add release section to pull request template (docs(template): add release section to pull request template ArkEcosystem/core#2472)
Persona Core
Persona Core
fix(crypto): add exceptions for transactions with invalid recipients (fix(crypto): add exceptions for invalid recipients ArkEcosystem/core#2471)
refactor(core): remove support for old release channels (refactor(core): remove support for old release channels ArkEcosystem/core#2476)
release: 2.3.14 (release: 2.3.14 ArkEcosystem/core#2477)
release: 2.3.15 (release: 2.3.15 ArkEcosystem/core#2478)
Proposed changes
Types of changes
Checklist