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

hardware wallet operations #339

Open
wants to merge 878 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
878 commits
Select commit Hold shift + click to select a range
45b6dbd
Merge remote-tracking branch 'remotes/origin/develop' into stdevMac_t…
stdevMac Jan 26, 2020
8216043
[log] refs #295 Add debugging comments
stdevMac Jan 26, 2020
dd78987
[ui] refs #318 - Remove some duplicated and useless alias. Add some logs
AntiD2ta Jan 26, 2020
707401f
[logging] refs #318 - Add function LevelFromEnum. Add enum for log level
AntiD2ta Jan 26, 2020
ab0e150
[config] refs #318 - Change LevelFromString call for LevelFromEnum
AntiD2ta Jan 26, 2020
43f5df8
Merge branch 'stdevMac_t295_slow_load_times' into stdevAntiD2ta_t295_…
stdevMac Jan 26, 2020
f3362d7
Remove duplicated aliases
stdevCrow Jan 27, 2020
223b7fb
[addresses] refs #295 Remove unused update
stdevMac Jan 27, 2020
3075bc6
Merge remote-tracking branch 'simelo/stdevAntiD2ta_t295_Slow_load_tim…
stdevMac Jan 27, 2020
80f8208
refs #295 Remove unused code
stdevMac Jan 27, 2020
8c9bbce
[wallets] refs #295 Remove wallet iterator
stdevMac Jan 27, 2020
8b424f5
[qml] refs #295 Remove qml comments
stdevMac Jan 27, 2020
6fd3959
[qml][history] refs #295 set qml ownership to addressList in history
stdevMac Jan 27, 2020
f1ecf61
[qml] refs #295 Remove promise from outputs
stdevMac Jan 27, 2020
bb58f01
refactor, improve promise chaining in snifHw ref #255
Jan 27, 2020
b953afd
fix bip39 word request layout ref #255
Jan 28, 2020
8b89c40
Merge remote-tracking branch 'simelo_alt/stdevRulo_t279_improve_cover…
olemis Jan 28, 2020
b7bf8e3
Merge branch 'stdevAntiD2ta_t298_Log_events_to_file' of https://githu…
stdevCrow Jan 28, 2020
a041a6b
Merge branch 'stdevCrow_Add_Options_for_the_Log_in_Settings' of https…
stdevCrow Jan 28, 2020
8058343
Call `updateFooterButtonStatus` appropriatelly
stdevCrow Jan 28, 2020
c150d26
[models] Fix history filters for load async and update addresses and …
mauricio1802 Jan 29, 2020
8c7557e
[models] Fix historyManager.getTransactions and historyManager.getTra…
mauricio1802 Jan 29, 2020
8c269d1
[models] Fix historyManager.getTransactions method, was returning dup…
mauricio1802 Jan 29, 2020
2fa4777
[ui][history] Fix behaviour of check boxes in filters of history page
mauricio1802 Jan 29, 2020
b317ef3
[walletManager] refs #295 Add created wallets to wallets list
stdevMac Jan 29, 2020
40e37b0
[wallets] refs #295 Update wallets list in send page every click
stdevMac Jan 29, 2020
0060a97
[model] Fix GetNewTransactions and GetNewTransactionsWithFilters meth…
mauricio1802 Jan 29, 2020
a02f067
Improve visual layout
stdevCrow Jan 30, 2020
1e48c40
Refactorize the code by adding a signal `toggleEncryptionRequested` t…
stdevCrow Jan 30, 2020
ccaaae4
Remove an unneccesary `DialogGetPassword` by move the specific proper…
stdevCrow Jan 30, 2020
f2a95fa
Improve the visual layout of dialogs
stdevCrow Jan 30, 2020
7d1e50e
Set the `logOutput` property's type to `int`
stdevCrow Jan 30, 2020
d514731
Increase the height of the window in which the splash lives in order …
stdevCrow Jan 30, 2020
218e2e5
add SkyWalletInteractionDialog ref #255
Jan 30, 2020
4abc8ad
conditionally show buttons for device operations depending on boot mo…
Jan 30, 2020
8b5dae2
Merge branch 'stdevCrow_Add_Options_for_the_Log_in_Settings' of https…
stdevCrow Jan 31, 2020
d381bc0
update skywallet-go ref #255
Jan 31, 2020
d4fda5d
upload a new firmware to the device ref #255
Jan 31, 2020
88ccf96
[mocks] refs #279 - Mocks for Skycoin-specific interfaces do not belo…
olemis Feb 3, 2020
022e5f6
[ci] refs #279 - Factor gen-mocks-core out of gen-mocks Makefile target
olemis Feb 3, 2020
d0370d0
set device label ref #255
Feb 3, 2020
ecdb0ce
Ssubscribe listeners
Feb 3, 2020
d830024
[ci] refs #279 - Generate mocks for internal interfaces of Dkycoin al…
olemis Feb 3, 2020
cf6ce80
[mocks] refs #279 - Generate mocks for address book interface types
olemis Feb 3, 2020
081e56a
[sky] refs #279 - Generate mocks for Skycoin altcoin plugin
olemis Feb 3, 2020
217b396
Merge branch 'stdevCrow_Add_Options_for_the_Log_in_Settings' into std…
AntiD2ta Feb 3, 2020
2d208ba
Merge pull request #320 from simelo/stdevRulo_t279_improve_coverage
olemis Feb 4, 2020
e2bbda8
[ci] refs #279 - Update docs for make targets in README
olemis Feb 4, 2020
05912c7
Merge remote-tracking branch 'upstream/develop' into stdevAlDen_t139_…
Feb 4, 2020
7dc143d
Merge branch 'stdevAlDen_t139_hardware_wallet_signer' into stdevAlDen…
Feb 4, 2020
282397e
Merge remote-tracking branch 'upstream/develop' into stdevAlDen_t139_…
Feb 4, 2020
5540ae3
Merge branch 'stdevAlDen_t139_hardware_wallet_signer' into stdevAlDen…
Feb 4, 2020
7255f42
Refactor
Feb 4, 2020
59ca0b8
Revert "Refactor"
Feb 4, 2020
99ff67d
[config] refs #318 - Add configuration option `outputFile`
AntiD2ta Feb 5, 2020
d2dc95f
[logging] refs #318 - Add some changes to GetOutputWriter pipeline
AntiD2ta Feb 5, 2020
d884b2a
[models] refs #318 - Comment changes to log output options when setti…
AntiD2ta Feb 5, 2020
0911f9e
[main] refs #318 - Update registration of log output configuration op…
AntiD2ta Feb 5, 2020
f1ca8d5
Merge branch 'develop' of https://github.com/fibercrypto/FiberCryptoW…
stdevCrow Feb 5, 2020
f8f8a8b
Merge branch 'stdevAntiD2ta_t298_Log_events_to_file' of https://githu…
stdevCrow Feb 5, 2020
a2edd93
fix LookupSignerByUID ref #139
Feb 6, 2020
3ed9fe9
fix imports ref #139
Feb 6, 2020
25381e0
fix tests to use new GetSignerUID interface (able to return error) re…
Feb 6, 2020
823d91a
set the emulator ip addres as a test argument ref #139
Feb 6, 2020
37cec49
Merge remote-tracking branch 'simelo/stdevAntiD2ta_t295_Slow_load_tim…
stdevMac Feb 6, 2020
41cac25
Cast to integer the properties `logLevel` and `logOutput`
stdevCrow Feb 6, 2020
22bfe4d
Merge branch 'stdevCrow_Add_Options_for_the_Log_in_Settings' of https…
stdevCrow Feb 7, 2020
cd5d44f
[qml_models] ref #335 - Replaced from "return nil" to NewSkycoinTrans…
hsequeda Feb 7, 2020
de2ea97
Update vendors ref #139
Feb 6, 2020
cc2a576
shares the host's networking namespace with the docker container ref …
Feb 7, 2020
c00c36b
[models] - Remove unnecessary inline comments
olemis Feb 7, 2020
4c387b4
Merge pull request #334 from simelo/stdevCrow_Improve_AddressBook_Lay…
olemis Feb 7, 2020
ba1cad3
run test-skyhw inside the docker continer ref #139
Feb 7, 2020
c086c44
Merge remote-tracking branch 'upstream/develop' into stdevAlDen_t139_…
Feb 7, 2020
925a0c8
[util] refs #337 - Divide number by its accuracy when its less that t…
AntiD2ta Feb 7, 2020
fe78b20
[test] refs #337 - Add a test case for FormatCoins
AntiD2ta Feb 7, 2020
20d1203
[models] refs #337 - Set sky and coinHours properties of qWallet prop…
AntiD2ta Feb 7, 2020
bb14c08
fix emulator ip for integration tests ref #139
Feb 7, 2020
1db8225
do not remove golden files from skycoin ref #139
Feb 8, 2020
800f451
[qml_models] ref #335 - Replaced from "NewSkycoinTransactionOutputIte…
hsequeda Feb 8, 2020
3ddcc55
Merge pull request #338 from simelo/stdevAntiD2ta_t337_Fix_FormatCoin…
olemis Feb 8, 2020
b7c2d77
[bug] ref #335 - Added log to error return in ScanUnspendOutputs of W…
hsequeda Feb 8, 2020
67f310b
Merge remote-tracking branch 'remotes/upstream/develop' into stdevHse…
hsequeda Feb 8, 2020
30b3243
[outputs] refs#295 Add qml ownership to created models
stdevMac Feb 10, 2020
4ba0a33
[qml] refs#295 Remove timer for load outputs
stdevMac Feb 10, 2020
16e478e
[outputs] refs#295 update how dataChange work in outputs model
stdevMac Feb 10, 2020
2ab3077
[outputs] refs#295 update how dataChange work in addresses model
stdevMac Feb 10, 2020
7534614
[outputs][async] refs #295 re-add timer to update and update dataChan…
stdevMac Feb 10, 2020
ad65670
Remove SkycoinProject as submodule
Feb 10, 2020
edbfc01
add github.com/SkycoinProject/skycoin to vendors
Feb 10, 2020
5c74b6b
[models] Change TransactionDetailsFromCoreTxn function for don't use …
mauricio1802 Feb 10, 2020
e197dff
[models] Change TransactionDetailsFromCoreTxn function for don't func…
mauricio1802 Feb 10, 2020
300eda0
Merge remote-tracking branch 'origin/stdevAntiD2ta_t295_Slow_load_tim…
mauricio1802 Feb 10, 2020
3c36861
Merge remote-tracking branch 'remotes/origin/develop' into stdevAntiD…
stdevMac Feb 10, 2020
c95fe18
[qml][merge] refs #295 Update merge with develop
stdevMac Feb 10, 2020
c020f3f
Merge remote-tracking branch 'simelo/stdevAntiD2ta_t295_Slow_load_tim…
stdevMac Feb 10, 2020
63b3b93
[qml] refs#295 remove unused comments
stdevMac Feb 10, 2020
38cbdcc
[walletManager] refs#295 Remove debug tags
stdevMac Feb 10, 2020
57d8c66
Merge branch 'stdevAlDen_t139_hardware_wallet_signer' into stdevAlDen…
Feb 10, 2020
090f219
build before run hardware wallet tests ref #139
Feb 10, 2020
43688e2
[qml][walletsModel] refs#295 Re-use dataChange signal
stdevMac Feb 10, 2020
95ae2cf
[outputs] refs#295 Remove unused wallets in case we don't have outputs
stdevMac Feb 10, 2020
680e989
no need to set the ip address as docker is using the host network ref…
Feb 10, 2020
7cb5c4d
[models] Fix error showing coinHours in wallet list
mauricio1802 Feb 10, 2020
9cb2c51
no need for send button ack in tests as sequencer solve this internal…
Feb 10, 2020
5eb5af6
Merge remote-tracking branch 'simelo/stdevAntiD2ta_t295_Slow_load_tim…
stdevMac Feb 10, 2020
5f75ed5
[model] refs#295 remove role updating changes
stdevMac Feb 10, 2020
8c02d53
[qml] refs#295 Remove commented timer
stdevMac Feb 11, 2020
d9e4084
[bug] ref #335 - Modified TestRemoteWalletScanUnspentOutputs and Test…
hsequeda Feb 11, 2020
f7e366d
[walletManager] refs#295 Update each wallet with one gorutines
stdevMac Feb 11, 2020
85e8362
[qml][wallets] refs#295 Updates wallets using gorutines in model
stdevMac Feb 11, 2020
3144a54
docker not suported for osx images on travis ref #139
Feb 11, 2020
9507383
Merge branch 'stdevAlDen_t139_hardware_wallet_signer' into stdevAlDen…
Feb 11, 2020
c51155e
Revert "[qml][wallets] refs#295 Updates wallets using gorutines in mo…
stdevMac Feb 11, 2020
48ed6ae
Revert "[walletManager] refs#295 Update each wallet with one gorutines"
stdevMac Feb 11, 2020
5858454
[models] Remove anonymous function from init method of WalletManager
mauricio1802 Feb 12, 2020
5a8cf4b
[walletManager] refs#295 Add gorutines to each wallet Load
stdevMac Feb 12, 2020
e944fcb
Merge remote-tracking branch 'simelo/stdevAntiD2ta_t295_Slow_load_tim…
stdevMac Feb 12, 2020
9db371f
Revert "[walletManager] refs#295 Add gorutines to each wallet Load"
stdevMac Feb 12, 2020
2c867c2
[walletsEnv] refs#295 Get walletEnvs while not set
stdevMac Feb 12, 2020
b20120a
[outputs] refs#295 Use mutex in outputs and add async load of wallets
stdevMac Feb 12, 2020
faba87c
generate coverage report from skywallet ref #139
Feb 12, 2020
f64fb9e
[model] Change the way how wallets list is updated
mauricio1802 Feb 12, 2020
c9694d5
Merge remote-tracking branch 'origin/stdevAntiD2ta_t295_Slow_load_tim…
mauricio1802 Feb 12, 2020
f91fde3
update vendors ref #139
Feb 12, 2020
8ff1302
[models] Change walletModel to save the expanded value of wallets
mauricio1802 Feb 13, 2020
0fdf172
[outputs] refs#295 Set BusyIndicator just when loading new
stdevMac Feb 13, 2020
7134c56
[outputs] refs#295 Update each wallets using one goroutine
stdevMac Feb 13, 2020
f65fded
Merge pull request #336 from simelo/stdevHsequeda_t335_Removed_nil_re…
stdevMac Feb 13, 2020
6eb9274
Merge remote-tracking branch 'remotes/origin/develop' into stdevAntiD…
stdevMac Feb 13, 2020
1bae857
[addresses][async] refs#295 Add address even if not correctly loaded
stdevMac Feb 13, 2020
da40eb6
[models] refs #295 - Update wallet balances only if new wallet report…
olemis Feb 13, 2020
cfe9da2
Merge remote-tracking branch 'simelo_alt/stdevAntiD2ta_t295_Slow_load…
olemis Feb 13, 2020
6898ef6
[updateTime] refs#295 Change update time from millisecond to second i…
stdevMac Feb 13, 2020
1c9b5ff
[pendingTransaction] refs#295 Solve reference error in Pending txn page
stdevMac Feb 14, 2020
a44a398
[sky] [errors] [util] refs #295 - Implement coins balance cache for S…
olemis Feb 14, 2020
796baac
Merge remote-tracking branch 'simelo_alt/stdevAntiD2ta_t295_Slow_load…
olemis Feb 14, 2020
7905fa5
[skycoin][network] Fix GetSkycoinClient method for wait for a client …
mauricio1802 Feb 14, 2020
08c2450
[util] refs #295 - Keep track of last update timestamp
olemis Feb 14, 2020
80c327c
get signature as hex value from skycoin API ref #139
Feb 14, 2020
60defd0
fix find Addr Index From Input
Feb 14, 2020
3b3b02f
Merge remote-tracking branch 'upstream/develop' into stdevAlDen_t139_…
Feb 14, 2020
6710f44
update vendors ref #139
Feb 14, 2020
b00cfd2
[core][network] Change Section Pool for grow capacity dynamic
mauricio1802 Feb 14, 2020
9f767b3
Merge remote-tracking branch 'origin/stdevAntiD2ta_t295_Slow_load_tim…
mauricio1802 Feb 14, 2020
4f0bcf7
[walletManager] refs#295 create channel for settings update
stdevMac Feb 14, 2020
44c84f6
Merge remote-tracking branch 'origin/stdevAntiD2ta_t295_Slow_load_tim…
mauricio1802 Feb 14, 2020
0d4533a
[test] refs#295 Update test of dataRefressTimeOut
stdevMac Feb 14, 2020
8b22169
update changes log ref #139
Feb 14, 2020
f860804
[models] Add UI model update when a wallet is created
mauricio1802 Feb 14, 2020
735952d
Merge remote-tracking branch 'origin/stdevAntiD2ta_t295_Slow_load_tim…
mauricio1802 Feb 14, 2020
2c3618e
[walletManager] refs#295 Resolve merge issues
stdevMac Feb 14, 2020
b9ceff6
set the wallet as default signer in the view ref #139
Feb 14, 2020
5be3a38
fix: be able to use the wallet it selft on having multiple signers re…
Feb 14, 2020
a21d409
fix tests: use a skycoin API client from a mock ref #139
Feb 14, 2020
3a67b89
fix test: load more addresess to make getAddrIndex working when using…
Feb 14, 2020
4fd050e
Merge branch 'stdevAlDen_t139_hardware_wallet_signer' into stdevAlDen…
Feb 14, 2020
f9d1d94
update vendors ref #255
Feb 14, 2020
32fd1cc
[bugs] refs#295 Solve minor bugs in wallet creation flow
stdevMac Feb 15, 2020
c565878
[models] Change history manager for run updateTxn method just once at…
mauricio1802 Feb 15, 2020
a9c92bf
[remoteWallets] refs#295 Propertly load remote wallets config
stdevMac Feb 15, 2020
07032a2
[models] Change methods of addressesModel to make change in UI from m…
mauricio1802 Feb 15, 2020
8462650
[models] Fix historyManager.updateTxns method for check the value ret…
mauricio1802 Feb 15, 2020
58b69a4
Merge remote-tracking branch 'origin/stdevAntiD2ta_t295_Slow_load_tim…
mauricio1802 Feb 15, 2020
ad2be02
[models] Change historyManager.updateTxns method to mark the txn as f…
mauricio1802 Feb 15, 2020
67958b4
[core] Change TrasactionInput.GetSpenOutput and TransactionOutput.Get…
mauricio1802 Feb 16, 2020
74004f8
[models] Fix code to work with the changes made to the interfaces
mauricio1802 Feb 16, 2020
18c8708
[models] Change how address list are updated
mauricio1802 Feb 17, 2020
937d2ac
[core] refs#295 Remove unused code
stdevMac Feb 17, 2020
f4ddaaf
[test] refs#295 Refactor test to support new interfaces
stdevMac Feb 17, 2020
1dea44c
making Devicer a singleton do not open the posibility to hold data in…
Feb 18, 2020
e7ec637
Fix Sky Wallet Signer after making DeviceInteraction a singleton ref …
Feb 18, 2020
18849e9
[wallet] refs#295 Initialize wallets mutex for new and loaded wallets
stdevMac Feb 18, 2020
92b0899
show initialize/secure dialog a single time for the application life …
Feb 18, 2020
69cbcdc
[test][lint] refs#295 Solve linter issues added by tests
stdevMac Feb 19, 2020
ad830d0
ask for device initialization/security on device registration only re…
Feb 20, 2020
ea7f9a1
remove duplicate code in initialize/secure device ref #255
Feb 20, 2020
9c537ef
initialization/security checking cold be after the addresses checking…
Feb 20, 2020
89bae20
removing a "just forward" error handling from Catch ref #255
Feb 20, 2020
bdacf69
add an automatic check for firmware upload required ref #255
Feb 21, 2020
1ad79aa
fix mock generation and test for sky wallet ref #255
Feb 24, 2020
743d082
fix sky-wallet unit tests to work against new DeviceIteraction async …
Feb 25, 2020
5bdc839
fix sky-wallet integration tests to work against new DeviceIteraction…
Feb 25, 2020
a0f2e23
refactor rename createDeviceInteraction --> createMockedDeviceInterac…
Feb 25, 2020
41d0e4a
add unit tests for device interacion AddressGen ref #255
Feb 25, 2020
b54ca3a
add unit tests for device interacion ApplySettings ref #255
Feb 25, 2020
445b0fe
add unit tests for device interacion Backup ref #255
Feb 25, 2020
2cd51f2
add unit tests for device interacion CheckMessageSignature ref #255
Feb 25, 2020
3487038
add unit tests for device interacion ChnagePin ref #255
Feb 25, 2020
7556400
add unit tests for device interacion UploadFirmware ref #255
Feb 25, 2020
766925c
add unit tests for device interacion Features ref #255
Feb 25, 2020
7c59c0e
add unit tests for device interacion GenerateMnemonic ref #255
Feb 25, 2020
4fe727e
add unit tests for device interacion SetMnemonic ref #255
Feb 25, 2020
8c8dba1
add unit tests for device interacion Recovery ref #255
Feb 25, 2020
38469b9
add unit tests for device interacion TransactionSign ref #255
Feb 25, 2020
3044b25
add unit tests for device interacion SignMessage ref #255
Feb 25, 2020
aa63083
add unit tests for device interacion Wipe ref #255
Feb 25, 2020
a7ac70c
add unit tests for device interacion Cancel ref #255
Feb 25, 2020
cfbee90
add unit tests for device interacion singleton instantiation ref #255
Feb 25, 2020
47de978
add unit tests for device interacion should track activity ref #255
Feb 25, 2020
59c4251
add unit tests for device interacion IsAvailable ref #255
Feb 25, 2020
abf4cac
add unit tests for device helper FirstAddress ref #255
Feb 26, 2020
d3d2acc
add unit tests for device helper Matcher ref #255
Feb 26, 2020
19ad9d7
add unit tests for device helper DeviceMatch ref #255
Feb 26, 2020
38e4f85
fix AddressGen setup in device interaction mock ref #255
Feb 26, 2020
b50e0e7
add unit tests for device helper ShouldBeSecured ref #255
Feb 26, 2020
aab93ac
add unit tests for device helper ShouldBeInitialized ref #255
Feb 26, 2020
6cc4ffa
add unit tests for device helper ShouldUploadFirmware ref #255
Feb 26, 2020
8944eca
add unit tests for device helper DevHelperInitialization ref #255
Feb 26, 2020
dcc887b
[history] refs#295 Run slot activation of NewTransaction in Main threath
stdevMac Feb 26, 2020
3817705
[comment] refs#295 remove unused code
stdevMac Feb 26, 2020
aa09c68
fix TestInitializeInstantiation, unit tests should be idempotent to a…
Feb 26, 2020
3540a16
remove not required tests from sky-wallet_test.go, device interaction…
Feb 26, 2020
bd54f4e
add unit tests for sky-wallet derivationType ref #255
Feb 26, 2020
d0e6a71
update vendors ref #255
Feb 27, 2020
6a05c38
add unit tests for sky-wallet verifyInputsGrouping ref #255
Feb 27, 2020
116fe88
add protobuf files from vendor/github.com/golang/protobuf ref #255
Feb 27, 2020
2b2a113
Merge pull request #306 from simelo/stdevAntiD2ta_t295_Slow_load_times
olemis Feb 27, 2020
35cc216
add unit tests for sky-wallet SignTransaction ref #255
Feb 28, 2020
51f475a
deletetest/integration/util ref #255
Feb 28, 2020
3270f59
remove NumpadDialogAnimations due to security ref #255
Feb 28, 2020
138d04d
open device interaction dialog on clicking icon ref #255
Feb 28, 2020
b951d6c
fix bug detectin bootloader mode ref #255
Feb 28, 2020
5c752e2
Merge remote-tracking branch 'fc/develop' into stdevAlDen_t139_hardwa…
olemis Mar 2, 2020
8897866
Merge remote-tracking branch 'simelo_alt/stdevAlDen_t139_hardware_wal…
olemis Mar 3, 2020
4916a2a
[errors] refs #139 - Fix ErrNotImplemented redeclared
olemis Mar 3, 2020
40513b2
[sky] refs #139 - Adjust test comparing params.DataRefreshTimeout vs …
olemis Mar 4, 2020
cd674d6
[sky] refs #139 - Correct comparison between params.DataRefreshTimeou…
olemis Mar 4, 2020
f405a23
[ci] refs #139 - Remove duplicate declaration of make test-skyhw target
olemis Mar 4, 2020
3c19cd9
[ci] refs #139 - Increase Skycoin test suite timeout
olemis Mar 4, 2020
d52aef3
[ci] refs #139 - Do not make build prior to make test-skyhw
olemis Mar 4, 2020
6e9010a
[contrib] [models] refs #139 - Handle errors after changing signature…
olemis Mar 4, 2020
7dcd440
improve error handling in derivationType determination ref #139
Mar 4, 2020
7005f40
fix mocks generation rule ref #139
Mar 4, 2020
e51a14f
fix number scale in tests ref #139
Mar 4, 2020
650034d
fix rawTxn2Transaction, handle errors ref #139
Mar 4, 2020
b62b88f
Merge branch 'stdevAlDen_t139_hardware_wallet_signer' into stdevAlDen…
Mar 4, 2020
44dd804
Merge pull request #253 from simelo/stdevAlDen_t139_hardware_wallet_s…
olemis Mar 4, 2020
e85bc03
Update history UI after every new transaction
mauricio1802 Mar 6, 2020
45b040c
update vendors ref #255
Mar 6, 2020
6468e50
fix tests (stubs) to work with new API ref #255
Mar 6, 2020
339a1bf
Add oredered addresses to wallet manager i order to keep order for ad…
mauricio1802 Mar 6, 2020
eb0eb30
be able to ClearSingleTimeOperationsCache ref #255
Mar 6, 2020
d53df3f
fix snifHw registration ref #255
Mar 6, 2020
9b54a17
ClearSingleTimeOperationsCache on device disconnected ref #255
Mar 6, 2020
c651489
Merge pull request #349 from simelo/stdevMauricio1802_t347_History_as…
stdevMac Mar 8, 2020
92d6b1c
Merge pull request #350 from simelo/stdevMauricio1802_t348_Match_addr…
stdevMac Mar 9, 2020
3224ab0
fix error checking in walletManager signTxn ref #353
Mar 9, 2020
1051dfe
remove PersistibleSet ref #353
Mar 9, 2020
7ff01cc
Merge branch 'stdevAlDen_t353_improve_code_quality4hw_signer' into st…
Mar 9, 2020
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
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*.so

# Distribution / packaging
vendor/github.com/therecipe/qt/

# Configuration
*.vscode
Expand Down Expand Up @@ -37,6 +38,7 @@ nosetests.xml
coverage.xml
coverage.html
coverage.out
coverage.tmp.out
*.cover
.hypothesis/

Expand Down Expand Up @@ -86,3 +88,8 @@ rcc_cgo_*.go
darwin


# Auto-generates go files.

*.pb.go
!vendor/github.com/golang/protobuf/**/*.pb.go
*.log
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

48 changes: 41 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ go:
- 1.12.6
services:
- docker
- xvfb
go_import_path: github.com/fibercrypto/fibercryptowallet
cache:
directories:
- $GOPATH/src/github.com/therecipe
- $GOPATH/bin
directories:
- $GOPATH/src/github.com/therecipe
- $GOPATH/bin
env:
global:
- XARGS="-screen 0 1024x768x24"

matrix:
include:
- stage: RPI
Expand Down Expand Up @@ -36,16 +41,31 @@ matrix:
- DEFAULT_TARGET=android-emulator make build-docker
- make lint
- make run-docker CMD='make test'
- make test-cover-travis
- make run-docker CMD='make install coveralls ; make test-cover-travis'
- stage: Linux
before_install:
- source ./ci-scripts/install-$TRAVIS_OS_NAME.sh
install:
- make install-docker-deps
- make install-deps-no-envs
- make install-linters
before_script:
- echo "PATH=$PATH";
- echo "PIP=$PIP";
- PYTHON=python3 PIP=pip3 make -C tmp/hardware-wallet clean
- PYTHON=python3 PIP=pip3 make -C tmp/hardware-wallet/tiny-firmware/protob install-deps-nanopb
- PYTHON=python3 PIP=pip3 make -C tmp/hardware-wallet/tiny-firmware/protob/nanopb/vendor/nanopb/generator/proto
- PYTHON=python3 PIP=pip3 make -C tmp/hardware-wallet emulator
- make -C ./tmp/hardware-wallet run-emulator & true;
# Run self-tests
- ps aux | grep emulator

script:
- make clean
- DEFAULT_TARGET=linux make build-docker
- make clean
- make run-docker CMD='make test-skyhw'
- make run-docker CMD='make test'
- make lint
- make run-docker CMD='make install-coveralls ; make test-cover-travis'
Expand Down Expand Up @@ -78,22 +98,37 @@ matrix:
- stage: MacOS
os: osx
osx_image: xcode10.2
before_install:
- source ./ci-scripts/install-$TRAVIS_OS_NAME.sh
install:
- make install-deps
- make install-coveralls
before_script:
- echo "PATH=$PATH";
- echo "PIP=$PIP";
# Start Xvfb on osx
- ( sudo Xvfb :99 -ac ${XARGS}; echo "Xvfb ok" )& export DISPLAY=:99
- PYTHON=python3 PIP=pip3 make -C tmp/hardware-wallet clean
- PYTHON=python3 PIP=pip3 make -C tmp/hardware-wallet/tiny-firmware/protob install-deps-nanopb
- PYTHON=python3 PIP=pip3 make -C tmp/hardware-wallet/tiny-firmware/protob/nanopb/vendor/nanopb/generator/proto
- PYTHON=python3 PIP=pip3 make -C tmp/hardware-wallet emulator
- make -C ./tmp/hardware-wallet run-emulator & true;
# Run self-tests
- ps aux | grep emulator
script:
- make clean
- make build
- make test
- make test-skyhw
- make build-icon
- make lint
- make test-cover-travis
notifications:
email: false
webhooks:
urls:
- https://fathomless-fjord-24024.herokuapp.com/notify
- https://coveralls.io/webhook
- https://fathomless-fjord-24024.herokuapp.com/notify
- https://coveralls.io/webhook

before_deploy:
- export VERSION="$(git describe --tags --exact-match HEAD 2> /dev/null)"
Expand All @@ -112,6 +147,5 @@ deploy:
draft: true
overwrite: true
on:
repo: fibercrypto/FiberCryptoWallet
repo: fibercrypto/fibercryptowallet
tags: true

3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added

- Use sky-wallet as signer.
- Spend in single transaction coins owned by multiple wallets (same altcoin plugin)
- Added logger for the app and proper error handling
- Built-in support for SkyWallet hardware wallet as signer for Skycoin transactions
Expand Down Expand Up @@ -63,4 +64,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- QR code images are buttons
- GUI to add wallets
- GUI to generate new addresses for a wallet

- Added Address Book
26 changes: 16 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
# Contributing to FiberCrypto projects

We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:

- Submitting a [bug report](https://github.com/fibercrypto/FiberCryptoWallet/issues/new?labels=bug&template=bug_report.md)
- Submitting a [bug report](https://github.com/fibercrypto/fibercryptowallet/issues/new?labels=bug&template=bug_report.md)
- Discussing the current state of the code on [Blockchain Cuba channel](https://t.me/BlockchainCuba)
- Submitting a [new Github pull request](https://github.com/fibercrypto/FiberCryptoWallet/pull/new) with a fix
- Proposing new [features requests](https://github.com/fibercrypto/FiberCryptoWallet/issues/new?labels=feature&template=feature_request.md)
- Submitting a [new Github pull request](https://github.com/fibercrypto/fibercryptowallet/pull/new) with a fix
- Proposing new [features requests](https://github.com/fibercrypto/fibercryptowallet/issues/new?labels=feature&template=feature_request.md)
- Becoming a maintainer

## We Develop with Github

We use github to host code, to track issues and feature requests, as well as accept pull requests.

## We Use [Github Flow](https://guides.github.com/introduction/flow/index.html), So All Code Changes Happen Through Pull Requests

Pull requests are the best way to propose changes to the codebase (we use [Github Flow](https://guides.github.com/introduction/flow/index.html)). We actively welcome your pull requests:

1. Fork the repo and create your branch from `master`.
* Branch name should follow the pattern `<USER>_t<ISSUE>_<DESC>` e.g. `olemis_t256_readme_badges` for @olemis to submit a patch to fix issue #256 by adding project badges in `README.md` file.
- Branch name should follow the pattern `<USER>_t<ISSUE>_<DESC>` e.g. `olemis_t256_readme_badges` for @olemis to submit a patch to fix issue #256 by adding project badges in `README.md` file.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. If contributions add a relevant feature, describe changes in CHANGELOG.md
Expand All @@ -24,33 +27,36 @@ Pull requests are the best way to propose changes to the codebase (we use [Githu
8. Issue that pull request!

## Any contributions you make will be under the GPLv3 Software License

In short, when you submit code changes, your submissions are understood to be under the same [GPLv3 License](https://choosealicense.com/licenses/gpl-3.0/) that covers the project. Feel free to contact the maintainers if that's a concern.

## Report bugs using Github's [issues](https://github.com/fibercrypto/FiberCryptoWallet/issues)
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/fibercrypto/FiberCryptoWallet/issues/new/choose); it's that easy!
## Report bugs using Github's [issues](https://github.com/fibercrypto/fibercryptowallet/issues)
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/fibercrypto/fibercryptowallet/issues/new/choose); it's that easy!

## Write bug reports with detail, background, and sample code

[This is an example](http://stackoverflow.com/q/12488905/180626) of a bug report that we think it's not a bad model. Here's [another example from Craig Hockenberry](http://www.openradar.me/11905408), an app developer whom we greatly respect.

**Great Bug Reports** tend to have:

- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can. [This stackoverflow question](http://stackoverflow.com/q/12488905/180626) includes sample code that *anyone* with a base R setup can run to reproduce what reporter was seeing
- Give sample code if you can. [This stackoverflow question](http://stackoverflow.com/q/12488905/180626) includes sample code that _anyone_ with a base R setup can run to reproduce what reporter was seeing
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)

People *love* thorough bug reports. I'm not even kidding.
People _love_ thorough bug reports. I'm not even kidding.

## Use a Consistent Coding Style

Code style shall respect golang standards and is checked by a number of linters after running `make lint` from the command line.

## License

By contributing, you agree that your contributions will be licensed under its GPLv3 License.

## References
This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md).


This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/a9316a723f9e918afde44dea68b5f9f39b7d9b00/CONTRIBUTING.md).
Loading