All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Add
POST /api/v1/wallet/scanAPI to scan wallet addresses ahead, default scan number is20. - Add
CLI walletScanAddressescommand to scan wallet addresses ahead. - Add
GET /api/v2/transactionsAPI to get transactions with pagination. - Add
-max-incoming-connectionflag to control the maximum allowed incoming connections.
- Add
src_txidto verbose transaction inputs, affected apis:/api/v1/transaction,/api/v1/transactions/api/v1/block/api/v1/blocks/api/v1/pendingTxs - Add
calculated_hoursto/api/v1/uxoutand/api/v1/address_uxouts. - Update DB version only when DB structure is changed.
- Add go version of go1.14 support
- Changes on the CLI command
walletCreate:- Replaced the first argument of wallet filename with label, which is the wallet name that will be shown in GUI. The wallet filename will be generated by node automatically when calling the API. Since the label can be acquired from the first argument, the label/-l flag is removed.
- The command result will be consistent with the API response of
/api/v1/wallet/create. - Encrypt the wallet by default.
- Remove flags of
coin/ccrypto-type/x. - Add flag
scan.
- Add
createRawTransactionV2CLI command, which calls the API of/wallet/transactionto create the transaction and can create then unsigned transaction. Once the API's performance issue has been fixed, we will replace thecreateRawTransactionwith it. - Add
signTransactionCLI command to sign transaction. - Do windows electron builds by travis and abandon the appveyor
- Migrate
skycoin.nettoskycoin.com - Migrate project path to
SkycoinProject/skycoin - Use transaction history when scanning wallet addresses, instead of the current address balance
- Document the daemon's CLI options
- Add the ability to save transaction notes
- Add CLI
encodeJsonTransactioncommand to retrieve raw transaction given its JSON representation - Add
package bip44, implementing the bip44 spec https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki - Codesign daemon and standalone binaries
- Add a guided method for entering the seeds in the GUI
- Add new wallet type
collectionfor wallets that are an arbitrary collection of private keys, rather than generated from a seed - Add new wallet type
bip44for hierarchical deterministic (HD) wallets obeying the bip44 protocol. The Skycoin bip44coinnumber is8000.bip44wallets avoid address reuse, generating a new change address for each transaction. Affects APIs arePOST /api/v1/wallet,GET /api/v1/wallets,GET /api/v1/wallet,POST /api/v1/wallet/seedandPOST /api/v1/wallet/recover. Refer to the API documentation for API changes.bip44wallets support bip39 "seed passphrases". More details are explained in https://github.com/skycoin/skycoin/wiki/Wallet-File-Formats-and-Types cli walletCreatesupport forbip44wallets added- Add
bip44_coinfield toGET /api/v1/healthfiberparams - Add the "bulk send" option to the GUI advanced form
- Add
cli walletKeyExportcommand to exportxpub,xprv,pubandprvkey from abip44wallet - Add
xpubtype wallet, which can generate addresses without exposing private keys - Add
block_publisherflag to/api/v1/health - Add
no_broadcastoption toPOST /api/v1/injectTransactionto disable broadcast of the transaction. The transaction will only be added to the local pool. - Add
cli distributeGenesiscommand to split the genesis block into distribution addresses when setting up a new fiber coin
- #7, #162, corrupted file in ~/.skycoin/data/ dir makes the desktop wallet show ERROR #1.
- #87, can not run web gui from skycoin docker image.
- #2287 A
Content-Typewith acharsetspecified, for exampleapplication/json; charset=utf-8, will not return an HTTP 415 error anymore - Fix
fiber.tomltransaction verification parameters ignored by newcoin - #2373 Fix and clean-up further panics with various
skycoin-clicommands (lastBlocks, checkdb) which were not correctly handling arguments. - #2442 Reset the "trusted" flag to false for all peers on load, before registering default hardcoded peers in the peerlist
- #26 Add additional database corruption checks in ResetCorruptDB to detect encoder ErrBufferUnderflow and ErrMaxLenExceeded
typeis now a required parameter forPOST /api/v1/wallet.typecan bedeterministic,bip44orxpub.- Add
display_name,ticker,coin_hours_display_name,coin_hours_display_name_singular,coin_hours_ticker,explorer_urlto the/healthendpoint response cli addPrivateKeywill only work on acollectiontype wallet. Create one withcli walletCreate -t collection- Don't print the wallet in the terminal after
cli encryptWalletorcli decryptWallet - Remove
WALLET_DIRandWALLET_NAMEenvvars from theclitool. Commands which need to operate on a wallet file accept the wallet file on the command line instead. - Now the modal window for showing QR codes in the GUI allows to request specific amounts of coins, as in mobile wallets. This changes did no include the ability to read QR codes or URLs.
- Remove
-arbitratingoption from the daemon CLI options - Remove
-print-web-interface-addressoption from the daemon CLI options - Remove
cli walletDircommand
0.26.0 - 2019-05-21
- When sending coins in the UI, the user can choose to send in SKY, or the equivalent amount of SKY in USD
- Add the option for changing the language of the GUI.
- Add Spanish and Simplified Chinese language options
- Add genesis block hash in
INTRmessage - Add
bip32package for preliminary HD wallet support - Add CLI
checkDBDecodingcommand to verify theskyencoder-generated binary decoders match the reflect-based decoder - Add CLI
addresscountcommand to return the count of addresses that currently have unspent outputs (coins) associated with them. - Add
-max-inc-msg-lenand-max-out-msg-lenoptions to control the size of incoming and outgoing wire messages - Add
-disable-header-checkflag to disable Host/Origin/Referer header checks for the node APIs - Add
header_check_enabledparameter in the/healthendpoint response - Add
unsignedoption toPOST /api/v1/wallet/transactionto create unsigned transactions from a wallet - Add
unsignedoption toPOST /api/v2/transaction/verifyfor verifying an unsigned transaction - Add
POST /api/v2/wallet/transaction/signto sign an unsigned transaction with a wallet - Add
POST /api/v2/transactionto create an unsigned transaction from addresses or unspent outputs without a wallet - Add
/api/v2/dataAPIs for transaction notes and generic key-value storage. - Update
/metricsendpoint to add metrics from/health:unspent_outputs,unconfirmed_txns,time_since_last_block_seconds,open_connections,outgoing_connections,incoming_connections,start_at,uptime_seconds,last_block_seq. - Add to the GUI the ability to choose specific unspent outputs to spend
- Return a v2-style error for disabled API endpoints
- #2172 Fix electron build failure for linux systems
- Don't send wire protocol messages that exceed the configured 256kB limit, which caused peers to disconnect from the sender
- #2348 Fix panic in
skycoin-clitransactioncommand if no (zero) arguments are passed. Exactly one argument is expected.
- Duplicate wallets in the wallets folder will prevent the application from starting
- An empty wallet in the wallets folder will prevent the application from starting
- Use
skyencoder-generated binary encoders/decoders for network and database data, instead of the reflect-based encoders/decoders incipher/encoder. - Add
/api/v1/resendUnconfirmedTxnsto theWALLETAPI set - In
POST /api/v1/wallet/transaction, movedwalletparameters to the top level of the object - Incoming wire message size limit increased to 1024kB
- Clients restrict the maximum number of blocks they will send in a
GiveBlocksMessageto 20 POST /api/v2/wallet/seed/verifyreturns an error if the seed's checksum is invalid- Increase the detail of error messages for invalid seeds sent to
POST /api/v2/wallet/seed/verify - Move package
github.com/skycoin/skycoin/src/cipher/go-bip39togithub.com/skycoin/skycoin/src/cipher/bip39 - The
Content-Security-Policyheader was modified to make it stricter - Update
INTRmessage verify logic to reject connection if blockchain pubkey not matched or provided - Change the coinhour burn rate to 10%
/api/v1/explorer/addressendpoint (useGET /api/v1/transactions?verbose=1instead). See https://github.com/skycoin/skycoin/blob/develop/src/api/README.md#migrating-from--api-v1-explorer-address- The unversioned REST API (the
-enable-unversioned-apiis removed, prefix your API requests with/api/v1if they don't have an/api/vxprefix already). See https://github.com/skycoin/skycoin/blob/develop/src/api/README.md#migrating-from-the-unversioned-api - 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/spendendpoint (usePOST /api/v1/wallet/transactionfollowed byPOST /api/v1/injectTransactioninstead). See https://github.com/skycoin/skycoin/blob/develop/src/api/README.md#migrating-from--api-v1-spend- Remove shell autocomplete files
0.25.1 - 2019-02-08
- Add CLI
addressTransactionscommand - Add
/api/v2/wallet/seed/verifyto verify if seed is a valid bip39 mnemonic seed - Filter transactions in the History view in the UI
/api/v1/healthwill return correct build info when running Docker containers based onskycoin/skycoinmainnet image.- #2083, Windows desktop wallet sometimes shows "Error#1" on start
- Extend URI specification to allow plain addresses (i.e. without a
skycoin:prefix) - Switch
skycoin-clifromurfave/clitospf13/cobra. Now all options of a cli command must only use--prefix instead of a mix of--and-prefixes.-prefix is only allowed when using shorthand notation. - Use an optimized
base58library for faster address decoding and encoding. /api/v1/injectTransactionwill return 400 error for invalid transactions.
- Remove libskycoin source code. Migrated to https://github.com/skycoin/libskycoin
0.25.0 - 2018-12-19
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/spendendpoint (usePOST /api/v1/wallet/transactionfollowed byPOST /api/v1/injectTransactioninstead). See https://github.com/skycoin/skycoin/blob/develop/src/api/README.md#migrating-from--api-v1-spend- The unversioned REST API (the
-enable-unversioned-apioption 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/addressendpoint (useGET /api/v1/transactions?verbose=1instead). See https://github.com/skycoin/skycoin/blob/develop/src/api/README.md#migrating-from--api-v1-explorer-address
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.
- Add
-csvoption tocli sendandcli createRawTransaction, which will send coins to multiple addresses defined in a csv file - Add
-disable-default-peersoption to disable the default hardcoded peers and mark all cached peers as untrusted - Add
-custom-peers-fileto load peers from disk. This peers file is a newline separate list ofip:portstrings - Add
user_agent,coin,csrf_enabled,csp_enabled,wallet_api_enabled,unversioned_api_enabled,gui_enabledandjson_rpc_enabled,coinhour_burn_factorconfiguration settings andstarted_attimestamp to the/api/v1/healthendpoint response - Add
verboseflag to/api/v1/block,/api/v1/blocks,/api/v1/last_blocks,/api/v1/pendingTxs,/api/v1/transaction,/api/v1/transactions,/api/v1/wallet/transactionsto return verbose block data, which includes the address, coins, hours and calculcated_hours of the block's transaction's inputs - Add
encodedflag to/api/v1/transactionto return an encoded transaction - Add
-http-prof-hostoption to choose the HTTP profiler's bind hostname (defaults tolocalhost:6060) - Add
-enable-api-sets,-disable-api-sets,-enable-all-api-setsoptions to choose which sets of API endpoints to enable. Options areREAD,STATUS,TXN,WALLET,PROMETHEUS,INSECURE_WALLET_SEED,DEPRECATED_WALLET_SPEND. Multiple values must be comma separated. /api/v1/wallet/spendis deprecated and requires-enable-api-set=DEPRECATED_WALLET_SPENDto enable it. Use/api/v1/wallet/transactionand/api/v1/injectTransactioninstead.- Add
-host-whitelistoption to specify alternate allowed hosts when communicating with the API bound to a localhost interface - Add the head block header to the response of
GET /api/v1/outputs - Add
"ux_hash"to block headers in API responses - Database verification will only be performed once when upgrading to the next version. Verification will not be performed on subsequent upgrades unless necessary. To force verification, use
-verify-db=true. Note that it is unsafe to downgrade the skycoin node without erasing the database first. - Add
seqsparameter to/api/v1/blocksto query multiple blocks by sequences - Add
/api/v2/wallet/recoverto recover an encrypted wallet by providing the seed - Add HTTP Basic Auth options
-web-interface-usernameand-web-interface-password. Auth is only available when using-web-interface-httpsunless-web-interface-plaintext-authis also used. - Go application metrics exported at
/api/v2/metrics(API setPROMETHEUS) in Prometheus format - Add
/api/v2/wallet/recoverto recover an encrypted wallet by providing the seed - Add
fiberAddressGenCLI command to generate distribution addresses for fiber coins - Coinhour burn factor when creating transactions can be configured at runtime with
USER_BURN_FACTORenvvar - Max transaction size when creating transactions can be configured at runtime with
USER_MAX_TXN_SIZEenvvar - Max decimals allowed when creating transactions can be configured at runtime with
USER_MAX_DECIMALSenvvar - Daemon configured builds will be available on the releases page. The builds available for previous versions are configured for desktop client use.
skycoin-clibuilds will be available on the releases page.- A user agent string is sent in the wire protocol's introduction packet
-max-connectionsoption to control total max connections/api/v1/network/disconnectto disconnect a peer- Complete support for
cipherpackage inlibskycoinC API. - Add
coin,wallet,util/dropletandutil/feemethods as part oflibskycoinC API - Add
make update-golden-filestoMakefile - Add CLI
richlistcommand - Add
util/dropletandutil/feeAPI's as part oflibskycoin - Implement SWIG interfaces in order to generate client libraries for multiple programming languages
- Fix hanging process caused when the p2p listener port is already in use
- Fix exit status of CLI tool when wallet file cannot be loaded
- Fix
calculated_hoursandfeein/api/v1/explorer/addressresponses - Fix
calculated_hoursandfeein/api/v2/transaction/verifyresponses for confirmed transactions /api/v1/blocksand/api/v1/last_blocksreturn500instead of400on database errorsPOST /api/v1/walletreturns500instead of400for internal errors- Fix unspent output hashes in the
cli decodeRawTransactionresult POST /api/v1/wallet/newAddressandPOST /api/v1/wallet/spendwill correctly fail if the wallet is not encrypted but a password is provided- Return
503error for/api/v1/injectTransactionfor 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/resendUnconfirmedTxnswill return503 Service Unavailableis no connections are available for broadcast- #1979, Fix header check to allow
localhost:6420
- Add blockchain pubkey in introduction message, it would close the connection if the pubkey is not matched, but would accept it if pubkey is not provided.
- CLI tool uses the REST API instead of the deprecated webrpc API to communicate with the node
cli statusreturn value is now the response fromGET /api/v1/health, which changes some fields/api/v1/network/endpoints will return an empty array for array values instead ofnull/api/v1/blockswill return an empty array for"blocks"instead ofnull/api/v1/blockchain/progresswill return an empty array for"peers"instead ofnullgo run cmd/skycoin/skycoin.gowill have exit status 1 on failure and exit status 2 on panic- The deprecated JSON 2.0 RPC interface is disabled by default for all run modes, since it is no longer needed for the CLI tool
- Remove
"unknown"from the"status"field in responses from/api/v1/explorer/address,/api/v1/transaction,/api/v1/transactions cli decodeRawTransactionoutput format changed, see the CLI README/api/v1/wallet/spendis deprecated, disabled by default and requires-enable-api-sets=DEPRECATED_WALLET_SPENDto enable it. Use/api/v1/wallet/transactionand/api/v1/injectTransactioninstead.- Invalid password in
/api/v1/walletrequests now return400instead of401 - Replace
cmd/address_gen/andcmd/address_gen2withgo run cmd/cli/cli.go addressGen cli addressGenarguments have changedcli generateWalletrenamed tocli walletCreatecli generateAddressesrenamed tocli walletAddAddresses/api/v1/explorer/addressis deprecated in favor of/api/v1/transactions?verbose=1/api/v1/balance,/api/v1/transactions,/api/v1/outputsand/api/v1/blocksaccept thePOSTmethod so that large request bodies can be sent to the server, which would not fit in aGETquery string- Send new
DISCdisconnect 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.shis nowrun-client.shand a newrun-daemon.shscript 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","unconfirmed_burn_factor"and"unconfirmed_max_transaction_size"added to connection object/api/v1/network/connectionsnow includes incoming connections. Filters are added to query connections by state and direction/api/v1/resendUnconfirmedTxnsis now aPOSTmethod, previously was aGETmethod- Transactions that violation soft constraints will propagate through the network
- Node will send more peers before disconnecting due to a full peer list
- Refactor CSRF to use HMAC tokens.
- Add transaction verification parameters to the
GET /healthresponse
- Remove
USE_CSRFenvvar 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-apiand-enable-seed-apiin place of includingWALLETandINSECURE_WALLET_SEEDin-enable-api-sets. - Copies of the source code removed from release builds due to build artifact size
0.24.1 - 2018-07-30
- Add Content-Security-Policy header to http responses
- Fix portable browser version opening to blank page
- Increase visor db timeout to 5000
ms - Change
InitTransactionto accept parameters for distributing genesis coin to distribution wallets
0.24.0 - 2018-07-06
- Minimum go version is go1.10
- Add environment variable
DATA_DIRin CLI USE_CSRFenvironment variable for CLI, if the remote node has CSRF enabled (CSRF is enabled by default, use-disable-csrfto disable)cli showConfigcommand to echo the cli's configuration back to the user- Option to generate 12/24 word seed when creating new wallet
- libskycoin 0.0.1 released with bindings for cipher/address, cipher/hash, cipher/crypto, cli/create_rawtx
- Add
-versionflag to show node version - Add transaction verification step to "Send" page
- Add more details about transaction in transaction history
- Add advanced spend UI
- Add CLI
encryptWalletcommand - Add CLI
decryptWalletcommand - Add CLI
showSeedcommand - Add
passwordargument to the CLI commands ofaddPrivateKey,createRawTransaction,generateAddresses,generateWallet,send - Support for decoding map values in cipher binary encoder
- Expose known block height of peer in brand new
heightfield added in responses ofGET /api/v1/network/connectionsAPI endpoints -verify-dboption (default true), will verify the database integrity during startup and exit if a problem is found-reset-corrupt-dboption (default false) will verify the database integrity during startup and reset the db if a problem is foundGET /explorer/address: addfeeto transaction objects andcalculated_hoursto transaction inputs- Test data generator and test suite for verification of alternative
cipherimplementations - Begin
/api/v2API endpoints. These endpoints are in beta and subject to change. - Add
POST /api/v2/transaction/verifyAPI endpoint - Add
POST /api/v2/address/verifyAPI endpoint - Add
ignore_unconfirmedoption toPOST /api/v1/wallet/transactionto allow transactions to be created or spent even if there are unspent outputs in the unconfirmed pool. - Add
uxoutstoPOST /api/v1/wallet/transaction, to allow specific unspent outputs to be used in a transaction. - Add Dockerfile in docker/images/dev-cli to build a docker image suitable for development.
- Coin creator tool,
cmd/newcoin, to quickly bootstrap a new fiber coin - Add Dockerfile in
docker/images/dev-dindto build a docker in docker image based on skycoindev-cli.
- Reduce connection disconnects, improves syncing
- Fix #1171, update CLI to support wallet encryption
- Use
bolt.Txcorrectly for read operations - Docker images for
arm32v5andar32v7architectures by using busybox as base in docker/images/mainnet/Dockerfile and docker/images/mainnet/hooks/
- JSON 2.0 RPC interface (used by the CLI tool) is now served on the same host interface as the REST API, port
6420. The additional listener has been removed. - CLI's
RPC_ADDRenvironment variable must now start with a scheme e.g.http://127.0.0.1:6420, previously it did not use a scheme. - API response will be gzip compressed if client sends request with 'Accept-Encoding' contains 'gzip' in the header.
GET /api/v1/wallet/balanceandGET /api/v1/balancenow return an address balance list as well.- API endpoints are prefixed with
/api/v1/. API endpoints without the/api/v1/prefix are deprecated but can be enabled with-enable-unversioned-api. Please migrate to use/api/v1/prefix in URLs. - Enable message protocol upgrade
change_addressis no longer required inPOST /api/v1/wallet/transaction. If not provided,change_addresswill default to one of the addresses being spent from.- In
POST /api/v1/wallet/transaction, forautotypesharemode requests, if extra coinhours remain after applying theshare_factorbut change cannot be made due to insufficient coins, theshare_factorwill switch to1.0. - Support automatic port allocation of the API interface by specifying port 0
- The web interface / API port is randomly allocated for the precompiled standalone client and electron client released on the website.
If you are using the CLI tool or another API client to communicate with the standalone client, use
-web-interface-port=6420to continue using port 6420. If the program is run from source (e.g.go run,run.sh,make run) there is no change, the API will still be on port 6420. - Change number of outgoing connections to 8 from 16
- Transaction history shows transactions between own addresses
- Client will only maintain one connection to the default hardcoded peers, instead of all of them
- Remove
-rpc-interface-addr,-rpc-interface-portoptions. The RPC interface is now on default port6420with the REST API. - Remove
-rpc-thread-numoption - Remove
-connect-tooption - Remove
-print-web-interface-addressoption - Remove support for go1.9
0.23.0 - 2018-04-22
- Add wallet setup wizard
- Add wallet encryption, using chacha20+poly1305 for encryption and authentication and scrypt for key derivation. Encrypted data is stored in the wallet file in a
"secrets"metadata field - Add
GET /healthendpoint - Add
POST /wallet/transactionAPI endpoint, creates a transaction, allowing control of spending address and multiple destinations - Add
POST /wallet/encryptAPI endpoint, encrypts wallet and returns encrypted wallet without sensitive data - Add
POST /wallet/decryptAPI endpoint, decrypts wallet and returns decrypted wallet without sensitive data - Add
POST /wallet/seedAPI endpoint, returns the seed of an encrypted wallet. Unencrypted wallets will not expose their seeds over the API. Requires-enable-seed-apioption -enable-seed-apioption to enablePOST /wallet/seed- Add
"size"to block API response data (affectsGET /block,GET /blocksandGET /last_blocks) - Write specification for skycoin URIs (based upon bip21)
- #1309, Float imprecision error in frontend malformed some spend amounts, preventing the spend
- Fix one aspect of sync stalling caused by a 5-second blocking channel write by switching it to a non-blocking write, decreasing timeouts and increasing buffer sizes
GET /walletAPI endpoint, remove sensitive data from the response, and fix the data format to be the same asPOST /wallet/createGET /walletsAPI endpoint, remove sensitive data from the responsePOST /wallet/createAPI endpoint, addencrypt(bool)andpasswordargumentPOST /wallet/newAddressAPI endpoint, addpasswordargumentPOST /wallet/spendAPI endpoint, addpasswordargument- Change
-disable-wallet-apito-enable-wallet-api, and disable the wallet API by default -launch-browseris set to false by default- A default wallet will not be created on startup if there is no wallet. Instead, the wallet setup wizard will run
- Replace op/go-logging with logrus
- Disable JSON-RPC 2.0 interface when running the application with
run.shand electron - Whitespace will be trimmed from the seed string by the frontend client before creating or loading a wallet
- Notify the user when their wallets have unconfirmed transactions
- Return an error when providing a transaction that spends to the null address in
POST /injectTransaction - Change accepted
-log-levelvalues todebug,info,warn,error,fatalandpanic(previously weredebug,info,notice,warning,errorandcritical) - Default log level is
info
- Remove
"seed","lastSeed"and"secret_key"in address entries from wallet API responses. A wallet's seed can be accessed throughPOST /wallet/seedonly if the wallet is encrypted and the node is run with-enable-seed-api - Remove unused
-logtoguiand-logbufsizeoptions
0.22.0 - 2018-03-20
- go1.10 support
- Add Dockerfile
- Add libskycoin C API wrapper
- New wallet UI
- Notify the user when a new version is available
- CLI and GUI integration tests against a stable and live blockchain
- #877, Add
-disable-wallet-apiCLI option - HTTP API client
/richlistAPI method, returns top n address balances/addresscountAPI method, returns the number of addresses that have any amount of coins/transactionsAPI method, returns transactions of addresses/wallet/unloadAPI method, removes the wallet of given id from wallet services
- #1021, remove
SendOr404andSendOr500as they do not work properly due to typed nils - Add Read, Write and Idle timeouts to the HTTP listener, preventing file descriptor leaks
- Support absolute and relative paths for
-data-diroption - Prevent creating transactions whose size exceeds the maximum block size
- Check addition and multiplication uint64 overflow
- Keep trusted peers in the peerlist permanently, even if they are unreachable
- #885, Add
Hostheader check to localhost HTTP interfaces to prevent DNS rebinding attacks - #896, Add CSRF check to wallet API
- Fix base58 address parsing, which allowed leading invalid characters and treated unknown characters as a '1'
- Fix occasional error which causes blockchain progress not to be shown in front-end
- #1080,
/wallet/transactionsnow returns a proper json object with pending transactions undertransactionskey - #951, cap cli createRawTransaction and send command coinhour distribution, coinhours are capped to a maximum of receiving coins for the address with a minimum of 1 coinhour
- Upgrade to Angular 5
- Add
total_coinhour_supplyandcurrent_coinhour_supplyto/coinSupplyendpoint - #800, Add entropy parameter to
/wallet/newSeedendpoint. Entropy can be 128 (default) or 256, corresponding to 12- and 24-word seeds respectively - #866, Include coins and hours in
/explorer/addressinputs - Rename cached
peers.txtfile topeers.json
- Remove
/lastTxsAPI endpoint - Remove
/logsand log buffering due to possible crash - Remove
/wallets/reloadendpoint - Remove deprecated
/api/getEffectiveOutputs, use/coinSupply.
0.21.1 - 2017-12-14
- Fix blank page issue in windows gui wallet, which was caused by misusing the flag of -download-peers-list in electron.
0.21.0 - 2017-12-10
- Require transactions to have an input with non-zero coinhours
- Add
-peerlist-sizeand-max-outgoing-connectionsCLI options - Add
-download-peerlistand-peerlist-urlCLI options, to get peers from a URL - For electron clients, download a list of peers from https://downloads.skycoin.com/blockchain/peers.txt by default
- Fix change hours calculation. Previous gave 1/8 to change and destination addresses; now gives 1/4 to each
- #653, the peerlist size was too small and could be easily filled up; default changed to 65535 from 1000
- CLI's
walletBalanceandaddressBalancecommands return aggregate balances for confirmed, spendable and expected balances. Coins are formatted as droplet strings. Hours added as strings. - When splitting an odd number of hours in a spend, give the extra hour to the fee
- Add
block_seqtoget_outputsand/outputsAPI response - Improve UxOut spend selection. Previously, they were spent oldest first. Now they are spent to ensure a non-zero coinhour input and otherwise minimize coinhours.
create_rawtxwill try to minimize the number of UxOuts used to create a transaction./wallet/spendwill try to maximize the number of UxOuts used to create a transaction.- Update the default peerlist size to 65535 from 1000
- When loading a wallet, 100 addresses will be scanned ahead to find one with a balance
0.20.4 - 2017-11-22
- Add
/logsapi to filter skycoin logs, so that we can add a debug panel to the GUI wallet to show logs
0.20.3 - 2017-10-23
- Fix block sync stall (mostly affected Windows users, but any OS was potentially affected)
0.20.2 - 2017-10-12
- Fixed Linux .AppImage missing "Category" field
- Clean up electron build script, switch to yarn and remove gulp
0.20.1 - 2017-10-12
- Fixed app icon padding
0.20.0 - 2017-10-10
- New wallet frontend in angular4. This is a complete rewrite and fixes many of the old wallet issues.
- New wallet has preliminary support for OTC functionality
- Create
webrpc.Clientfor JSON-2.0 RPC calls. - Add this CHANGELOG.md file.
- Add Installation.md file, with install instructions for go.
- Timelock distribution addresses. The first 25% of the distribution is spendable. After that 25% is spent, a timestamp will be added to the code to enable further distribution.
- Add
/coinSupplyendpoint. Correctly returns total, locked and unlocked coin amounts. testutilpackage for common test setup methods./versionendpoint, which will return the current node version number and the HEAD commit id when build the node-no-ping-logoption to disable ping/pong log output- Check for invalid block signatures during startup and recreate the database if they are corrupted.
- Add methods for converting fixed-point decimal strings to droplets and vice versa.
- Add
make run,make test,make lint,make checktoMakefile
- Flag peers as incoming or outgoing.
- Refactor to decouple
walletandvisorpackage. - Refactor
clipackage for use as a library. READMEimprovements.- Set default wallet's label as "Your Wallet"
- Use BIP32 mnemomic seeds by default in
address_gen. - Add
-xoption toaddress_gen, to generate a random base64-encoded 128-bit seed instead of a BIP32 mnemomic seed. - Add
-voption toaddress_gento print all address information (pubkey, seckey, address, seed) to stdout as JSON. - All API and CLI methods with "coin"-related arguments must be a string and can use decimal notation to specify coin amounts.
- CLI's
walletHistorycommand prints amounts as fixed-point decimal strings. Previously, it printed amounts as integers representing whole skycoin amounts, and did not support droplets / fractional skycoins. - A user is prevented from broadcasting a new transaction with unspent outputs that they have already sent as an unconfirmed transaction.
/api/getEffectiveOutputsis deprecated in favor of/coinSupply.
- Old wallet
/api/create-addressendpoint (use theaddress_gentool)
- Wallet folder path loading.
- #371 Fix
/wallet/spend, will return only when pending transaction is confirmed. - #443 Fix predicted balance in
/wallet/spendAPI call. - #444 Fix bug in
/blockchain/progressAPI call. - Removed globals in
guipackage that caused race condition with wallet API calls. - #494 Clean invalid unconfirmed transactions during startup.
- Various race conditions around the bolt.DB blockchain DB
- Missing
strand()call indaemon.Visor.AnnounceTxns.
0.19.1 - 2017-08-26
- #459 dist folder in repo out of date, wallet gui does not load
0.19.0 - 2017-07-11
- Add synchronize indicator when downloading blocks.
- #352 Store unspent pool in db for quick recovery when node restart
- Speed up the time the node start the browser
- Cache unspent pool in memory to speed up query action
- #411 Add button to hide seed
- #380 Move anything with heavy imports into util sub package
- #421 Sort wallet transaction history by time
- #398 Remove seeds from DOM
- #390 Make
go test ./src/...work - #383 Error during installation from skycoin source code
- #375 Node can't recovery from zero connections
- #376 Explorer api
/explorer/addressdoes not return spend transactions - #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