Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 0d22897

Browse files
committed
Merge branch 'release/1.3.0'
2 parents 14f705d + 4406b87 commit 0d22897

File tree

1,174 files changed

+150434
-66355
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,174 files changed

+150434
-66355
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[Makefile]
12+
indent_style = tab
13+
indent_size = 8
14+
15+
[*.hs]
16+
indent_size = 4
17+
max_line_length = 80

.gitignore

Lines changed: 115 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ wdb-*/
2727
keys
2828
!secrets/*.key
2929
!scripts/tls-files/server.key
30+
tmp-secrets/
3031

3132
# Node runtime data
3233
logs
@@ -58,14 +59,14 @@ tags*
5859
*.swp
5960

6061
# Compiled-scripts cruft
61-
scripts/haskell/dependencies.hs
6262
scripts/haskell/dependencies.hi
6363
scripts/haskell/dependencies.o
6464
scripts/haskell/dependencies
6565

6666
# 'pkgs/stack2nix' is a symlink into the nix store, it can safely be ignored
6767
pkgs/stack2nix
68-
nixpkgs # in case generate.sh clones nixpkgs in here
68+
# in case generate.sh clones nixpkgs in here
69+
nixpkgs
6970
pkgs/result
7071

7172
# explorer
@@ -84,6 +85,9 @@ custom-wallet-config.nix
8485
wallet-new/bench/results/*.csv
8586
wallet-new/bench/results/*.txt
8687

88+
# wallet web API golden tests
89+
wallet-new/test/golden/*.txt.new
90+
8791
# cardano-state-* for wallet data
8892
cardano-state-*
8993
state-*
@@ -94,3 +98,112 @@ exchange-topology.yaml
9498
# launch scripts
9599
launch_*
96100
result*
101+
*.patch
102+
103+
# remove when done debugging
104+
1.1.1-1-w/
105+
106+
107+
# Created by https://www.gitignore.io/api/python
108+
109+
### Python ###
110+
# Byte-compiled / optimized / DLL files
111+
__pycache__/
112+
*.py[cod]
113+
*$py.class
114+
115+
# C extensions
116+
*.so
117+
118+
# Distribution / packaging
119+
.Python
120+
build/
121+
develop-eggs/
122+
dist/
123+
downloads/
124+
eggs/
125+
.eggs/
126+
# lib/
127+
# lib64/
128+
parts/
129+
sdist/
130+
var/
131+
wheels/
132+
*.egg-info/
133+
.installed.cfg
134+
*.egg
135+
136+
# PyInstaller
137+
# Usually these files are written by a python script from a template
138+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
139+
*.manifest
140+
*.spec
141+
142+
# Installer logs
143+
pip-log.txt
144+
pip-delete-this-directory.txt
145+
146+
# Unit test / coverage reports
147+
htmlcov/
148+
.tox/
149+
.coverage
150+
.coverage.*
151+
.cache
152+
.pytest_cache/
153+
nosetests.xml
154+
coverage.xml
155+
*.cover
156+
.hypothesis/
157+
158+
# Translations
159+
*.mo
160+
*.pot
161+
162+
# Flask stuff:
163+
instance/
164+
.webassets-cache
165+
166+
# Scrapy stuff:
167+
.scrapy
168+
169+
# Sphinx documentation
170+
docs/_build/
171+
172+
# PyBuilder
173+
target/
174+
175+
# Jupyter Notebook
176+
.ipynb_checkpoints
177+
178+
# pyenv
179+
.python-version
180+
181+
# celery beat schedule file
182+
celerybeat-schedule.*
183+
184+
# SageMath parsed files
185+
*.sage.py
186+
187+
# Environments
188+
.env
189+
.venv
190+
env/
191+
venv/
192+
ENV/
193+
env.bak/
194+
venv.bak/
195+
196+
# Spyder project settings
197+
.spyderproject
198+
.spyproject
199+
200+
# Rope project settings
201+
.ropeproject
202+
203+
# mkdocs documentation
204+
/site
205+
206+
# mypy
207+
.mypy_cache/
208+
209+
# End of https://www.gitignore.io/api/python

.hlint.yaml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# HLint configuration file
2+
# https://github.com/ndmitchell/hlint
3+
##########################
4+
5+
# This file contains a template configuration file, which is typically
6+
# placed as .hlint.yaml in the root of your project
7+
8+
- arguments: [-XTypeApplications, --cpp-define=CONFIG=dev]
9+
10+
- ignore: {name: Redundant do}
11+
- ignore: {name: Redundant bracket}
12+
- ignore: {name: Redundant $}
13+
- ignore: {name: Redundant flip}
14+
- ignore: {name: Move brackets to avoid $}
15+
- ignore: {name: Eta reduce}
16+
- ignore: {name: Avoid lambda}
17+
- ignore: {name: Use camelCase}
18+
- ignore: {name: Use const}
19+
- ignore: {name: Use if}
20+
- ignore: {name: Use notElem}
21+
- ignore: {name: Use fromMaybe}
22+
- ignore: {name: Use maybe}
23+
- ignore: {name: Use fmap}
24+
- ignore: {name: Use foldl}
25+
- ignore: {name: 'Use :'}
26+
- ignore: {name: Use ++}
27+
- ignore: {name: Use ||}
28+
- ignore: {name: Use &&}
29+
- ignore: {name: 'Use ?~'}
30+
- ignore: {name: Use <$>}
31+
- ignore: {name: Use .}
32+
- ignore: {name: Use head}
33+
- ignore: {name: Use String}
34+
- ignore: {name: Use Foldable.forM_}
35+
- ignore: {name: Unused LANGUAGE pragma}
36+
- ignore: {name: Use newtype instead of data}
37+
# Rules not found in old HLint.hs file (prior to HLint 2.0)
38+
# Added when we made the change.
39+
- ignore: {name: Redundant lambda}
40+
- ignore: {name: Use section}
41+
42+
# Specify additional command line arguments
43+
#
44+
# - arguments: [--color, --cpp-simple, -XQuasiQuotes]
45+
46+
47+
# Control which extensions/flags/modules/functions can be used
48+
#
49+
# - extensions:
50+
# - default: false # all extension are banned by default
51+
# - name: [PatternGuards, ViewPatterns] # only these listed extensions can be used
52+
# - {name: CPP, within: CrossPlatform} # CPP can only be used in a given module
53+
#
54+
# - flags:
55+
# - {name: -w, within: []} # -w is allowed nowhere
56+
#
57+
# - modules:
58+
# - {name: [Data.Set, Data.HashSet], as: Set} # if you import Data.Set qualified, it must be as 'Set'
59+
# - {name: Control.Arrow, within: []} # Certain modules are banned entirely
60+
#
61+
# - functions:
62+
# - {name: unsafePerformIO, within: []} # unsafePerformIO can only appear in no modules
63+
64+
65+
# Add custom hints for this project
66+
#
67+
# Will suggest replacing "wibbleMany [myvar]" with "wibbleOne myvar"
68+
# - error: {lhs: "wibbleMany [x]", rhs: wibbleOne x}
69+
70+
71+
# Turn on hints that are off by default
72+
#
73+
# Ban "module X(module X) where", to require a real export list
74+
# - warn: {name: Use explicit module export list}
75+
#
76+
# Replace a $ b $ c with a . b $ c
77+
# - group: {name: dollar, enabled: true}
78+
#
79+
# Generalise map to fmap, ++ to <>
80+
# - group: {name: generalise, enabled: true}
81+
82+
83+
# Ignore some builtin hints
84+
# - ignore: {name: Use let}
85+
# - ignore: {name: Use const, within: SpecialModule} # Only within certain modules
86+
87+
88+
# Define some custom infix operators
89+
# - fixity: infixr 3 ~^#^~
90+
91+
92+
# To generate a suitable file for HLint do:
93+
# $ hlint --default > .hlint.yaml

.nonsense

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
File with no meaning, just to trigger CI rebuild
2+
trigger!
23

CHANGELOG.md

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,78 @@
11
# CHANGELOG
22

3+
## Cardano SL 1.3.0 (Mainnet)
4+
5+
### Features
6+
7+
- The V1 API and its test coverage are finalized (CBR-101).
8+
9+
- Expose SubscriptionStatus as part of /api/v1/node-info (CBR-186).
10+
11+
- Better error message for missing charset (Wallet Backend - CBR-223).
12+
13+
- Create AVVM mnemonic page screenshot (CBR-281).
14+
15+
- Sending raw data, without deserialization, to the network using diffusion layer (CBR-277).
16+
17+
- Speed up block retrieval (CDEC-49).
18+
19+
- Back port Timer to Pos.Diffusion.Subscription.Common (CDEC-243).
20+
21+
- Message size limits should not be configurable (CDEC-260).
22+
23+
- Consolidate the block and undo into a single file per block (CDEC-293).
24+
25+
- Upgrade to GHC 8.2.2 (CBR-51).
26+
27+
### Specifications & documentation
28+
29+
- The formal specifications for the new wallet backend are finished (CBR-60).
30+
31+
- Document the new Wallet V1 API (CBR-102, CBR-183, CO-105 & CBR-278).
32+
33+
- Write a devops guide for the Exchanges (CBR-137).
34+
35+
- Feedback about the current Wallet API has been collected from Exchanges (CBR-104).
36+
37+
- Complete Peer Discovery (P2P) design (CDEC-157).
38+
39+
- Specification of shared seed generation via VSS (CDEC-180).
40+
41+
- Specification of Randomness Generation (CDEC-208).
42+
43+
- As-is specifications of ATRedeem addresses (CDEC-366).
44+
45+
### Testing
46+
47+
- Implement WalletActiveLayer & WalletPassiveLayer for wallet testing purposes (CBR-163).
48+
49+
- Add integration deterministic tests for the Transaction endpoints (CBR-184).
50+
51+
### Fixes
52+
53+
- High (and recurrent) IO traffic in Wallet is solved by removing bad logging of made transaction (CBR-83).
54+
55+
- V1 API wallet restoration issues solved by using asynchronous restoration (CBR-185).
56+
57+
- Fix AppVeyor hard limitation on Windows (CBR-268).
58+
59+
- Node doesn't reconnect to the network (CDEC-259).
60+
61+
- Wallet balance shows wrong Ada amount. Transaction is irrelevant to given wallet (CO-256).
62+
63+
- Fix tmux versions in demo-script (CO-295).
64+
65+
- Cannot create a Wallet via API V1 Wallet API (CO-315).
66+
67+
- Clean script fails if file is missing (CO-316).
68+
69+
- The endpoint /api/settings/time/difference sometimes returns incorrect value (TSD-42).
70+
371
## Cardano SL 1.2.1 (Mainnet)
472

573
Bug fix release.
674

7-
- The wallet launcher now uses a lock file. This prevents problems on
75+
- The Wallet Launcher now uses a lock file. This prevents problems on
876
Windows if upgrading Daedalus while the old version is still
977
running. (DEVOPS-872)
1078

0 commit comments

Comments
 (0)