Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
537 commits
Select commit Hold shift + click to select a range
1d3d346
Merge remote-tracking branch 'skycoin/develop' into olemis_t735_intr_…
stdevStark Aug 22, 2018
0a17d87
Merge remote-tracking branch 'simelo/olemis_t735_intr_peer_overflow' …
stdevStark Aug 22, 2018
4baa4d2
[daemon] refs #735 - Check for the whole RJCT message prefix before c…
stdevStark Aug 22, 2018
dae67d5
Merge branch 'develop' of https://github.com/skycoin/skycoin into std…
Aug 30, 2018
65109ce
[libc][test] refs # 1191 repair errors by review https://github.com/s…
Aug 30, 2018
12c9821
Merge remote-tracking branch 'skycoin/develop' into olemis_t735_intr_…
stdevStark Sep 2, 2018
b5ff5dc
Merge branch 'develop' of https://github.com/skycoin/skycoin into std…
Sep 6, 2018
75d6d99
[cgo][libc][cipher] refs #1191 Changes in the file cipher.base58.base…
Sep 6, 2018
c73bf9a
Merge remote-tracking branch 'skycoin/develop' into stdevEclipse_t119…
olemis Sep 15, 2018
dd8256c
Merge remote-tracking branch 'simelo/stdevEclipse_t1191_test_libc_cip…
olemis Sep 15, 2018
29bedd5
Merge remote-tracking branch 'simelo/olemis_t1629_libskycoin_errors' …
olemis Sep 15, 2018
7d36889
Merge branch 'olemis_t1629_libskycoin_errors' into stdevEclipse_t1191…
olemis Sep 15, 2018
3f4cce6
[lib] [cipher] refs #1191 - Move to new package ValueError and relate…
olemis Sep 16, 2018
d0f5c45
Merge remote-tracking branch 'simelo/stdevHan_t1191_libc_cipher_coin'…
olemis Sep 16, 2018
03cb3a8
[lib] [include] refs #1191 - Structs in readable package. Rename API …
olemis Sep 16, 2018
88e17c8
Merge remote-tracking branch 'simelo/olemis_t1629_libskycoin_errors' …
olemis Sep 17, 2018
5814d74
[lib] refs #1191 - No race conditions (read/writ)ing isAPILocked
olemis Sep 17, 2018
d1ae9f2
Merge remote-tracking branch 'simelo/olemis_t1629_libskycoin_errors' …
olemis Oct 4, 2018
7be5ea7
[cipher] refs #1191 - Fix typos in cipher crypto after merge
olemis Oct 5, 2018
bed7a2e
[lib] refs #1191 - Remove libskycoin bindings for removed ./util/brow…
olemis Oct 5, 2018
4d121b2
[lib] refs #1191 - No bindings for ciper/encoder in libskycoin API
olemis Oct 5, 2018
e071241
[lib] refs #1191 - No header files for ciper/encoder in libskycoin API
olemis Oct 5, 2018
2ecf8fe
[lib] refs #1191 - remove duplicate code for SKY_cipher_AddressFromBytes
olemis Oct 5, 2018
71ee24a
[lib] refs #1191 - Successful compilation of libskycoin C lib
olemis Oct 5, 2018
1b9717e
[cipher] refs #1191 - Remove ValueError
olemis Oct 8, 2018
d0892a0
[lib] refs #1191 - Error codes. Do not consider ValueError when locki…
olemis Oct 8, 2018
dd95912
[lib] [cipher] refs #1191 - Fix make libc after merge
olemis Oct 8, 2018
a1e17b1
[lib] refs #1191 - Correct sequence of cipher errors
olemis Oct 8, 2018
1da94ce
[lib] refs #1191 - Fix previous crash running Test_Secp256_06a_alt0
olemis Oct 8, 2018
0639e47
[lib] refs #1191 - (coin__UxArray *) => (GoSlice_ *)
olemis Oct 9, 2018
74dabcc
Merge remote tracking branch 'simelo/olemis_t1629_libskycoin_errors' …
olemis Oct 9, 2018
80e61d8
Merge remote-tracking branch 'simelo/olemis_t1629_libskycoin_errors' …
olemis Oct 9, 2018
f3a620f
Merge remote-tracking branch 'simelo/olemis_t1629_libskycoin_errors' …
stdevStark Oct 9, 2018
b733b13
[lib] refs #1191 - SKY_api_Client_Blocks accepts slice of int rather …
stdevStark Oct 9, 2018
b843c57
Merge remote-tracking branch 'simelo/olemis_t1629_libskycoin_errors' …
stdevStark Oct 10, 2018
ef74c62
Merge remote-tracking branch 'skycoin/develop' into stdevEclipse_t119…
stdevStark Oct 10, 2018
0cd96e9
Merge remote-tracking branch 'simelo/olemis_t1629_libskycoin_errors' …
stdevStark Oct 10, 2018
0f1317e
[lib] refs #1191 - Remove catchApiPanic. time.Time values as RFC3339 …
olemis Oct 11, 2018
15728d8
Increase version upgrade node timeout for linux travis
gz-c Oct 12, 2018
5c00c6e
Add CHANGELOG warning about network protocol upgrade
gz-c Oct 12, 2018
88f6d42
[lib] refs #1191 - Translate error codes returned by fee calculator c…
olemis Oct 12, 2018
2e64746
[lib] refs #1191 - Fix seg fault in fee calculator test case
olemis Oct 12, 2018
860b832
Merge pull request #1649 from simelo/olemis_t1629_libskycoin_errors
gz-c Oct 12, 2018
957be8f
Add run-daemon.sh, update docs
gz-c Oct 12, 2018
23fa8f1
Merge branch 'develop' into update-run
gz-c Oct 12, 2018
7dd281a
Merge pull request #1949 from gz-c/node-upgrade-warning
gz-c Oct 12, 2018
bb7d0fb
Merge pull request #1948 from gz-c/bump-timeout
gz-c Oct 12, 2018
eea9368
[lib] refs #1191 - Rename header files
olemis Oct 12, 2018
641b486
[lib] refs #1191 - Header files included twice
olemis Oct 12, 2018
0eb9fd4
[lib] refs #1191 - Silence make lint warnings
olemis Oct 12, 2018
7f12e02
Add daemon builds; bump version 0.25.0-rc1
gz-c Oct 12, 2018
eb78f10
Don't put src in release builds
gz-c Oct 12, 2018
96e8de8
Merge pull request #1951 from gz-c/update-run
gz-c Oct 12, 2018
e35d62c
Merge pull request #1952 from gz-c/daemon-builds
gz-c Oct 12, 2018
9afd543
Merge remote-tracking branch 'skycoin/develop' into stdevEclipse_t119…
olemis Oct 12, 2018
9bb943e
Merge remote-tracking branch 'skycoin/develop' into stdevEclipse_t119…
olemis Oct 12, 2018
4813fe7
[lib] refs #1191 - Fix errors reported in Travis build #3252
olemis Oct 12, 2018
cce35c5
[lib] refs #1191 - Use toAddresserArray in functions with args of cip…
olemis Oct 12, 2018
bd3dc79
[lib] refs #1191 - Type GoUint8_ for Version field of cipher__Bitcoin…
olemis Oct 13, 2018
ea6419c
[lib] refs #1191 - Remove SKY_API_LOCKED and add SKY_INVALID_TIMESTRI…
olemis Oct 13, 2018
01fb777
Build CLI tool for releases
gz-c Oct 13, 2018
3af6324
Update changelog
gz-c Oct 13, 2018
eb0f0f0
Fixups
gz-c Oct 13, 2018
64849ae
Document /spend and unversioned API migration
gz-c Oct 13, 2018
e403727
Update changelog
gz-c Oct 13, 2018
5283268
Merge pull request #1955 from gz-c/cli-builds
gz-c Oct 13, 2018
9d06af6
Fixup
gz-c Oct 13, 2018
839732f
Merge pull request #1956 from gz-c/document-spend-migration
gz-c Oct 13, 2018
feb4f7f
Accept Extra in into packet again; handle protocol version better
gz-c Oct 13, 2018
07f9f2c
[lib] refs #1191 - Document context parameter of callback functions. …
olemis Oct 13, 2018
891f962
[lib] refs #1191 - Remove SKY_wallet_CreateAddresses
olemis Oct 13, 2018
7aab123
[lib] refs #1191 - Silence C compile time warnings
stdevStark Oct 13, 2018
85a5d06
Merge remote-tracking branch 'skycoin/develop' into stdevEclipse_t119…
stdevStark Oct 13, 2018
f793666
[lib] refs #1191 - Do not export cipher.encrypt.sha256xor in C API
stdevStark Oct 13, 2018
f12c011
[lib] refs #1191 - Revert changes in secp256k1-go cipher lib
stdevStark Oct 13, 2018
17977c1
[lib] refs #1191 - Change position of return nil in secp256k1 cipher lib
stdevStark Oct 13, 2018
6b0e267
Merge remote-tracking branch 'skycoin/develop' into olemis_t735_rjct_…
olemis Oct 13, 2018
997c619
[daemon] refs #735 - Log errors sending GIVP + RJCT . Fix hex dum exa…
olemis Oct 13, 2018
c34ad94
Fix the initial state of the Selects on Safari
Senyoret1 Oct 14, 2018
a03ce0c
[daemon] refs #735 - Proper disconnection in send results loop after …
olemis Oct 14, 2018
8c13740
[daemon] refs #735 - Silence make lint warnings
olemis Oct 15, 2018
c830722
[daemon] refs #735 - Boundary conditions for error object <=> code tr…
olemis Oct 15, 2018
0731c49
[daemon] refs #735 - Send RJCT meesage only on pex.ErrPeerlistFull (e…
olemis Oct 15, 2018
e2e3afb
Fixups
gz-c Oct 15, 2018
605c0da
Merge pull request #1961 from gz-c/protocol-version
gz-c Oct 16, 2018
e763591
Merge remote-tracking branch 'skycoin/develop' into olemis_t735_rjct_…
stdevStark Oct 16, 2018
0dbd8d4
[daemon] refs #735 - Updated error list and sample message hex dump
stdevStark Oct 16, 2018
a4cd10b
[daemon] refs #735 - Silence make lint warnings
stdevStark Oct 16, 2018
202a80b
Fix Electron menu
Senyoret1 Oct 16, 2018
1aceba1
Merge pull request #1964 from Senyoret1/Menu
gz-c Oct 17, 2018
cffdd04
Add useragent to intro packet
gz-c Oct 18, 2018
b20732d
Add maxlen param to encoder
gz-c Oct 18, 2018
6b5b23c
Save user agent to peers.json
gz-c Oct 18, 2018
0e6ffc0
Fixup
gz-c Oct 18, 2018
12a27f1
Fix lint
gz-c Oct 19, 2018
174b02d
Fixup
gz-c Oct 19, 2018
e2213bb
Add deprecation warning for /explorer/address
gz-c Oct 19, 2018
cc936c4
Fixups
gz-c Oct 19, 2018
28327cb
Expose user agent and coin name in /health
gz-c Oct 20, 2018
0838d27
VerifySignedHash fixups
gz-c Oct 20, 2018
14e17f7
Rename sig verification methods
gz-c Oct 20, 2018
404c04c
Fix test
gz-c Oct 20, 2018
5636df5
Fix tests
gz-c Oct 20, 2018
bda6f1e
Accept POST for endpoint with potentially long query strings
gz-c Oct 20, 2018
75ec497
Install pinned golangci-lint in travis
gz-c Oct 20, 2018
f60b86a
[lib] refs #1191 - Get errorFromLibCode. Use it in fee calculator cal…
olemis Oct 20, 2018
7c9aa03
Merge remote-tracking branch 'simelo/stdevEclipse_t1191_test_libc_cip…
olemis Oct 21, 2018
5ce8942
Merge remote-tracking branch 'skycoin/develop' into stdevEclipse_t119…
olemis Oct 21, 2018
4b7c8b4
Merge remote-tracking branch 'simelo/develop' into olemis_t735_rjct_i…
olemis Oct 21, 2018
6eb14bf
Redo renames
gz-c Oct 21, 2018
5e9726c
Add libc TestVerifySignedHash
gz-c Oct 21, 2018
2025f45
Swap hash,sig args in VerifyAddressSignedHash
gz-c Oct 21, 2018
c71069d
[damon] refs #735 - Update list of daemon errors
olemis Oct 21, 2018
96699b0
[daemon] refs #735 - Update hex dumps of RJCT message
olemis Oct 21, 2018
c1401ff
Merge remote-tracking branch 'simelo/olemis_t735_rjct_intr_overflow' …
olemis Oct 21, 2018
f18c6fb
Merge pull request #1972 from gz-c/verify-signed-hash
gz-c Oct 21, 2018
64ec78f
Merge branch 'develop' into post-api
gz-c Oct 21, 2018
491b6d5
Merge pull request #1969 from gz-c/deprecate-explorer-address
gz-c Oct 21, 2018
02f7ab3
DisconnectMessage sent and working
gz-c Oct 22, 2018
de57f75
WIP DisconnectMessage
gz-c Oct 23, 2018
edf445b
Update docs for /network/connection
gz-c Oct 24, 2018
3a38892
Move IntroductionMessage.Handle logic to Prcess; add all connections …
gz-c Oct 24, 2018
223368c
Log Disconnect
gz-c Oct 24, 2018
36c55f4
Fix tests
gz-c Oct 24, 2018
7078720
Merge develop
gz-c Oct 24, 2018
cdae76f
Fixups
gz-c Oct 24, 2018
5bff194
Separate incoming/outgoing in /health
gz-c Oct 24, 2018
3f85a8d
Update test
gz-c Oct 24, 2018
d6c9723
Add a warning when decrypting a wallet
Senyoret1 Oct 24, 2018
fa32e8d
Fix lint errors
Senyoret1 Oct 24, 2018
59675c4
Merge pull request #1960 from Senyoret1/fix-select
gz-c Oct 25, 2018
b37cae2
Merge develop
gz-c Oct 25, 2018
585529d
Update docs
gz-c Oct 25, 2018
2a30b1d
WIP: INTR not always received first
gz-c Oct 25, 2018
fa49b02
Merge pull request #1977 from Senyoret1/Warning
gz-c Oct 26, 2018
db7fbe4
Merge pull request #1973 from gz-c/post-api
gz-c Oct 26, 2018
0ffb6b7
Refactor daemon storage into single state machine
gz-c Oct 26, 2018
f7bcd10
Revise and fix tests
gz-c Oct 27, 2018
0bf57b5
Fixups
gz-c Oct 27, 2018
46085ea
Merge pull request #1966 from gz-c/intro-useragent
gz-c Oct 27, 2018
b1167bb
Fix lint
gz-c Oct 27, 2018
d37979a
Merge develop
gz-c Oct 27, 2018
5035614
Manage UserAgent inside daemon.Connections
gz-c Oct 27, 2018
986a28f
Fixup warning
gz-c Oct 27, 2018
3b3f7f3
Fix lint
gz-c Oct 27, 2018
6a71748
Merge daemon events to one channel
gz-c Oct 27, 2018
d15f593
Guard against expired message processing
gz-c Oct 27, 2018
eb78d28
[api] refs #1980 - Burn factor in /health endpoint
stdevStark Oct 28, 2018
0e016b4
[api] refs #1980 - Silence make lin warnings
stdevStark Oct 28, 2018
522357f
[cli] refs #1980 - coinhours_burn_factor in CLI golden files
stdevStark Oct 28, 2018
cd48336
[api] refs #1980 - coinhours_burn_factor added in CHANGELOG
stdevStark Oct 28, 2018
ee2a4aa
Use gnet ID with addr
gz-c Oct 28, 2018
4157806
Fixups; cleanup tests
gz-c Oct 28, 2018
b815cb7
Fix tests
gz-c Oct 28, 2018
d17470a
Ensure connect callback and connect error callback order
gz-c Oct 28, 2018
08c9575
Fix test
gz-c Oct 28, 2018
580dc8b
Fixups
gz-c Oct 28, 2018
df36515
Cleanup logs in daemon packages
gz-c Oct 28, 2018
7c1a844
Return all connections in /api/v1/network/connections
gz-c Oct 28, 2018
9f9edbc
Omit pending connections from API
gz-c Oct 28, 2018
6ec53c9
Add new node to peers.txt
gz-c Oct 28, 2018
d05f66f
Prevent BroadcastMessage from sending before introduced
gz-c Oct 28, 2018
1007a24
Merge pull request #1985 from gz-c/update-peerstxt
gz-c Oct 28, 2018
b6d4d7c
Add more reasons to remove peer from pex
gz-c Oct 28, 2018
60b6c22
Fix MaxConnections enforcement
gz-c Oct 28, 2018
afe439b
Fix connection limit enforcement
gz-c Oct 28, 2018
a09ec90
Update changelog
gz-c Oct 28, 2018
e0f419f
Merge remote-tracking branch 'skycoin/develop' into stdevStark_t1980_…
stdevStark Oct 28, 2018
c8efca0
[cli] refs #1980 - Replace whitespace with tabs four coin hours rate …
stdevStark Oct 28, 2018
6dc6855
Use POST for long queries
Senyoret1 Oct 29, 2018
cb20563
Logging tweak
gz-c Oct 29, 2018
b5974e6
Fix onConnect transition and pool tests
gz-c Oct 29, 2018
20a8926
Prevent message processing for mismatched gnet ID
gz-c Oct 29, 2018
d8b5ba3
add note
gz-c Oct 29, 2018
01c8a46
Add options to filter /api/v1/network/connections
gz-c Oct 29, 2018
ccbf382
Fix lint
gz-c Oct 29, 2018
7f6d39e
[cli] refs #1980 - Missing comma in status golden file
stdevStark Oct 29, 2018
2ef7432
[ci] refs #1980 - Prevent timeout of gcc6 installation in Travis Mac …
stdevStark Oct 29, 2018
b7c79fb
Reset retry times after intr message fully processed
gz-c Oct 30, 2018
c654fb7
Improve errors in message parsing
gz-c Oct 30, 2018
9e5d8c2
Fix lint
gz-c Oct 30, 2018
d9722e6
Add is_default_peer to connection objects
gz-c Oct 30, 2018
99bd6fd
Rename to is_trusted_peer
gz-c Oct 30, 2018
a4018db
Fix integration tests
gz-c Oct 30, 2018
5d02be7
Merge pull request #1983 from gz-c/daemon-conn-state
gz-c Oct 30, 2018
f695b5b
Merge develop
gz-c Oct 30, 2018
be0f7b8
Fix max connections check
gz-c Oct 30, 2018
d6d1b2d
remove invalid TODO note
gz-c Oct 30, 2018
2fa5635
Record user agent in pex
gz-c Oct 30, 2018
26a3272
Fix readme run.sh comment
gz-c Oct 30, 2018
ddc01ef
Add disconnect API
gz-c Oct 31, 2018
db26b92
[api] refs #1980 - Rename JSON key counhours_burn_factor => coinhour_…
stdevStark Oct 31, 2018
9b089dc
Merge remote-tracking branch 'skycoin/develop' into stdevStark_t1980_…
stdevStark Oct 31, 2018
22b06bb
[api] refs #1980 - counhours_burn_factor => coinhour_burn_factor in C…
stdevStark Oct 31, 2018
987c134
Restore trusted peers to the random connections list
gz-c Oct 31, 2018
350a433
Update docs for NET_CTRL api set
gz-c Oct 31, 2018
da554e3
Fix conn max check; reduce overly aggressive connection attempts
gz-c Oct 31, 2018
7156881
Fix lint
gz-c Oct 31, 2018
06645b5
Fixups
gz-c Oct 31, 2018
de5d606
Fix broadcast failure check for inject and resend txns
gz-c Oct 31, 2018
2d50c68
Merge pull request #1988 from Senyoret1/Update-api
gz-c Oct 31, 2018
e080444
Merge remote-tracking branch 'skycoin/develop' into stdevStark_t1980_…
stdevStark Oct 31, 2018
efdae31
[ci] refs #1996 - Install gcc@6 deps' binary bottles and gcc@6 itself…
olemis Oct 31, 2018
c2328b4
[ci] refs #1996 - Check that dependencies are installed
olemis Oct 31, 2018
488f474
Merge remote-tracking branch 'skycoin/develop' into stdevEclipse_t119…
olemis Oct 31, 2018
898ce9a
[ci] refs #1996 - Do not build for el Capitan . Try osx_image=xc ode8.3
olemis Oct 31, 2018
6a17cfd
[ci] refs #1996 - Ensure gcc@6 formula is symlinked into /usr/local
olemis Oct 31, 2018
847bc98
Merge pull request #1984 from simelo/stdevStark_t1980_health_coinhour…
gz-c Nov 1, 2018
55aff2c
Merge pull request #1976 from gz-c/disc-packet
gz-c Nov 1, 2018
d78f37a
Send GIVP if peer list full
gz-c Nov 1, 2018
bdd9e76
Fixups
gz-c Nov 1, 2018
349d747
Fixups
gz-c Nov 1, 2018
5d1b002
Fixups
gz-c Nov 1, 2018
59630ba
FIxups
gz-c Nov 1, 2018
8b57361
Move visor parameters to params package and parameterize burn factor
gz-c Nov 1, 2018
f11db95
Make burn factor configurable in different scenarios
gz-c Nov 1, 2018
96d5595
Fix lint
gz-c Nov 1, 2018
84002f9
[lib] refs #1191 - Connection states and filters in API endpoints. SK…
olemis Nov 1, 2018
a00dd24
Merge remote-tracking branch 'skycoin/develop' into stdevEclipse_t119…
olemis Nov 2, 2018
449322d
[ci] refs #1996 - Try gcc@7 formula with xcode8.3 image
olemis Nov 2, 2018
241058a
Use Warning log level for intro extra data problems
gz-c Nov 2, 2018
69a7b1e
Use Warning log level for intro extra data problems
gz-c Nov 2, 2018
b28c908
Update CHANGELOG
gz-c Nov 2, 2018
9ba2c84
Switch unconfirmed and create block burn factor back to 2
gz-c Nov 2, 2018
4072026
[ci] refs #1996 - Create and brew install new formula gcc@64
olemis Nov 2, 2018
c486aac
[ci] refs #1996 - Overwrite gcc\@6 formula (instead of creating new one)
olemis Nov 2, 2018
bdec633
[ci] refs #1996 - Restore Travis build steps
olemis Nov 2, 2018
98872d0
[ci] refs #1996 - Minor typos in .travis.yml
olemis Nov 2, 2018
8e5f946
Merge pull request #1999 from gz-c/peerlist-full-givp
gz-c Nov 2, 2018
a3d4480
Merge remote branch 'skycoin/develop' into olemis_t1996_travis_gcc_6_5
olemis Nov 2, 2018
f64ee4a
Merge develop
gz-c Nov 2, 2018
1bf47ed
Merge remote-tracking branch 'skycoin/develop' into stdevEclipse_t119…
olemis Nov 2, 2018
1904ae9
Clean up public/private daemon methods
gz-c Nov 2, 2018
34565f9
Rename
gz-c Nov 2, 2018
51c9210
[lib] refs #1191 - Rename sha256xor error vars
olemis Nov 2, 2018
6b18716
Split block size params up
gz-c Nov 2, 2018
426724d
Improve block/txn size configuration
gz-c Nov 2, 2018
abdcc91
Merge pull request #2003 from simelo/olemis_t1996_travis_gcc_6_5
gz-c Nov 2, 2018
ac6dcb3
Merge remote-tracking branch 'skycoin/develop' into stdevEclipse_t119…
olemis Nov 2, 2018
e1bf55f
[lib] refs #1191 - Remove wrappers and tests for cipher subpkgs not m…
olemis Nov 4, 2018
06c4533
Fixups
gz-c Nov 5, 2018
2a05dd4
Panic if VerifyBlockTxn returns a SoftErr
gz-c Nov 5, 2018
03bc39a
Merge pull request #2001 from gz-c/parameters-burnfactor
gz-c Nov 5, 2018
df0a4e7
Increase VERSION_UPGRADE_TEST_WAIT_TIMEOUT for osx builds
gz-c Nov 5, 2018
a7d00df
Again
gz-c Nov 5, 2018
7923a13
Merge pull request #2004 from gz-c/bump-upgrade-test-timeout
gz-c Nov 5, 2018
60f5b53
[lib] refs #1191 - Remove cipher.secp256k1-go and its subpkgs
olemis Nov 5, 2018
c2563e8
Merge remote-tracking branch 'skycoin/develop' into stdevEclipse_t119…
olemis Nov 5, 2018
d823562
[lib] refs #1191 - Burn factor in util/fee
olemis Nov 5, 2018
be1de91
[lib] refs #1191 - Document usage of libc memory handles
olemis Nov 6, 2018
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
2 changes: 1 addition & 1 deletion .Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = libskycoin
PROJECT_NUMBER = 0.24.1-develop
PROJECT_NUMBER = 0.25.0-rc1-develop
PROJECT_BRIEF = "Skycoin C client library"
PROJECT_LOGO = ./docs/assets/sky.libc.jpg
OUTPUT_DIRECTORY = ./docs/libc
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ electron/node_modules
electron/.gox_output
electron/.electron_output
electron/.standalone_output
electron/.daemon_output
electron/.cli_output
# Do not ignore the icons folder
!electron/build
!electron/build/icons
Expand Down
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ go:
matrix:
include:
- os: linux
env: VERSION_UPGRADE_TEST_WAIT_TIMEOUT=5s
env: VERSION_UPGRADE_TEST_WAIT_TIMEOUT=45s
- os: osx
# Do not start osx build for PR
if: type != pull_request
osx_image: xcode8
env: VERSION_UPGRADE_TEST_WAIT_TIMEOUT=30s
env: VERSION_UPGRADE_TEST_WAIT_TIMEOUT=60s

before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt-get update -qq; fi
Expand Down Expand Up @@ -48,8 +48,9 @@ install:
- cd $GOPATH/src/github.com/skycoin/skycoin
- go get -t ./...
- make install-linters
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq g++-6 && sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; echo 'Available versions (gcc)' && brew list --versions gcc ; brew list gcc@6 &>/dev/null || brew install gcc@6 ; fi
# Install pinned golangci-lint, overriding the latest version install by make install-linters
- VERSION=1.10.2 ./ci-scripts/install-golangci-lint.sh
- ./ci-scripts/install-travis-gcc.sh
- make install-deps-libc
- nvm install 8.11.0
- nvm use 8.11.0
Expand Down
39 changes: 34 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
In the v0.26.0 these features and functions will be removed. If you have a need for any of these features, let us know.

- JSON-RPC 2.0 interface (this is no longer used by the CLI tool, and the REST API supports everything the JSON-RPC 2.0 API does). See https://github.com/skycoin/skycoin/blob/develop/src/api/README.md#migrating-from-the-jsonrpc-api
- `/api/v1/wallet/spend` endpoint (use `POST /api/v1/wallet/transaction` followed by `POST /api/v1/injectTransaction` instead)
- The unversioned REST API (the `-enable-unversioned-api` option will be removed, prefix your API requests with `/api/v1`)
- `/api/v1/wallet/spend` endpoint (use `POST /api/v1/wallet/transaction` followed by `POST /api/v1/injectTransaction` instead). See https://github.com/skycoin/skycoin/blob/develop/src/api/README.md#migrating-from--api-v1-spend
- The unversioned REST API (the `-enable-unversioned-api` option will be removed, prefix your API requests with `/api/v1`). See https://github.com/skycoin/skycoin/blob/develop/src/api/README.md#migrating-from-the-unversioned-api
- `/api/v1/explorer/address` endpoint (use `GET /api/v1/transactions?verbose=1` instead). See https://github.com/skycoin/skycoin/blob/develop/src/api/README.md#migrating-from--api-v1-explorer-address

### Notice

Nodes v0.23.0 and earlier will not be able to connect to v0.25.0 due to a change in the introduction packet message.

Nodes v0.24.1 and earlier will not be able to connect to v0.26.0 due to a similar change.

Make sure to upgrade to v0.25.0 so that your node will continue to connect once v0.26.0 is released.

### Added

- Add `-csv` option to `cli send` and `cli createRawTransaction`, which will send coins to multiple addresses defined in a csv file
- Add `-disable-default-peers` option to disable the default hardcoded peers and mark all cached peers as untrusted
- Add `-custom-peers-file` to load peers from disk. This peers file is a newline separate list of `ip:port` strings
- Add `csrf_enabled`, `csp_enabled`, `wallet_api_enabled`, `unversioned_api_enabled`, `gui_enabled` and `json_rpc_enabled` configuration settings to the `/api/v1/health` endpoint response
- Add `user_agent`, `coin`, `csrf_enabled`, `csp_enabled`, `wallet_api_enabled`, `unversioned_api_enabled`, `gui_enabled` and `json_rpc_enabled`, `coinhour_burn_factor` configuration settings to the `/api/v1/health` endpoint response
- Add `verbose` flag to `/api/v1/block`, `/api/v1/blocks`, `/api/v1/last_blocks`, `/api/v1/pendingTxs`, `/api/v1/transaction`, `/api/v1/transactions`, `/api/v1/wallet/transactions` to return verbose block data, which includes the address, coins, hours and calculcated_hours of the block's transaction's inputs
- Add `encoded` flag to `/api/v1/transaction` to return an encoded transaction
- Add `-http-prof-host` option to choose the HTTP profiler's bind hostname (defaults to `localhost:6060`)
Expand All @@ -35,7 +44,13 @@ In the v0.26.0 these features and functions will be removed. If you have a need
- Go application metrics exported at `/api/v2/metrics` (API set `PROMETHEUS`) in Prometheus format
- Add `/api/v2/wallet/recover` to recover an encrypted wallet by providing the seed
- Add `fiberAddressGen` CLI command to generate distribution addresses for fiber coins
- Coinhour burn factor can be configured at runtime with `COINHOUR_BURN_FACTOR` envvar
- Coinhour burn factor when creating transactions can be configured at runtime with `USER_BURN_FACTOR` envvar
- Max transaction size when creating transactions can be configured at runtime with `MAX_USER_TXN_SIZE` envvar
- Daemon configured builds will be available on the [releases](https://github.com/skycoin/skycoin/releases) page. The builds available for previous versions are configured for desktop client use.
- `skycoin-cli` builds will be available on the [releases](https://github.com/skycoin/skycoin/releases) page.
- A user agent string is sent in the wire protocol's introduction packet
- `-max-connections` option to control total max connections
- `/api/v1/network/disconnect` to disconnect a peer

### Fixed

Expand All @@ -49,6 +64,7 @@ In the v0.26.0 these features and functions will be removed. If you have a need
- `POST /api/v1/wallet/newAddress` and `POST /api/v1/wallet/spend` will correctly fail if the wallet is not encrypted but a password is provided
- Return `503` error for `/api/v1/injectTransaction` for all message broadcast failures (note that it is still possible for broadcast to fail but no error to be returned, in certain conditions)
- Fixed autogenerated HTTPS certs. Certs are now self-signed ECDSA certs, valid for 10 years, valid for localhost and all public interfaces found on the machine. The default cert and key are renamed from cert.pem, key.pem to skycoind.cert, skycoind.key
- `/api/v1/resendUnconfirmedTxns` will return `503 Service Unavailable` is no connections are available for broadcast

### Changed

Expand All @@ -68,11 +84,24 @@ In the v0.26.0 these features and functions will be removed. If you have a need
- `cli addressGen` arguments have changed
- `cli generateWallet` renamed to `cli walletCreate`
- `cli generateAddresses` renamed to `cli walletAddAddresses`
- `/api/v1/explorer/address` is deprecated in favor of `/api/v1/transactions?verbose=1`
- `/api/v1/balance`, `/api/v1/transactions`, `/api/v1/outputs` and `/api/v1/blocks` accept the `POST` method so that large request bodies can be sent to the server, which would not fit in a `GET` query string
- Send new `DISC` disconnect packet to peer before disconnecting
- `/api/v1/health` `"open_connections"` value now includes incoming connections. Added `"outgoing_connections"` and `"incoming_connections"` fields to separate the two.
- `run.sh` is now `run-client.sh` and a new `run-daemon.sh` script is added for running in server daemon mode
- `/api/v1/network/connection*` connection object's field `"introduced"` replaced with field `"state"` which may have the values `"pending"`, `"connected"` or `"introduced"`
- `/api/v1/network/connection*` field `"is_trusted_peer"` added to connection object to indicate if the peer is in the hardcoded list of default peers
- `/api/v1/network/connection*` field `"connected_at"` added to connection object
- `/api/v1/network/connections` now includes incoming connections. Filters are added to query connections by state and direction
- `/api/v1/resendUnconfirmedTxns` is now a `POST` method, previously was a `GET` method
- Transactions that violation soft constraints will propagate through the network
- Node will send more peers before disconnecting due to a full peer list

### Removed

- Remove `USE_CSRF` envvar from the CLI tool. It uses the REST API client now, which will automatically detect CSRF as needed, so no additional configuration is necessary. Operators may still wish to disable CSRF on their remote node to reduce request overhead.
- Remove `-enable-wallet-api` and `-enable-seed-api` in place of including `WALLET` and `INSECURE_WALLET_SEED` in `-enable-api-sets`.
- Copies of the source code removed from release builds due to build artifact size

## [0.24.1] - 2018-07-30

Expand Down Expand Up @@ -382,7 +411,7 @@ In the v0.26.0 these features and functions will be removed. If you have a need
- #383 Error during installation from skycoin source code
- #375 Node can't recovery from zero connections
- #376 Explorer api `/explorer/address` does not return spend transactions
- #373 Master node will be closed if there're no transactions need to execute
- #373 Block publisher node will be closed if there're no transactions need to execute
- #360 Node will crash when do ctrl+c while downloading blocks
- #350 Wallet name always 'undefined' after loading wallet from seed

Expand Down
8 changes: 4 additions & 4 deletions INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ In China, use `--source=https://github.com/golang/go` to bypass firewall when fe
gvm install go1.4 --source=https://github.com/golang/go
gvm use go1.4

gvm install go1.10.2
gvm use go1.10.2 --default
gvm install go1.11.1
gvm use go1.11.1 --default
```

#### Installation issues
If you open up new a terminal and the `go` command is not found then add this to `.bashrc`. GVM should add this automatically.

```sh
[[ -s "$HOME/.gvm/scripts/gvm" ]] && source "$HOME/.gvm/scripts/gvm"
gvm use go1.10.2 >/dev/null
gvm use go1.11.1 >/dev/null
```

## Install Go manually
Expand All @@ -72,7 +72,7 @@ Let's go to home directory and declare `go`'s version that you want to download.

```sh
cd ~
export GOV=1.10.2 # golang version
export GOV=1.11.1 # golang version
```

After that, let's download and uncompress golang source.
Expand Down
4 changes: 4 additions & 0 deletions INTEGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ and to use the CLI tool for wallet operations (seed and address generation, tran

<!-- MarkdownTOC autolink="true" bracket="round" levels="1,2,3,4,5,6" -->

- [Running the skycoin node](#running-the-skycoin-node)
- [API Documentation](#api-documentation)
- [Wallet REST API](#wallet-rest-api)
- [Skycoin command line interface](#skycoin-command-line-interface)
Expand Down Expand Up @@ -67,6 +68,9 @@ and to use the CLI tool for wallet operations (seed and address generation, tran

<!-- /MarkdownTOC -->

## Running the skycoin node

For integrations, the skycoin node should be run from source with `./run-daemon.sh`. This requires go1.10+ to be installed.

## API Documentation

Expand Down
39 changes: 29 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ BUILDLIB_DIR = $(BUILD_DIR)/libskycoin
LIB_DIR = lib
LIB_FILES = $(shell find ./lib/cgo -type f -name "*.go")
SRC_FILES = $(shell find ./src -type f -name "*.go")
HEADER_FILES = $(shell find ./include -type f -name "*.h")
BIN_DIR = bin
DOC_DIR = docs
INCLUDE_DIR = include
Expand Down Expand Up @@ -61,8 +62,11 @@ else
LDFLAGS=$(LIBC_FLAGS)
endif

run: ## Run the skycoin node. To add arguments, do 'make ARGS="--foo" run'.
./run.sh ${ARGS}
run-client: ## Run skycoin with desktop client configuration. To add arguments, do 'make ARGS="--foo" run'.
./run-client.sh ${ARGS}

run-daemon: ## Run skycoin with server daemon configuration. To add arguments, do 'make ARGS="--foo" run'.
./run-daemon.sh ${ARGS}

run-help: ## Show skycoin node help
@go run cmd/$(COIN)/$(COIN).go --help
Expand Down Expand Up @@ -90,21 +94,23 @@ configure-build:
mkdir -p $(BUILD_DIR)/usr/tmp $(BUILD_DIR)/usr/lib $(BUILD_DIR)/usr/include
mkdir -p $(BUILDLIB_DIR) $(BIN_DIR) $(INCLUDE_DIR)

$(BUILDLIB_DIR)/libskycoin.so: $(LIB_FILES) $(SRC_FILES)
$(BUILDLIB_DIR)/libskycoin.so: $(LIB_FILES) $(SRC_FILES) $(HEADER_FILES)
rm -Rf $(BUILDLIB_DIR)/libskycoin.so
go build -buildmode=c-shared -o $(BUILDLIB_DIR)/libskycoin.so $(LIB_FILES)
mv $(BUILDLIB_DIR)/libskycoin.h $(INCLUDE_DIR)/

$(BUILDLIB_DIR)/libskycoin.a: $(LIB_FILES) $(SRC_FILES)
$(BUILDLIB_DIR)/libskycoin.a: $(LIB_FILES) $(SRC_FILES) $(HEADER_FILES)
rm -Rf $(BUILDLIB_DIR)/libskycoin.a
go build -buildmode=c-archive -o $(BUILDLIB_DIR)/libskycoin.a $(LIB_FILES)
mv $(BUILDLIB_DIR)/libskycoin.h $(INCLUDE_DIR)/

## Build libskycoin C static library
build-libc-static: $(BUILDLIB_DIR)/libskycoin.a

## Build libskycoin C shared library
build-libc-shared: $(BUILDLIB_DIR)/libskycoin.so

## Build libskycoin C client library
## Build libskycoin C client libraries
build-libc: configure-build build-libc-static build-libc-shared

## Build libskycoin C client library and executable C test suites
Expand Down Expand Up @@ -209,20 +215,33 @@ build-ui: ## Builds the UI
build-ui-travis: ## Builds the UI for travis
cd $(GUI_STATIC_DIR) && npm run build-travis

release: ## Build electron and standalone apps. Use osarch=${osarch} to specify the platform. Example: 'make release osarch=darwin/amd64', multiple platform can be supported in this way: 'make release osarch="darwin/amd64 windows/amd64"'. Supported architectures are: darwin/amd64 windows/amd64 windows/386 linux/amd64 linux/arm, the builds are located in electron/release folder.
release: ## Build electron, standalone and daemon apps. Use osarch=${osarch} to specify the platform. Example: 'make release osarch=darwin/amd64', multiple platform can be supported in this way: 'make release osarch="darwin/amd64 windows/amd64"'. Supported architectures are: darwin/amd64 windows/amd64 windows/386 linux/amd64 linux/arm, the builds are located in electron/release folder.
cd $(ELECTRON_DIR) && ./build.sh ${osarch}
@echo release files are in the folder of electron/release

release-bin: ## Build standalone apps. Use osarch=${osarch} to specify the platform. Example: 'make release-bin osarch=darwin/amd64' Supported architectures are the same as 'release' command.
release-standalone: ## Build standalone apps. Use osarch=${osarch} to specify the platform. Example: 'make release-standalone osarch=darwin/amd64' Supported architectures are the same as 'release' command.
cd $(ELECTRON_DIR) && ./build-standalone-release.sh ${osarch}
@echo release files are in the folder of electron/release

release-gui: ## Build electron apps. Use osarch=${osarch} to specify the platform. Example: 'make release-gui osarch=darwin/amd64' Supported architectures are the same as 'release' command.
release-electron: ## Build electron apps. Use osarch=${osarch} to specify the platform. Example: 'make release-electron osarch=darwin/amd64' Supported architectures are the same as 'release' command.
cd $(ELECTRON_DIR) && ./build-electron-release.sh ${osarch}
@echo release files are in the folder of electron/release

clean-release: ## Clean dist files and delete all builds in electron/release
rm $(ELECTRON_DIR)/release/*
release-daemon: ## Build daemon apps. Use osarch=${osarch} to specify the platform. Example: 'make release-daemon osarch=darwin/amd64' Supported architectures are the same as 'release' command.
cd $(ELECTRON_DIR) && ./build-daemon-release.sh ${osarch}
@echo release files are in the folder of electron/release

release-cli: ## Build CLI apps. Use osarch=${osarch} to specify the platform. Example: 'make release-cli osarch=darwin/amd64' Supported architectures are the same as 'release' command.
cd $(ELECTRON_DIR) && ./build-cli-release.sh ${osarch}
@echo release files are in the folder of electron/release

clean-release: ## Remove all electron build artifacts
rm -rf $(ELECTRON_DIR)/release
rm -rf $(ELECTRON_DIR)/.gox_output
rm -rf $(ELECTRON_DIR)/.daemon_output
rm -rf $(ELECTRON_DIR)/.cli_output
rm -rf $(ELECTRON_DIR)/.standalone_output
rm -rf $(ELECTRON_DIR)/.electron_output

clean-coverage: ## Remove coverage output files
rm -rf ./coverage/
Expand Down
Loading